Category Meta plugin
Unzip into your /wp-content/plugins/ directory. If you’re uploading it make sure to upload
the top-level folder. Don’t just upload all the php files and put them in /wp-content/plugins/.
Activate the plugin through the ‘Plugins’ menu in WordPress
Go to your Administration interface in the “Settings” menu a new “Category Meta” page is created.
Configure the meta you want to use.
go to your Administration interface, in the “Category” menu -> new fields are displayed in the category creation/modification form with the meta you configured.
you can use the folowing functions into your templates to retreive 1 meta:
$metaValue = get_terms_meta($category_id, $meta_key);
you can use the folowing functions into your templates to retreive all meta:
$metaList = get_all_terms_meta($category_id);
No comments yet.