CM Tooltip (CMTG) - Extras - Ecommerce Custom Parsing Order

Setting Up Custom Parsing Order

The CM Tooltip Glossary Ecommerce allows you to change the order of the terms being parsed on page/post basis, by giving the priority to the limited list of terms which can be added to metabox.

Because by default all of the terms are parsed together, the longest matched terms are matched first. 

Below: The metabox allowing to change the parsing order on the post/page edit page.

How does it work?

If the metabox is empty the parsing is working as described above. The longest matching terms are highlighted first.

When you put a single term in the box, it will precede all of the other terms which can be found on this page. So even if it's a part of a term phrase (eg. HTML is part of the HTML Widget phrase). It will be parsed first, before all of the rest of the terms - which means that if the "Highlight only the first occurrence of the term" is not checked - HTML Widget will not be highlighted as a phrase at all in this text.

Below: Example of the post with some short text and the Parsing Order.

Below: The post text with the default Parsing Order.

Below: The post text with the changed post order. As you can see the HTML Widget is not parsed, because HTML was parsed first.



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