gcx / acf-address-field Goto Github PK
View Code? Open in Web Editor NEWAdvanced Custom Fields - Address Field add-on
License: BSD 3-Clause "New" or "Revised" License
Advanced Custom Fields - Address Field add-on
License: BSD 3-Clause "New" or "Revised" License
Very strange; things were working perfectly with $address['city'] etc but now posts being saved are coming back as purely strings:
This is an old post:
array(3) { ["city"]=> string(5) "Bronx" ["state"]=> string(8) "New York" ["postal_code"]=> string(0) ""
This is a new post return:
string(192) "
Seattle, WA
"
Occasionally, I am getting a "
Fatal error: Internal Zend error - Missing class information for in /home/content/10/8998810/html/powercurbers.com/wp-content/themes/powercurbers/library/plugin-add-ons/acf-address/address-field.php on line 499" error.
There is no rhyme or reason when it shows up, just periodically.
Any thoughts?
Thanks!
Hi!
To start with - thanks for a great plugin!
I would very much like to see a feature where you can incorporate microdata in the output of the adress.
Cheers,
Markus
WP v3.5.2 (FR)
ACF v4.1.8.1
I try both plugins and theme inclusion installations and I didn't see anything in the 'type field' selectbox.
Is the plugin broke up with the ACF or WP new versions ? Anyone got that issue ?
Original issue was described in #2:
from @michapixel
I'm on wp 3.3.2 and use ACF Version 3.1.7 and i get errors like:
"NetworkError: 403 Forbidden - http://localhost/wordpress_test/D:wampwwwwordpress_testwp-contentpluginsacf-address-field/address-field.css?ver=3.3.2"
address-field.css doesn't load for options pages (for those who get the Options add-on for ACF).
To fix, add 'admin.php' to the in_array() call on line 131 in address-field.php.
I would submit a patch, but I'm feeling particularly lazy atm.
The way Advanced Custom Fields v4.0 handles new fields has changed since v3.x
http://www.advancedcustomfields.com/resources/tutorials/creating-a-new-field-type/
Right now even if no information was entered in the address fields, it still returns:
<div class="address_row"><span class="address1"> </span></div><div class="address_row"><span class="address2"> </span></div><div class="address_row"><span class="address3"> </span></div><div class="address_row"><span class="city">, </span><span class="state"> </span><span class="postal_code"> </span></div>
Which basically shows up as a comma. Would be better if it didn't return anything.
I've just started using the repeater field and it seems that the Drag and Drop of address fields doesn't work for an Address field inside a repeater.
I'm on wp 3.3.2 and use ACF Version 3.1.7
and i get errors like:
"NetworkError: 403 Forbidden - http://localhost/wordpress_test/D:wampwwwwordpress_testwp-contentpluginsacf-address-field/address-field.css?ver=3.3.2"
Can you provide some documentation for retrieving specific fields from the address group? For example, I'd like to be able to print out the City field separate from the rest. Thanks!
The field address Drag n' Drop doesn't work on WP3.5
Tested on Chrome 23 and IE8.
Not sure how to go about investigating, but I have custom post type set up to accept address via this add-on but after saving the post, the address and other textarea posts do no repopulate to display the saved data for each text field.
Hi there,
First of all thanks for making a great plugin. Just having a bit of an issue with the paths of the css and js files on the ACF editing screen. The add-on itself loads fine and I can add and edit address fields, but the generated path for the script and css files is as follows:
Obviously that results in a 404 and so none of the configuration stuff works. I'm not sure if it's because I'm running it on windows via web matrix, otherwise I would assume other people would have run into this, but i guess they're all running Apache?!
I saw in version 1.01 you said you fixed a pathing issue so i was hoping it was this, but it still doesn't seem to be working.
Any guidance would be much appreciated - if you need more details let me know.
Many Thanks
Will this work, or is there anyway to make it work, with any of the Google Maps plugins that have the ability to pull in custom fields? I tried with the one from wpmudev, but it didn't work. I was thinking of buying mappress in hopes it would work, but that's $50 out of pocket should it not...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.