| 开发者 |
jumedeenkhan
mozedia |
|---|---|
| 更新时间 | 2026年8月13日 20:02 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[glossary_list] to display your glossary index, and [glossary_exclude] to turn off glossary highlighting on part or all of a specific post or page.
[glossary_list]
Add this shortcode to any post or page to display your full glossary list there — an alphabetically organized (A-Z) list of all your glossary terms, with optional jump navigation and a live search box.
Basic example, showing every glossary term with the default settings:
[glossary_list]
Supported attributes
category="all" — Only show terms assigned to one or more Glossary Categories. Use a single category slug (e.g. category="seo"), or several separated by commas to show terms matching any of them (e.g. category="seo,wordpress"). Defaults to all, which shows every term regardless of category.orderby="name" — Chooses how terms are sorted within each A-Z letter group. A term never moves out of its own letter group — only the order of terms inside each group, and the order the groups themselves appear in, follow orderby/order together. Accepted values: name (alphabetical), date (publish date), menu_order (the custom order set on the Glossary Terms screen), or rand (random order, reshuffled on every page load — group order is unaffected by order in this case). Defaults to name.order="ASC" — Sets the sort direction used by orderby, and also the direction the A-Z letter groups themselves run in. Accepted values: ASC (ascending — groups run A to Z, terms sort oldest to newest for orderby="date") or DESC (descending — groups run Z to A, terms sort newest to oldest for orderby="date"). Defaults to ASC. Has no effect on term order when orderby="rand", and no effect on group order at all when orderby="rand".letters="show" — Shows or hides the big A-Z letter heading above each group of terms. Accepted values: show or hide. Defaults to show.limit="-1" — The maximum number of terms to display per A-Z letter group — not a total for the whole index. For example, limit="2" shows at most 2 terms under A, at most 2 under B, at most 2 under C, and so on. Use -1 for no limit, showing every matching term. Defaults to -1.columns="2" — How many columns to arrange the terms into within each letter group. Accepts a whole number from 1 to 6. Defaults to 2.[glossary_list category="seo"]
Show terms from either the "SEO" or "WordPress" category:
[glossary_list category="seo,wordpress"]
Sort terms newest-first, with the letter groups themselves running Z to A:
[glossary_list orderby="date" order="DESC"]
Reverse just the A-Z letter groups to run Z to A while keeping terms inside each group alphabetical:
[glossary_list order="DESC"]
Show the terms in a random order each time the page loads:
[glossary_list orderby="rand"]
Hide the A-Z letter headings and lay terms out in a single column:
[glossary_list letters="hide" columns="1"]
Show at most 3 terms per letter, arranged in 4 columns:
[glossary_list limit="3" columns="4"]
Combine several attributes together — show only "Web Development" terms, newest first, up to 5 per letter, in 3 columns:
[glossary_list category="web-development" orderby="date" order="DESC" limit="5" columns="3"]
[glossary_exclude]
Add this marker to a specific post or page to turn off automatic glossary term highlighting for part or all of that content — the rest of your site keeps highlighting as normal. It doesn't display anything itself; the marker(s) are simply removed from the page when it renders.
It supports two forms:
Paired form — wraps a specific section and excludes only that section, leaving the rest of the post highlighted normally:
[glossary_exclude]This paragraph will not have any glossary terms highlighted.[/glossary_exclude]
You can use the paired form as many times as you like in the same post — each pair excludes only the content between it.
Single-marker form — placed on its own, excludes everything from that point to the end of the content:
[glossary_exclude]
This is useful for pages where you don't want glossary tooltips to appear in part or all of the content, such as a legal page, a code tutorial, or a post that already discusses a term in detail.
Excluding the entire post has the same effect as setting the "Glossary Highlight" option to Off on that post/page's edit screen.
Need more shortcode examples?
See the complete shortcode documentation: Glossary Tooltip >> Documentation >> Glossary Page
Multilingual sites
Glossary Tooltip stores UTF-8 content and is compatible with multilingual plugins such as WPML and Polylang.
Documentation and support
Full documentation and setup guides are available at official website glossarytooltip.com.
For questions or issues, please use the support forum.
[glossary_list] shortcode (or select a glossary index page in Glossary → Settings) to display a full glossary index.No. Once a glossary term is published, the plugin automatically detects and highlights matching words across the post types you've selected in the settings.
Use the [glossary_list] shortcode on any post or page, or select a glossary index page in Glossary → Settings → Glossary Index Page. The index lists terms alphabetically and includes an optional A–Z navigation and live search box.
Yes. Each post, page, and supported custom post type includes Glossary Highlight and Tooltip settings. You can choose Default, On, or Off to control glossary highlighting and tooltips for that specific content without affecting the rest of your website.
Yes. Wrap any section with [glossary_exclude]...[/glossary_exclude] to skip highlighting for just that section, or add a single [glossary_exclude] marker on its own to skip highlighting for the rest of the content that follows it. You can also set the "Glossary Highlight" option to Off on the post/page edit screen to skip highlighting for the entire post.
Yes. Each post/page edit screen includes a "Tooltip" setting with three options: Default (follows the site-wide tooltip setting), On, or Off. This lets you enable or disable tooltips for a single post or page without changing the global setting.
Yes. Each glossary term has per-term visibility controls that let you exclude it from auto-highlighting and/or the glossary index, without affecting any other terms.
Yes. In Glossary → Settings → General, you can highlight a term only once, a limited number of times, every Nth occurrence, or every occurrence.
Yes. You can add synonyms/aliases to a glossary term, and any of those alternate forms will be highlighted and link to the same term.
No, by default the plugin ignores headings (H1–H6) and text that is already inside a link, so your existing structure and links are not altered. These behaviors can be adjusted in the settings.
You can optionally exclude glossary terms from your site's internal search results in Glossary → Settings → General. This does not affect Google or other external search engines.
Yes. In Glossary → Settings → Tooltip, the "Tooltip position" option lets you choose top, bottom, left, or right. Top is recommended for most layouts.
Go to Glossary → Settings → Advanced and click Flush Rewrite Rules, or go to Settings → Permalinks and click Save Changes.
If you have content caching enabled, use the Clear Glossary Cache tool on the Advanced settings tab, then clear any third-party caching or CDN cache your site may be using.
Yes. On the Advanced settings tab you can export all plugin settings as a JSON file and import that file on another installation. You can also reset all settings to their defaults.
Glossary terms are a standard WordPress content type, so you can use the built-in Tools → Export and Tools → Import screens to move them between sites.
Glossary Tooltip can improve your site's SEO by automatically creating internal links between related content and generating dedicated glossary term pages. This helps search engines better understand your website structure while making it easier for visitors to discover relevant information.
Yes. You can customize the displayed glossary term title from the Glossary Term Settings. For example, you can automatically add text such as "What Is:", "Definition of:", or any custom prefix or suffix to glossary term titles without changing the original glossary term name.
Wrap the content with the [glossary_exclude] paragraph text here... [/glossary_exclude] markers to prevent glossary terms inside that section from being automatically highlighted. Only the wrapped content is excluded—glossary highlighting continues to work normally everywhere else on the page.
Yes. Glossary Tooltip is designed to work with any well-coded WordPress theme that follows WordPress coding standards. It has been tested with popular themes including Twenty Twenty-Five, GeneratePress, Astra, Kadence, Blocksy, Genesis Framework, and other standards-compliant themes. If a theme or another plugin prevents glossary links or tooltips from displaying correctly, the plugin includes flexible compatibility settings to help resolve most conflicts.
Absolutely! The plugin supports UTF-8 and is fully compatible with WPML, Polylang and popular multilingual plugins.
Yes. Glossary Tooltip stores terms as a standard WordPress custom post type, so you can use WordPress's built-in Tools → Export and Tools → Import features to transfer glossary terms, categories, synonyms, featured images, and other supported data between WordPress sites. You can also find these instructions in the plugin's Advanced Settings page.
Yes. You can choose where tooltips appear from the plugin settings. Glossary Tooltip supports automatic positioning as well as fixed positions, including Top, Bottom, Left, and Right, allowing you to choose the placement that works best for your site.
Yes. Glossary Tooltip supports synonyms and term variations out of the box. You can assign multiple synonyms or alternate spellings to a glossary term, and they will automatically be recognized and highlighted throughout your content.
No. The plugin includes several performance options: it can skip parsing when no glossary terms exist, cache parsed content, load scripts in the footer, load assets inline, and limit parsing to the main query only.
Visit the support forum or the documentation site.
strtolower() not folding non-ASCII characters. Now uses mb_strtolower().wp_unslash() before sanitizing deactivation-feedback fields.get_gtt_option() helper.[glossary_exclude] now supports a paired form — [glossary_exclude]...[/glossary_exclude] — excluding only the content between the markers, with multiple blocks supported per post. The original unpaired marker still works as before.[glossary_list order="DESC"] only reversed terms inside each A-Z letter group, leaving the groups themselves (A, B, C...) in ascending order. order now also reverses the letter-group sequence, running the whole index Z to A, with the jump-navigation links reordering to match.[glossary_list] shortcode's category attribute always returned an empty index, because the glossary category taxonomy wasn't registered yet when the terms cache was first built. Plugin startup is now correctly deferred until the init hook.[glossary_list] shortcode's limit attribute now caps the number of terms shown per A-Z letter group, instead of one total across the whole index.[glossary_list] now accepts category, orderby, order, letters, limit, and columns attributes for filtering, sorting, hiding letters, capping terms shown, and laying out 1-6 columns.orderby/order now sort terms inside each A-Z letter group only — the groups themselves always stay in fixed alphabetical order.[glossary_list] (underscore) per WordPress guidelines; the old [glossary-list] tag is deprecated.manage_options capability check.get_post_custom() calls with targeted get_post_meta() calls.