CM Tooltip (CMTG) - Troubleshooting - Glossary parsing is not working properly on your WordPress blog?
Troubleshooting Glossary Parsing
Generally, once you install and configure our CM Tooltip Glossary plugin, glossary parsing should be done automatically, highlighting all the terms that you defined wherever they appear on your WordPress blog and on any other pages on your site.
In some cases however, conflicts may arise between our plugin and your sites theme or other active plugins, which may prevent the CM Tooltip from including the scripts or CSS properly on your WordPress blog.
If glossary items appear in the index page but are not highlighted on your WordPress blog, try following the instructions on this user guide page. If glossary items do not appear on your site at all, carry on reading.
How do I resolve conflicts on my WordPress blog?
Adding required files
While we do our best to solve conflicts with major themes and plugins, we cannot do it for all of them:
So if you’re using some deprecated or less popular theme, you can always include the Tooltip’s required files manually in your theme by adding the following code to your themes functions.php file:
// include glossary script and stylesheet since it is not loading by itself in search results
$glossary_path = WP_PLUGIN_URL . ‘/’ . ‘tooltipglossary/';
wp_enqueue_script(‘tooltip-js’, $glossary_path . ‘tooltip.js’);
wp_enqueue_style(‘tooltip-css’, $glossary_path . ‘tooltip.css’);
To parse terms inside shortcodes of your theme and in unsupported places (like footer), you can use the
[cm_tooltip_parse][/cm_tooltip_parse] shortcode (PRO editions only).
Additional developer notes
In the free edition of our plugin, only raw content of the post or page is parsed and this usually happens after the other plugins and any of the custom shortcodes are replaced by their equivalents. We are using a late priority index to our filter function (9999):
add_filter(‘the_content’, ‘cmtt_glossary_parse’, 9999);