{"id":71194,"date":"2017-07-16T05:55:11","date_gmt":"2017-07-16T05:55:11","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/advanced-custom-fields-price\/"},"modified":"2017-07-16T05:55:11","modified_gmt":"2017-07-16T05:55:11","slug":"acf-price","status":"publish","type":"plugin","link":"https:\/\/th.wordpress.org\/plugins\/acf-price\/","author":14693381,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.1","stable_tag":"1.2.1","tested":"4.8.28","requires":"3.5","requires_php":"","requires_plugins":"","header_name":"Advanced Custom Fields: Price","header_author":"Maciej Czerpi\u0144ski","header_description":"ACF Price field with number format.","assets_banners_color":"","last_updated":"2017-07-16 05:55:11","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/speccode\/acf-field-price","header_author_uri":"http:\/\/maciej.czerpinski.com","rating":5,"author_block_rating":0,"active_installs":500,"downloads":5266,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2211,2217,3150],"plugin_category":[45,59],"plugin_contributors":[143866],"plugin_business_model":[],"class_list":["post-71194","plugin","type-plugin","status-publish","hentry","plugin_tags-acf","plugin_tags-advanced-custom-fields","plugin_tags-price","plugin_category-ecommerce","plugin_category-utilities-and-tools","plugin_contributors-speccode","plugin_committers-speccode"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/acf-price.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<h4>How it works<\/h4>\n\n<ul>\n<li>Plugin will store your \"price\" as float so any time you will change desire number format there will be no reformatting problems.<\/li>\n<li>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.<\/li>\n<li>Field validation is \"live\" thanks to https:\/\/github.com\/teamdf\/jquery-number.<\/li>\n<li>When you use <code>get_field<\/code> function you will get preformatted number based on your settings.<\/li>\n<\/ul>\n\n<h4>Options<\/h4>\n\n<pre><code>format\n<\/code><\/pre>\n\n<p>Available formats:\n* <code>1 337.55<\/code>\n* <code>1 337,55<\/code>\n* <code>1,337.55<\/code>\n* <code>1.337,55<\/code>\n* <code>1337<\/code>\n* <code>1 337<\/code><\/p>\n\n<h4>Default parameters result<\/h4>\n\n<pre><code>1 337.00\n<\/code><\/pre>\n\n<h4>Compatibility<\/h4>\n\n<p>This ACF field type is compatible with:\n* ACF 5\n* ACF 4<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Copy the <code>acf-price<\/code> folder into your <code>wp-content\/plugins<\/code> folder<\/li>\n<li>Activate the Price plugin via the plugins admin page<\/li>\n<li>Create a new field via ACF and select the Price type<\/li>\n<li>Please refer to the description for more info regarding the field type settings<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>[1.2.1] 2017-07-15<\/h4>\n\n<ul>\n<li>added translations<\/li>\n<\/ul>\n\n<h4>[1.2.0] 2017-07-02<\/h4>\n\n<ul>\n<li>bugfixes<\/li>\n<li>cleanup file structure<\/li>\n<li>add support for ACF 4<\/li>\n<\/ul>\n\n<h4>[1.1.0] 2017-06-17<\/h4>\n\n<ul>\n<li>added <code>format<\/code> option<\/li>\n<li>removed support for ACF 4 (temporary)<\/li>\n<\/ul>\n\n<h4>[1.0.0] 2015-02-02<\/h4>\n\n<ul>\n<li>Initation of plugin, no configuration. Only live validation.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Copy the <code>acf-price<\/code> folder into your <code>wp-content\/plugins<\/code> folder<\/li>\n<li>Activate the Price plugin via the plugins admin page<\/li>\n<li>Create a new field via ACF and select the Price type<\/li>\n<li>Please refer to the description for more info regarding the field type settings<\/li>\n<\/ol><\/dd>\n\n<\/dl>","raw_excerpt":"ACF Price field with number formatting.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/71194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=71194"}],"author":[{"embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/speccode"}],"wp:attachment":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=71194"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=71194"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=71194"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=71194"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=71194"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=71194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}