Përshkrim
CMB2 Taxonomy will create metaboxes and forms with custom fields for your taxonomies using the CMB2 API (and yes, it will blow your mind too).
This plugin adds an additional table for term’s metadata storage following the metadata patterns which means that eventhough we add an extra table we still using the metadata API. Check the Përdorimi section for more information.
To get started, please follow the examples in the included example-functions.php
file and have a look at the basic usage instructions.
You can see a list of available field types here.
Features:
- Create metaboxes to be used on taxonomy edit screens.
- Flexible API that allows you to use CMB forms almost anywhere, even on the front-end.
- Several field types are included.
- Custom API hook that allows you to create your own field types.
- There are numerous hooks and filters, allowing you to modify many aspects of the library (without editing it directly).
- Repeatable fields for most field types are supported, as well as repeatable field groups.
- CMB2 is safe to bundle with any project. It will only load the newest version in the system.
Link-e
Instalim
If installing the plugin from wordpress.org:
- Upload the entire
/cmb2-taxonomy
directory to the/wp-content/plugins/
directory. - Activate CMB2 Taxonomy through the ‘Plugins’ menu in WordPress.
- Copy (and rename if desired)
example-functions.php
into to your theme or plugin’s directory. - Edit to only include the fields you need and rename the functions.
- Profit.
Përdorimi
This plugin adds a couple of new functions for metadata management, similar to the post_meta functions:
- get_term_meta: Retrieves metadata for the specified term.
- update_term_meta: Update metadata for the specified term. If no value already exists for the specified term ID and metadata key, the metadata will be added.
- add_term_meta: Add metadata for the specified term.
- delete_term_meta: Delete metadata for the specified term.
Shqyrtime
Për këtë shtojcë s’ka shqyrtime.
Kontribues & Zhvillues
“CMB2 Taxonomy” është software me burim të hapur. Në këtë shtojcë kanë dhënë ndihmesë personat vijues.
KontribuesPërkthejeni “CMB2 Taxonomy” në gjuhën tuaj.
Ju intereson zhvillimi?
Shfletoni kodin, shkarkoni depon SVN, ose pajtohuni përmes RSS-je te regjistri i zhvillimeve.