{"id":72376,"date":"2017-07-27T18:06:33","date_gmt":"2017-07-27T18:06:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/zerowp-term-colors\/"},"modified":"2019-06-27T20:17:27","modified_gmt":"2019-06-27T20:17:27","slug":"zerowp-term-colors","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/zerowp-term-colors\/","author":13582713,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.8.2","stable_tag":"1.0.8.2","tested":"5.2.24","requires":"4.7","requires_php":"","requires_plugins":"","header_name":"Custom Term Colors","header_author":"Andrei Surdu","header_description":"Provides an easy to use interface to assign colors to any term from any taxonomy.","assets_banners_color":"","last_updated":"2019-06-27 20:17:27","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/paypal.me\/zerowp","header_plugin_uri":"http:\/\/zerowp.com\/custom-term-colors","header_author_uri":"http:\/\/zerowp.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1684,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1703965","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1703965","resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2","1.0.3","1.0.6.2","1.0.6.3","1.0.6.6","1.0.6.7","1.0.6.8","1.0.7","1.0.7.12","1.0.7.14","1.0.7.2","1.0.8","1.0.8.2"],"block_files":[],"assets_screenshots":{"screenshot-0024.jpg":{"filename":"screenshot-0024.jpg","revision":"1704626","resolution":"0024","location":"assets","locale":""},"screenshot-0025.jpg":{"filename":"screenshot-0025.jpg","revision":"1704626","resolution":"0025","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1257,3918,91,5058,566],"plugin_category":[57],"plugin_contributors":[78217],"plugin_business_model":[],"class_list":["post-72376","plugin","type-plugin","status-publish","hentry","plugin_tags-color","plugin_tags-interface","plugin_tags-taxonomy","plugin_tags-term","plugin_tags-ui","plugin_category-taxonomy","plugin_contributors-_smartik_","plugin_committers-_smartik_"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/zerowp-term-colors\/assets\/icon-128x128.png?rev=1703965","icon_2x":"https:\/\/ps.w.org\/zerowp-term-colors\/assets\/icon-256x256.png?rev=1703965","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/zerowp-term-colors\/assets\/screenshot-0024.jpg?rev=1704626","caption":""},{"src":"https:\/\/ps.w.org\/zerowp-term-colors\/assets\/screenshot-0025.jpg?rev=1704626","caption":""}],"raw_content":"<!--section=description-->\n<p>Provides an easy to use interface to assign colors to any term from any taxonomy. Then you can use them on front-end\nusing the built-in CSS class or just by calling <code>get_term_meta<\/code>.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Do I have to place some code in my theme?<\/dt>\n<dd><p>No or maybe yes. You can use the plugin as it is, just to differentiate terms by color. However, if you want to display\nthe colors on the front-end, you may need to use the CSS class, that is something like <code>.ztc-term-label-{ID}<\/code>,\nor directly <code>get_term_meta<\/code> to retrieve the meta value.<\/p><\/dd>\n<dt>I want to display the terms on front end how to do it?<\/dt>\n<dd><p>The easiest way is to use the built-in function that comes with this plugin:\n    <code>ztc_colored_labels( $taxonomy, $post_id = false, $links = false, $limit = false );<\/code><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Provides an easy to use interface to assign colors to any term from any taxonomy.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/72376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=72376"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/_smartik_"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=72376"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=72376"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=72376"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=72376"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=72376"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=72376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}