This add-on to Advanced Custom Fields (ACF) makes it possible to add location rules for the custom fields / meta fields of any post.
Using this plugin, you can create any custom field and make another set of custom fields, depend on the value of this custom field.
We decided to create this plugin, as we often face problems when trying to deploy our ACF fields from test to production, due to the nature of the other location rules. The built in location rules in ACF are mostly based on IDs, but IDs are rarely the same in test as in production.
This software is licensed under the GNU General Public License version 3. See gpl.txt included with this software for more detail.
Please note, that this plugin is an unofficial Advanced Custom Fields-plugin.
PHP 5.2-compability: Moved all functions from anonymous callbacks and into a class, solely to achieve PHP 5.2 compability.
Bugfix: When using radio and checkbox input types for the rule meta field, the wrong rule be used (missing check of which radio/checkbox was actually the checked one).
Bugfix: Removed reference to JS-serialization-function, which was used to serialize before saving.
Cookie-hack replaced by a much cleaner approach and cookie-library dependency removed.
First stable release.
Install this plugin by searching for it in your plugins manager within your WordPress site.
Where to find the "Meta Field" while defining a location rule.
"Meta Field" filled with a key and a value.