ACF Conditional Taxonomy Rules
WordPress Plugin to allow Advanced Custom Fields conditional rules to use 'taxonomy' field types
by mattkeys · github.com/mattkeys/acf-conditional-taxonomy-rules
★ 66stars
2.6kcomposer installs
12forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/mattkeys/acf-conditional-taxonomy-rules/archive/refs/heads/master.zipAlso on Packagist as mattkeys/acf-conditional-taxonomy-rules:
composer require mattkeys/acf-conditional-taxonomy-rulesDeclares an update source (https://github.com/mattkeys/ACF-Conditional-Taxonomy-Rules), so updates arrive through the plugin's own updater.
From the readme
This plugin expands on the ACF conditional functionality to allow for conditionals based on a selected taxonomy term ID.
This plugin expands on the ACF conditional functionality to allow for conditionals based on a selected taxonomy term ID.
NOTE: This plugin requires ACF v5.7.0+. This plugin is not designed to work on ACF v4.x.
1. Login to your Wordpress Admin page (usually http://yourdomain.com/wp-admin)
2. Navigate to the Plugins screen and then click the "Add New" button
3. Click on the "Upload" link near the top of the page and browse for the Advanced Custom Fields Conditional Taxonomy zip file
4. Upload the file, and click "Activate Plugin" after the installation completes
Bugfix enqueuing script in footer sometimes causing timing issues
Cleanup some unneeded code from v2.0.0
Updates to support ACF 5.7.x, which is now required to run this plugin
Pretty big rewrites to make this thing less confusing to read through and remove redundant code blocks repeated from ACF plugin.
ACF 5.6.6 compatibility (NOTE: This version requires 5.6.6+)
Added support for frontend ACF forms
Fixing a variety of bugs related to adding/removing taxonomy conditional settings in the admin