{"id":148522,"date":"2021-10-17T17:27:06","date_gmt":"2021-10-17T17:27:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/plugin-tags\/"},"modified":"2024-07-17T14:35:42","modified_gmt":"2024-07-17T14:35:42","slug":"plugin-tags","status":"publish","type":"plugin","link":"https:\/\/bs.wordpress.org\/plugins\/plugin-tags\/","author":16061993,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.4","stable_tag":"1.2.4","tested":"6.6.5","requires":"3.0","requires_php":"5.6","requires_plugins":null,"header_name":"Plugin Tags","header_author":"DamChtlv","header_description":"Add tags to the plugins list view to quickly note which does what.","assets_banners_color":"a0b3c4","last_updated":"2024-07-17 14:35:42","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/dam.cht.lv","rating":0,"author_block_rating":0,"active_installs":30,"downloads":4127,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"damchtlv","date":"2021-10-17 17:26:49"},"1.1":{"tag":"1.1","author":"damchtlv","date":"2021-10-22 00:05:53"},"1.1.1":{"tag":"1.1.1","author":"damchtlv","date":"2021-10-22 00:26:19"},"1.2":{"tag":"1.2","author":"damchtlv","date":"2021-11-11 10:32:42"},"1.2.1":{"tag":"1.2.1","author":"damchtlv","date":"2022-03-19 19:29:19"},"1.2.2":{"tag":"1.2.2","author":"damchtlv","date":"2022-03-19 19:33:47"},"1.2.3":{"tag":"1.2.3","author":"damchtlv","date":"2022-03-19 19:41:06"},"1.2.4":{"tag":"1.2.4","author":"damchtlv","date":"2024-07-17 14:35:42"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.gif":{"filename":"icon-128x128.gif","revision":2627980,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.gif":{"filename":"icon-256x256.gif","revision":2615435,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2627980,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2627980,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.1.1","1.2","1.2.1","1.2.2","1.2.3","1.2.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2618054,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2618054,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2618054,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2618054,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Display \"no tag\" as default tag state.","2":"When hovering the tag, you can change the color by clicking the \ud83d\udd8c.","3":"Change tag text by clicking on it and write, clicking on \ud83d\udccc add a filter view.","4":"Filter view link is added above plugins (ex: \"To delete\")."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[204287,27283,49538,204286],"plugin_category":[],"plugin_contributors":[155461],"plugin_business_model":[],"class_list":["post-148522","plugin","type-plugin","status-publish","hentry","plugin_tags-plugin-keywords","plugin_tags-plugin-management","plugin_tags-plugin-notes","plugin_tags-plugin-tags","plugin_contributors-damchtlv","plugin_committers-damchtlv"],"banners":{"banner":"https:\/\/ps.w.org\/plugin-tags\/assets\/banner-772x250.png?rev=2627980","banner_2x":"https:\/\/ps.w.org\/plugin-tags\/assets\/banner-1544x500.png?rev=2627980","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/plugin-tags\/assets\/icon-128x128.gif?rev=2627980","icon_2x":"https:\/\/ps.w.org\/plugin-tags\/assets\/icon-256x256.gif?rev=2615435","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/plugin-tags\/assets\/screenshot-1.png?rev=2618054","caption":"Display \"no tag\" as default tag state."},{"src":"https:\/\/ps.w.org\/plugin-tags\/assets\/screenshot-2.png?rev=2618054","caption":"When hovering the tag, you can change the color by clicking the \ud83d\udd8c."},{"src":"https:\/\/ps.w.org\/plugin-tags\/assets\/screenshot-3.png?rev=2618054","caption":"Change tag text by clicking on it and write, clicking on \ud83d\udccc add a filter view."},{"src":"https:\/\/ps.w.org\/plugin-tags\/assets\/screenshot-4.png?rev=2618054","caption":"Filter view link is added above plugins (ex: \"To delete\")."}],"raw_content":"<!--section=description-->\n<p>Add <strong>tags<\/strong> &amp; <strong>filters<\/strong> to the <strong>Plugins list<\/strong> to quickly &amp; easily see what they do. \ud83c\udff7<\/p>\n\n<p><strong>Few examples<\/strong> of use:\n- <strong>Utilities<\/strong>: <em>Admin, SEO, Cache, Pagebuilder...<\/em>\n- <strong>Project version<\/strong>: <em>v1.0, v1.1...<\/em>\n- <strong>Notes \/ reminders<\/strong>: <em>Unstable, Waiting for hotfix...<\/em><\/p>\n\n<h3>\ud83d\udd28 How to use<\/h3>\n\n<p>Want to <strong>change a tag text<\/strong>? \u2712\n- Click on the text and write directly!<\/p>\n\n<p>Want to <strong>change a tag color<\/strong>? \ud83c\udf08\n- Hover the tag and click on the \ud83d\udd8c icon<\/p>\n\n<p>Want to <strong>filter your plugins<\/strong> based on <strong>their tags<\/strong>? \ud83d\udd0d\n- Hover the tag and click on the \ud83d\udccc icon\n- <em>(it's going to reload the page with the filter added above plugins, click on it again to remove it).<\/em><\/p>\n\n<h3>\u2b50 Features<\/h3>\n\n<p><strong>Colors<\/strong> \ud83c\udfa8\n<em>(Based on <strong>user preferences<\/strong> to avoid <strong>\"rainbow-effect\"<\/strong>)<\/em><\/p>\n\n<p><strong>Filters \/ Views<\/strong> \ud83d\udccc\n<em>(To <strong>filter plugins<\/strong> which have a similar tag)<\/em><\/p>\n\n<p><strong>Fast \/ Lightweight<\/strong> \ud83d\ude80\n<em>(When you change a tag text \/ color, it's <strong>instantly saved<\/strong> using ajax technology)<\/em><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>plugin-tags<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20this%20plugin%20have%20hooks%20%28filters%29%20%3F'><h3>Does this plugin have hooks (filters) ?<\/h3><\/dt>\n<dd><p><strong>Yes, there is one filter<\/strong>: <code>ptags\/option<\/code> which contains <strong>all the data saved by the plugin<\/strong> in an array which is stored <strong>in a single option<\/strong>.<\/p>\n\n<p>You can use the code below to preset your favorite configuration <em>(used \"<strong>Hello Dolly<\/strong>\" plugin as example)<\/em>:<\/p>\n\n<pre><code>\/\/ Change plugin tags config\nadd_filter( 'ptags\/option', 'my_ptags_option' );\nfunction my_ptags_option( $option ) {\n\n    \/\/ Get current plugins &amp; tags data\n    $plugins = isset( $option['plugins'] ) ? $option['plugins'] : array();\n    $tags    = isset( $option['tags'] ) ? $option['tags'] : array();\n\n    \/\/ Edit plugins data\n    $plugins = wp_parse_args(\n        $plugins,\n        array(\n\n            \/\/ Plugin slug\n            'hello-dolly' =&gt; array(\n                'tag'   =&gt; __( 'To delete' ), \/\/ Tag text displayed next to the plugin version\n                'color' =&gt; 1, \/\/ User preference schematic colors, from 1 to 4+\n            ),\n\n            \/\/ ... add more by duplicating lines above\n\n        )\n    );\n\n    \/\/ Edit tags data\n    $tags = wp_parse_args(\n        $tags,\n        array(\n\n            \/\/ Filter text (should be same tag text as above)\n            'To delete' =&gt; array(\n                'view' =&gt; 1, \/\/ Boolean setting to display filter above plugins list\n            ),\n\n            \/\/ ... add more by duplicating lines above\n\n        )\n    );\n\n    \/\/ We merge it with current data\n    $new_option = wp_parse_args( array( 'plugins' =&gt; $plugins, 'tags' =&gt; $tags ), $option );\n\n    \/\/ Return the new option\n    return $new_option;\n}\n<\/code><\/pre>\n\n<p>\ud83d\udca1 <em>If you have no idea where to put this code, add it at the end of your <code>functions.php<\/code> which is in your theme folder.<\/em><\/p><\/dd>\n<dt id='can%20i%20customize%20the%20look%20of%20tags%3F'><h3>Can i customize the look of tags?<\/h3><\/dt>\n<dd><p><strong>Yes you can<\/strong> and it's fairly simple because this plugin CSS stylesheet use <strong>CSS variables<\/strong>.\nJust <strong>add the code below<\/strong> in a CSS stylesheet loaded in the admin &amp; <strong>customize values<\/strong> as you pleased:<\/p>\n\n<pre><code>:root {\n    --plugin-tag-color: #fff; \/\/ Tag text color\n    --plugin-tag-pad: 0 7px; \/\/ Tag padding\n    --plugin-tag-rad: 3px; \/\/ Tag border radius\n    --plugin-tag-fs: .75rem; \/\/ Tag font-size\n    --plugin-tag-bg: #bbb; \/\/ Tag background color\n}\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2<\/h4>\n\n<p>Updated default style to match WP UI<\/p>\n\n<h4>1.1<\/h4>\n\n<p>Updated readme<\/p>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Add tags &amp; filters to the plugins list to quickly &amp; easily see what they do.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/148522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=148522"}],"author":[{"embeddable":true,"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/damchtlv"}],"wp:attachment":[{"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=148522"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=148522"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=148522"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=148522"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=148522"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=148522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}