Open anointed opened 12 years ago
Hi there,
It's an interesting point, but as this is an add on for ACF, which is a plugin already, it works as an extension to it and not on it's own. This is why you wil be getting errors. The ACF plugin has all the functionality in it to make outputting your values really easy. It would be possible to create a standalone plugin that solely has the user select functionality, but it would not have the additional benefits that comes with ACF. I'd be really interested on what reasons you have for creating it as a plugin, as I would be keen to explore the merits of doing it this way if I can see the value in it.
Lewis
sorry I wasn't clear. check out the download: http://www.advancedcustomfields.com/add-ons/address-field/
notice it is an extension for ACF just like the user addon, however, I can simply drop it into my plugins directory and activate it. No worries about adding the code to my theme/plugin functions file.
I was only suggesting it because when I tried adding in the snippet ... register_field(‘Users_field', dirname(File) ... I was getting a white screen with no errors in my log file. Figured if I could simply activate it like the other one, then no issues at all
Ah, the address field is self-registering with ACF. Okay, good shout...I'll look into it.
I second this. Not only is it easier to setup, it also makes ACF and this plugin easier to update.
+1
Any headway with this and making it work with version 4?
I've tried modifying the script to turn it into an activatable WordPress plugin but keep getting errors. Do you have plans on releasing a vs. that I can simply activate as a plugin?