{"id":269667,"date":"2025-12-31T23:46:28","date_gmt":"2025-12-31T23:46:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/list-post-tags-shortcode\/"},"modified":"2026-01-01T10:58:14","modified_gmt":"2026-01-01T10:58:14","slug":"list-post-tags-shortcode","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/list-post-tags-shortcode\/","author":13642320,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"6.9.4","requires":"4.6","requires_php":"7.4","requires_plugins":null,"header_name":"List Post Tags Shortcode","header_author":"Andre Moura","header_description":"Shortcode [list_post_tags] to list all post tags on the site with options for format, sorting, exclusion, and caching.","assets_banners_color":"","last_updated":"2026-01-01 10:58:14","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/ko-fi.com\/andremouradev","header_plugin_uri":"https:\/\/wordpress.andremoura.com","header_author_uri":"https:\/\/www.andremoura.com\/","rating":5,"author_block_rating":0,"active_installs":0,"downloads":162,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"andremoura","date":"2025-12-31 23:46:19"},"1.0.1":{"tag":"1.0.1","author":"andremoura","date":"2026-01-01 10:58:14"}},"upgrade_notice":{"1.0.0":"<p>Initial release of List Post Tags Shortcode. Display all your post tags with a simple, customizable shortcode.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3430302,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3430302,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Unordered list format with default styling","2":"Inline format with post counts","3":"Comma-separated format","4":"Admin review notice (appears after 2 days of usage)"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[253102,9857,80,609,91],"plugin_category":[43,57],"plugin_contributors":[251984],"plugin_business_model":[],"class_list":["post-269667","plugin","type-plugin","status-publish","hentry","plugin_tags-list-tags","plugin_tags-post-tags","plugin_tags-shortcode","plugin_tags-tags","plugin_tags-taxonomy","plugin_category-customization","plugin_category-taxonomy","plugin_contributors-andremoura","plugin_committers-andremoura"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/list-post-tags-shortcode\/assets\/icon-128x128.png?rev=3430302","icon_2x":"https:\/\/ps.w.org\/list-post-tags-shortcode\/assets\/icon-256x256.png?rev=3430302","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>List Post Tags Shortcode provides a simple yet powerful way to display all post tags on your WordPress site using the <code>[list_post_tags]<\/code> shortcode.<\/p>\n\n<p><strong>Key Features:<\/strong><\/p>\n\n<ul>\n<li><strong>Multiple Display Formats<\/strong>: Choose between unordered list (ul), inline, or comma-separated formats<\/li>\n<li><strong>Flexible Sorting<\/strong>: Sort tags by name, count, slug, or term group in ascending or descending order<\/li>\n<li><strong>Show Post Count<\/strong>: Optionally display the number of posts for each tag<\/li>\n<li><strong>Exclude Specific Tags<\/strong>: Exclude tags by ID from the display<\/li>\n<li><strong>Smart Caching<\/strong>: Built-in transient caching for improved performance<\/li>\n<li><strong>Customizable Classes<\/strong>: Add custom CSS classes for styling<\/li>\n<li><strong>Hide Empty Tags<\/strong>: Option to show or hide tags with no posts<\/li>\n<li><strong>Developer Friendly<\/strong>: Clean, well-documented code following WordPress coding standards<\/li>\n<\/ul>\n\n<p><strong>Basic Usage:<\/strong><\/p>\n\n<pre><code>[list_post_tags]\n<\/code><\/pre>\n\n<p><strong>Advanced Examples:<\/strong><\/p>\n\n<p>Display tags inline with post counts, sorted by popularity:\n    [list_post_tags format=\"inline\" show_count=\"true\" orderby=\"count\" order=\"DESC\"]<\/p>\n\n<p>Display as unordered list without caching:\n    [list_post_tags format=\"ul\" cache=\"0\" class=\"my-custom-class\"]<\/p>\n\n<p>Exclude specific tags (IDs 1 and 5):\n    [list_post_tags exclude=\"1,5\"]<\/p>\n\n<p><strong>Perfect for:<\/strong><\/p>\n\n<ul>\n<li>Tag cloud pages<\/li>\n<li>Sidebar widgets<\/li>\n<li>Footer tag lists<\/li>\n<li>Custom tag archives<\/li>\n<li>Taxonomy overview pages<\/li>\n<\/ul>\n\n<h3>Privacy Policy<\/h3>\n\n<p>This plugin does not collect, store, or transmit any user data. All functionality is performed locally on your WordPress installation.<\/p>\n\n<p>The admin review notice stores minimal preference data in the WordPress database:\n* Activation date (stored in wp_options)\n* User preference for review notice (stored in wp_usermeta, per administrator)<\/p>\n\n<p>This data is used solely to manage the display of the review notice and can be deleted at any time.<\/p>\n\n<h3>Support<\/h3>\n\n<p>For support, feature requests, or bug reports, please visit:\n* Plugin support forum: https:\/\/wordpress.org\/support\/plugin\/list-post-tags-shortcode\n* Plugin repository: https:\/\/github.com\/andremoura\/list-post-tags-shortcode (if applicable)<\/p>\n\n<h3>Credits<\/h3>\n\n<p>Developed by Andre Moura\nWebsite: https:\/\/www.andremoura.com\/<\/p>\n\n<h3>License<\/h3>\n\n<p>This plugin is licensed under the GPLv2 or later.<\/p>\n\n<p>Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial site.<\/p>\n\n<!--section=installation-->\n<p><strong>Automatic Installation:<\/strong><\/p>\n\n<ol>\n<li>Log in to your WordPress admin panel<\/li>\n<li>Navigate to Plugins \u2192 Add New<\/li>\n<li>Search for \"List Post Tags Shortcode\"<\/li>\n<li>Click \"Install Now\" and then \"Activate\"<\/li>\n<\/ol>\n\n<p><strong>Manual Installation:<\/strong><\/p>\n\n<ol>\n<li>Download the plugin ZIP file<\/li>\n<li>Log in to your WordPress admin panel<\/li>\n<li>Navigate to Plugins \u2192 Add New \u2192 Upload Plugin<\/li>\n<li>Choose the ZIP file and click \"Install Now\"<\/li>\n<li>Activate the plugin<\/li>\n<\/ol>\n\n<p><strong>Usage:<\/strong><\/p>\n\n<ol>\n<li>Create a new page or edit an existing one<\/li>\n<li>Add the shortcode <code>[list_post_tags]<\/code> where you want the tag list to appear<\/li>\n<li>Customize with attributes as needed (see FAQ for all options)<\/li>\n<li>Publish or update the page<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20shortcode%20attributes%20are%20available%3F'><h3>What shortcode attributes are available?<\/h3><\/dt>\n<dd><ul>\n<li><strong>format<\/strong>: Display format - <code>'ul'<\/code> (default), <code>'inline'<\/code>, or <code>'comma'<\/code><\/li>\n<li><strong>orderby<\/strong>: Sort tags by - <code>'name'<\/code> (default), <code>'count'<\/code>, <code>'slug'<\/code>, or <code>'term_group'<\/code><\/li>\n<li><strong>order<\/strong>: Sort direction - <code>'ASC'<\/code> (default) or <code>'DESC'<\/code><\/li>\n<li><strong>show_count<\/strong>: Show post count - <code>'true'<\/code> or <code>'false'<\/code> (default)<\/li>\n<li><strong>exclude<\/strong>: Comma-separated tag IDs to exclude - e.g., <code>'1,5,12'<\/code><\/li>\n<li><strong>hide_empty<\/strong>: Hide tags with no posts - <code>'true'<\/code> (default) or <code>'false'<\/code><\/li>\n<li><strong>cache<\/strong>: Cache time in seconds - default <code>3600<\/code> (1 hour), set to <code>0<\/code> to disable<\/li>\n<li><strong>class<\/strong>: Additional CSS class for the container<\/li>\n<\/ul><\/dd>\n<dt id='how%20do%20i%20style%20the%20tag%20list%3F'><h3>How do I style the tag list?<\/h3><\/dt>\n<dd><p>The plugin outputs semantic HTML with CSS classes:<\/p>\n\n<ul>\n<li>Container: <code>.wlpt-tags<\/code><\/li>\n<li>List items (ul format): <code>&lt;li&gt;<\/code> elements<\/li>\n<li>Post count: <code>.wlpt-count<\/code><\/li>\n<li>Custom class: Use the <code>class<\/code> attribute<\/li>\n<\/ul>\n\n<p>Example CSS:\n    .wlpt-tags { font-size: 14px; }\n    .wlpt-tags a { color: #0073aa; }\n    .wlpt-count { color: #999; }<\/p><\/dd>\n<dt id='does%20this%20plugin%20use%20caching%3F'><h3>Does this plugin use caching?<\/h3><\/dt>\n<dd><p>Yes! The plugin uses WordPress transients to cache the tag list, improving performance. The cache is automatically cleared when tags are created, edited, or deleted. Default cache time is 1 hour (3600 seconds), but you can adjust it with the <code>cache<\/code> attribute.<\/p><\/dd>\n<dt id='can%20i%20exclude%20certain%20tags%3F'><h3>Can I exclude certain tags?<\/h3><\/dt>\n<dd><p>Yes, use the <code>exclude<\/code> attribute with comma-separated tag IDs:\n    [list_post_tags exclude=\"1,5,12\"]<\/p>\n\n<p>To find tag IDs, go to Posts \u2192 Tags in your WordPress admin and hover over a tag name - the ID will appear in the URL.<\/p><\/dd>\n<dt id='will%20this%20work%20with%20custom%20taxonomies%3F'><h3>Will this work with custom taxonomies?<\/h3><\/dt>\n<dd><p>Currently, the plugin only works with the default <code>post_tag<\/code> taxonomy. Support for custom taxonomies may be added in future versions.<\/p><\/dd>\n<dt id='is%20the%20output%20xss-safe%3F'><h3>Is the output XSS-safe?<\/h3><\/dt>\n<dd><p>Yes, all output is properly escaped using WordPress functions (<code>esc_html<\/code>, <code>esc_url<\/code>, <code>esc_attr<\/code>) to prevent XSS attacks.<\/p><\/dd>\n<dt id='can%20i%20use%20this%20in%20a%20widget%3F'><h3>Can I use this in a widget?<\/h3><\/dt>\n<dd><p>Yes! If your theme supports shortcodes in widgets, you can add the shortcode directly. Alternatively, use a text widget or the WordPress block editor.<\/p><\/dd>\n<dt id='how%20do%20i%20translate%20this%20plugin%3F'><h3>How do I translate this plugin?<\/h3><\/dt>\n<dd><p>The plugin is translation-ready with the text domain <code>list-post-tags-shortcode<\/code>. Translation files should be placed in the <code>\/languages<\/code> folder. You can use tools like Poedit or Loco Translate to create translations.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0 (2025-12-22)<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Multiple display formats (ul, inline, comma)<\/li>\n<li>Flexible sorting options<\/li>\n<li>Optional post count display<\/li>\n<li>Tag exclusion capability<\/li>\n<li>Smart transient caching<\/li>\n<li>Custom CSS class support<\/li>\n<li>Hide empty tags option<\/li>\n<li>Admin review notice for feedback<\/li>\n<li>Full i18n support<\/li>\n<li>Security: Proper output escaping and input sanitization<\/li>\n<li>Performance: Transient caching with automatic invalidation<\/li>\n<\/ul>","raw_excerpt":"Display all post tags on your site using a simple shortcode with customizable format, sorting, and caching options.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/269667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=269667"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/andremoura"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=269667"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=269667"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=269667"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=269667"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=269667"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=269667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}