WordPress Glossary Plugin (CMTG) - Shortcodes - Avoid Glossary Parsing
How to Avoid Glossary Parsing
TIP: What Are Shortcodes
Shortcodes add dynamic content to your site via a small piece of code. Learn more: Shortcodes - How To Use
By default, the WordPress Glossary plugin parses all of your posts and pages to find and highlight the defined terms that appear in your content.
However, there may be some cases where you to avoid glossary parsing on certain sections of your page or post.
There are 2 ways to avoid glossary parsing:
- To avoid parsing parts of pages or posts, wrap the term with the
[glossary_exclude]
shortcode. For example:[glossary_exclude]paragraph text[/glossary_exclude]
. The paragraph surrounded by the shortcode will not highlight any of the terms it contains. - There is an option Exclude HTML tags from parsing in the plugin’s settings. Choose there html-tags which will prevent the plugin from parsing script sections such as:
- All heading tags (h1-h6)
- <h1>
- <a>
- Other (header, pre, object, textarea)
You can find this option by navigating to Admin Dashboard → CM Tooltip Glossary → Settings → General Settings tab.
More information about the WordPress Glossary Plugin Other WordPress products can be found at CreativeMinds WordPress Store |
|
Let us know how we can Improve this Product Documentation Page To open a Support Ticket visit our support center |