CM Tooltip (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 CM tooltip 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 tex [/glossary_exclude]. The paragraph surrounded by the shortcode will not highlight any of the terms it contains.
- Another option is to check the box “Avoid parsing protected tags” in the plugin’s settings, which will prevent the plugin from parsing script sections such as A, H1, H2, H3, PRE, objects, and tags content.
Go to Admin Dashboard → CM Tooltip → Settings → Tooltip, and check the box for the setting Avoid parsing protected tags?