Advanced Custom Fields: Taxonomy Object
ACF plugin for selecting taxonomies (NOT taxonomy terms)
by Cory Hughart · github.com/cr0ybot/acf-taxonomy-object · website
★ 0stars
5release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/cr0ybot/acf-taxonomy-object/releases/download/1.0.1/acf-taxonomy-object.zipDeclares an update source (https://github.com/cr0ybot/acf-taxonomy-object), so updates arrive through the plugin's own updater.
From the readme
ACF Taxonomy Object Field
ACF 5 plugin for selecting taxonomies (NOT taxonomy terms)
Description
The built-in Taxonomy field in Advanced Custom Fields only allows you to select taxonomy terms. This field allows you to select an actual taxonomy (and get its slug or object), and not a term.
Compatibility
This ACF field type is compatible with:
ACF 5
Options
Choose Allowed taxonomies
Select the taxonomies you want to provide as choices. Leave blank to allow selection of any taxonomy.
Return Format
Choose whether you want to receive a taxonomy slug or object.
NOTE: When using the "object" format, use getfield() instead of thefield().
Example return object:
Installation
1. Copy the acf-taxonomy-object folder into your wp-content/plugins folder
2. Activate the acf-taxonomy-object plugin via the plugins admin page
3. Create a new field via ACF and select the Taxonomy Object type
4. Please refer to the description for more info regarding the field type settings
Changelog
Please see readme.txt for changelog
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| 1.0.1 | Apr 1, 2020 | acf-taxonomy-object.zip | 5 |