|
| Plugin to add custom meta fields within built in and custom taxonomies. Simply add the desired fields by going through WP-admin -> Settings -> Ta … Wordpress Tutorial |
Noted That:
|
Start the Tips:1. First Download " wp-custom-taxonomy-meta.zip " Plugin to your Local Computer. (Click Download) 2. Then, Login to your " yourdomain.com/wp-admin " Dashboard. 3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard. 4. Now, Click on "Upload Plugin" button.
5. Now, Browse " wp-custom-taxonomy-meta.zip " Downloaded plugin from your computer, Where you downloaded wp-custom-taxonomy-meta.zip According to Step – 1 Above then, click on " Install Now" 6. Now, Click on " Active Plugin" 7. Then, See left sidemenu. " Category and Taxonomy Meta Fields " folder is added on left sidemenu. Now, Click on " Category and Taxonomy Meta Fields " folder. Noted that: If you do not see " Category and Taxonomy Meta Fields " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ". 8. Now you configure yourself oR Watch video tutorial below about Category and Taxonomy Meta Fields Configurtions and Settings or How to work " Category and Taxonomy Meta Fields " in your WordPress site. oR After Activated Plugin According to Step-6 then,
|
| Guide |
|---|
if (function_exists('get_all_wp_terms_meta'))
{ $arrayMetaList = get_all_wp_terms_meta($category_id); //where $category_id is category/term id
}
// array all meta fields for category/term
print_r($arrayMetaList);
if (function_exists('wp_get_terms_meta'))
{ $MetaValue = wp_get_terms_meta($category_id, $meta_key ,true); //where $category_id is 'category/term id' and $meta_key is 'meta key'
}
//meta value for meta key $meta_key
echo $metaValue;
|
| custom , fields , meta , built , taxonomies , simply , desired , going , through , admin , |
| Name |
|---|
Read Article https://develop.horje.com/learn/1434/reference