{"id":37523,"date":"2015-07-11T08:44:49","date_gmt":"2015-07-11T08:44:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-custom-taxonomy-meta\/"},"modified":"2022-07-25T05:38:37","modified_gmt":"2022-07-25T05:38:37","slug":"wp-custom-taxonomy-meta","status":"closed","type":"plugin","link":"https:\/\/da.wordpress.org\/plugins\/wp-custom-taxonomy-meta\/","author":13414073,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"trunk","tested":"6.0.11","requires":"3.5.0","requires_php":"","requires_plugins":"","header_name":"Category and Taxonomy Meta Fields","header_author":"Aftab Husain","header_description":"","assets_banners_color":"4c878c","last_updated":"2022-07-25 05:38:37","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_xclick&business=amu02.aftab@gmail.com&item_name=Donation+Category+and+Meta+Fields","header_plugin_uri":"https:\/\/aftabhusain.wordpress.com\/","header_author_uri":"https:\/\/aftabhusain.wordpress.com\/","rating":4.5,"author_block_rating":0,"active_installs":1000,"downloads":16756,"num_ratings":14,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>This is first version no known notices yet<\/p>"},"ratings":{"1":"1","2":0,"3":"1","4":"1","5":"12"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1233807,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":1228029,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1196943,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1196943,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Settings page where you can add the custom fields","2":"Example of the custom fields under the general category fields"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[22222,68354,16333,22223,5059],"plugin_category":[],"plugin_contributors":[80514],"plugin_business_model":[],"class_list":["post-37523","plugin","type-plugin","status-closed","hentry","plugin_tags-category-meta","plugin_tags-custom-taxonomy-field","plugin_tags-taxonomy-image","plugin_tags-taxonomy-meta","plugin_tags-term-meta","plugin_contributors-amu02aftab","plugin_committers-amu02aftab"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-custom-taxonomy-meta_4c878c.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-custom-taxonomy-meta\/assets\/screenshot-1.png?rev=1196943","caption":"Settings page where you can add the custom fields"},{"src":"https:\/\/ps.w.org\/wp-custom-taxonomy-meta\/assets\/screenshot-2.png?rev=1196943","caption":"Example of the custom fields under the general category fields"}],"raw_content":"<!--section=description-->\n<p>Plugin to add custom meta fields within built in and custom taxonomies. Simply add the desired fields by going through WP-admin -&gt; Settings -&gt;Taxonomy Meta .<\/p>\n\n<p><strong>you can add following fields with category\/taxonomy<\/strong><\/p>\n\n<ul>\n<li>Image.<\/li>\n<li>Input Text.<\/li>\n<li>Textarea.<\/li>\n<li>Checkbox.<\/li>\n<\/ul>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Very simple in use<\/li>\n<li>Can be customized easily.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ul>\n<li>Unzip into your <code>\/wp-content\/plugins\/<\/code> directory. If you're uploading it make sure to upload\nthe top-level folder. Don't just upload all the php files and put them in <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to your WP-admin -&gt;Settings menu a new \"Taxonomy Meta\" page is created.<\/li>\n<li>Go to your WP-admin -&gt;Settings -&gt;Taxonomy Meta  displayed in the category modification form with the meta you configured.<\/li>\n<li>You can use the below function into your templates to retrieve all meta using 'category id':<\/li>\n<\/ul>\n\n<pre>\nif (function_exists('get_all_wp_terms_meta'))\n{ \n   $arrayMetaList = get_all_wp_terms_meta($category_id);\n   \/\/where $category_id is category\/term id\n} \n\n\/\/ array all meta fields for category\/term\nprint_r($arrayMetaList); \n\n<\/pre>\n\n<ul>\n<li>you can use the below function into your templates to retrieve any particular meta using 'category id' and 'meta key':<\/li>\n<\/ul>\n\n<pre>\nif (function_exists('wp_get_terms_meta'))\n{ \n  $MetaValue = wp_get_terms_meta($category_id, $meta_key ,true); \n  \/\/where $category_id is 'category\/term id' and $meta_key is 'meta key'\n} \n\n\/\/meta value for meta key $meta_key\necho $metaValue; \n\n<\/pre>\n\n<!--section=faq-->\n<ol>\n<li>No technical skills needed.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<p>This is first version no known errors found<\/p>","raw_excerpt":"Plugin to add custom meta fields within built in and custom taxonomies. Simply add the desired fields by going through WP-admin -&gt; Settings -&gt;Ta &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/37523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=37523"}],"author":[{"embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/amu02aftab"}],"wp:attachment":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=37523"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=37523"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=37523"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=37523"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=37523"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=37523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}