Deze plugin is niet getest met de laatste drie grote versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Er kunnen ook compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

Advanced Custom Fields: Price Field

Beschrijving

How it works

  • Plugin will store your “price” as float so any time you will change desire number format there will be no reformatting problems.
  • Best column type in database for “price” related fields is decimal. As WordPress keep meta as type “text” I can only cast it to float. Keep it in mind.
  • Field validation is “live” thanks to https://github.com/teamdf/jquery-number.
  • When you use get_field function you will get preformatted number based on your settings.

Options

format

Available formats:
* 1 337.55
* 1 337,55
* 1,337.55
* 1.337,55
* 1337
* 1 337

Default parameters result

1 337.00

Compatibility

This ACF field type is compatible with:
* ACF 5
* ACF 4

Installatie

  1. Copy the acf-price folder into your wp-content/plugins folder
  2. Activate the Price plugin via the plugins admin page
  3. Create a new field via ACF and select the Price type
  4. Please refer to the description for more info regarding the field type settings

FAQ

Installation Instructions
  1. Copy the acf-price folder into your wp-content/plugins folder
  2. Activate the Price plugin via the plugins admin page
  3. Create a new field via ACF and select the Price type
  4. Please refer to the description for more info regarding the field type settings

Beoordelingen

20 december 2018
It's little bit disappointing that plugins like this is only available as an add on. This plugin adds that extra professional touch, so thank you very much...
21 februari 2018
Vey useful since ACF doesn't have this option by default
Lees 1 beoordeling

Bijdragers & ontwikkelaars

“Advanced Custom Fields: Price Field” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

“Advanced Custom Fields: Price Field” is vertaald in 2 talen. Dank voor de vertalers voor hun bijdragen.

Vertaal “Advanced Custom Fields: Price Field” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

[1.2.1] 2017-07-15

  • added translations

[1.2.0] 2017-07-02

  • bugfixes
  • cleanup file structure
  • add support for ACF 4

[1.1.0] 2017-06-17

  • added format option
  • removed support for ACF 4 (temporary)

[1.0.0] 2015-02-02

  • Initation of plugin, no configuration. Only live validation.