=== Tag Display === Contributors: s7ntech Tags: tags, display, shortcode, customization, tag cloud Requires at least: 5.0 Tested up to: 6.8 Requires PHP: 7.2 Stable tag: 1.4.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tag Display is a flexible WordPress plugin to showcase tags with clean, modern styles and customization. == Description == Tag Display allows you to present your WordPress tags using different templates, improving user engagement and navigation. Choose between five customizable templates: 1. **Default Template:** Clean and modern tag buttons with subtle hover effects. 2. **Minimal Template:** Simple text links separated by commas for a clean look. 3. **Tag Cloud Template:** Tags displayed in a cloud format with sizes proportional to post count. 4. **Outlined Template:** Transparent background with a colored border — modern pill-style buttons. 5. **Hashtag Template:** Social-style tags prefixed with `#` — Instagram/Twitter look. **Features:** - Five tag templates for flexible styling. - Native Gutenberg block for the block editor (no shortcode needed). - Easy shortcode integration: `[s7n_tag_display]` or `[s7n_tag_display template="minimal"]`. - Admin settings page with live template preview and color picker. - Automatic or manual tag display (before or after content). - Tag ordering: alphabetical, by post count, or random. - Limit the number of tags shown and exclude specific tags by slug. - Support for custom taxonomies alongside WordPress tags. - SEO options: rel="nofollow" and target="_blank" for tag links. - Optimized for performance and easy to configure. == Installation == 1. Upload the `tag-display` folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Go to **Settings -> Tag Display** to customize your preferences. 4. Use the shortcode `[s7n_tag_display]` in your posts or pages. == Frequently Asked Questions == = How do I use the plugin? = Simply activate the plugin, customize your settings, and use the shortcode `[s7n_tag_display]` wherever you want the tags to appear. = Can I change the template style? = Yes, you can select between Default, Minimal, Cloud, Outlined, and Hashtag templates from the settings page, via shortcode, or in the block sidebar: `[s7n_tag_display template="outlined"]` = Is it compatible with the latest WordPress version? = Yes, Tag Display is regularly updated to ensure compatibility. == Screenshots == 1. General Settings 2. Content Types 3. Appearance 4. Template Preview 5. Help == Changelog == = 1.4.0 = * Added native Gutenberg block (dynamic block, server-side rendered) with InspectorControls for all display options. * Added Outlined template: transparent background with colored border pill-style buttons. * Added Hashtag template: social-style tags prefixed with # (Instagram/Twitter look). * Admin: improved admin preview cards for Outlined and Hashtag templates with live color updates. * Admin: template select now switches to Template Preview tab and highlights the matching card in real-time. = 1.3.0 = * Added tag ordering options: alphabetical (A→Z / Z→A), by post count (most/least used), and random. * Added maximum tags limit: show only the first N tags (admin setting + shortcode attribute). * Added tag exclusion: comma-separated list of slugs to exclude from display. * Added auto-display position: choose to insert tags before or after the post content. * Added rel="nofollow" option for tag links (SEO). * Added target="_blank" option to open tag links in a new tab. * Added post count display option: show number of posts next to each tag (e.g. WordPress (12)). * Extended shortcode with new attributes: order, max, exclude, nofollow, new_tab, show_count, title. * Admin: added Reset to Defaults button for color settings. * Admin: active tab is now remembered across page loads (localStorage). * Admin: added unsaved-changes sticky notice when form fields are modified. * Admin: changing the Default Template now switches to the Template Preview tab and highlights the matching card. = 1.2.1 = * Fixed tag cloud template: font sizes now scale proportionally to actual tag post counts instead of random values. * Fixed accessibility: added :focus-visible outlines to all template links for keyboard navigation. * Fixed accessibility: tag title changed from non-semantic div to p element with ARIA heading role. * Added :active state on Default and Cloud template links. * Added :visited state on Default and Minimal template links. * Added prefers-reduced-motion support to disable CSS transitions for users who prefer it. * Added reset for box-shadow, border-bottom and background-image that themes may add to links. * Added tablet responsive breakpoint at 768px. * Fixed admin preview links using href="#" (prevented scroll jump on click). * Fixed admin color picker: hover style now updates a single persistent style tag instead of creating new ones on every change. = 1.2.0 = * Added support for custom taxonomies. * Terms from selected custom taxonomies are now displayed alongside WordPress tags. * Updated templates to use get_term_link() for better compatibility with custom taxonomies. * Added new admin setting to select which custom taxonomies to include. = 1.0.0 = * Initial release. * Added three customizable templates. * Integrated shortcode support. * Created admin settings page. == License == This plugin is licensed under the GPLv2 or later.