Generally, once you install and configure our CM tooltip 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 site 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.
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 invoke the Tooltip’s required files manually in your theme by adding the following code to your template:
// 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’);
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 the very far priority index to our filter function (9999):
add_filter(‘the_content’, ‘cmtt_glossary_parse’, 9999);