CM Tooltip (CMTG) - Extras - Performance and Debug Section

Performance and Debug Section - Who/What it is For?

Back to User Guide

This part of the settings is mostly for the developers and other tech-savvy people (site administrators).

Also if your page is running fine and you don't see any problems this means you probably shouldn't change anything in this section of the settings.

If you do have a problems, you will be able to learn from this page if the issue you're having may be related to one of these settings.


Below: The Performance & Debug settings can be found on the General Settings tab of the Settings.

  • Add RSS Feeds  - This setting allows you to remove the creation of the RSS feeds of the comments on the Glossary Term pages.

    You may uncheck this if:
    •  You're getting 404 errors in the Google Webmaster Tools for the RSS feeds of glossary terms.
  • Load the scripts in footer? - this setting allows to load the scripts and CSS styles on the end of your page, which can speed up the initial loading of the pages,
    but can create problems.

    You can try to uncheck this setting if:
    • You notice some errors related to CM Tooltip Glossary in the Chrome Developer Console.
    • The tooltips are not displaying although the terms are correctly highlighted and tooltips are enabled in the settings.
    • Tooltips are styled incorrectly.
  • Only highlight on "main" WP query? - Some themes are using more than one query on each page (eg. for some data manipulation) which results in the terms being parsed only on the first "main"
    query and not on the one which outputs the data on the screen. This is most often the case in the themes using page builders.

    You can try to uncheck this setting if:
    • Terms are not being highlighted at all (although you're sure the page/post contain the term).
  • Run the function outputting the Glossary Index Page only once - in extremely rare cases the Glossary Index appeared multiple times on the same page.

    You can try to check this if
    • The Glossary Index is appearing multiple times on the same page
  • Enable caching mechanisms - For performance reasons we've developed an internal caching system for the complex queries. Although enabling it makes the plugin quite unstable.
    It's advised not to use this option at all. The only case when this can be useful is when the performance of the Glossary Index Page or the page with lots of terms is extremely low.

    You can try to uncheck this setting if:
    • Newly added terms are not being parsed in your older pages.
  • Disable the "Hide term from Glossary Index" functionality - The Hide term from Glossary Index allows to hide single terms from being displayed on the Glossary Index page.
    The tests shown that the resulting query slows down the Glossary Index Page significantly. Checking this, will remove the option from the metabox on Glossary Term pages.

    You can try to check this setting if:
    • The performance of the Glossary Index Page is low, and you're not using it.
  • Enable embedded mode? - This option was designed to allow using the plugin in Magento with the Fishpig Extension. It changes the way the scripts and styles of the plugin are outputted.

    You can try to check this setting if:
    • You want to embed your WordPress pages content in some other system.
  • Remove the parsing of the excerpts - By default the_exceprt() function internally uses the_content() filter which is responsible for highlighting the terms. But it some cases it has caused unwanted behavior.

    You can try to check this setting if:
    • You've noticed the weird behavior of the excerpts after activating highlighting on the page/post.
  • Move tooltips content to footer - Makes the tooltip content to not be passed directly to JS with the HTML attribute.
    You can try to check this setting if:
    • The tooltips seem to be breaking your layout (sometimes happens with the builders or very long term descriptions)
  • Don't use the DOM parser for content - Warning: Don't change this setting unless you know what you're doing. Select this option if you want to parse the content using the simple parser (preg_replace) instead of DOM parser
    You can try to check this setting if:
    • You are having compatibility issues
  • Tooltip Parsing Priority - Warning: Don't change this setting unless you know what you're doing. Choose in which priority the tooltip will be parsed, compared to other plugins or themes (default value is 20000)
    You can try to check this setting to:
    • You need to solve compatibility issues with specific themes or plugins
  • Tooltip Variants/Synonym Separator - By default, the plugin separates each variant or synonym with ",". You can input another separator in this field. Note that this separator must be consistent among all variants and synonyms.
    • You use variants or synonyms that have ",". For example "3,14" as a synonym of "pi"
  • Use a non-minified version of tooltip script - You can try to check this setting if:
    • You are having compatibility issues
  • Turn on AMP - Shows tooltips on AMP pages. Learn more: Extras - AMP Support (Accelerated Mobile Pages)
    • You use AMP plugins already and wants tooltips on your AMP pages. May boost SEO
  • Add structured data to Term Page - Adds the structured data "ItemPage" to the Term page
    • You want Google and other search engines to identify term pages with the ItemPage This can help with SEO, as your page will be easier to crawl
  • Add additional DB checks for related articles - Take care, as it may stress the server
    • You use related articles heavily
  • Convert content to initial encoding - Convert their text to initial encoding ("UTF-8"). By default, it's disabled.
    • You use the Cyrillic alphabet and need the source code to be in "UTF-8" format

Index Page Optimization

The Index Page has a specific setting to improve performance. If you are facing long loading times:

  • Go to Admin Dashboard → CM Tooltip → Settings → Glossary Index Page. Scroll down to the Pagination section.
  • Under Pagination Type choose Server-side pagination

Read more: CM Tooltip (CMTG) - Index - Pagination (Improving Index Performance)

More information about the CM Tooltip Glossary WordPress 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
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us