/

CM Tooltip (CMTG) - Integrations - Merriam Webster


Using the Merriam Webster Dictionary API

Back to User Guide

The Tooltip Glossary eCommerce and Ultimate editions can integrate Merriam Webster Dictionary or Thesaurus.

Each of them requiring  its own API key that needs to be obtained.

Obtaining the API Keys

To obtain the Merriam Webster Dictionary API keys, 

  1. Register an account on dictionaryapi.com. Be sure to select the relevant API Keys in the "Request API Key" fields, as shown:
  2. Validate your e-mail and log in to your account.
  3. Access "My Keys" and you will be able to copy the API Keys.

Resources
  • For more information about the Dictionary API, access this page
  • For more information about the Thesaurus API, access this page.
  • Read their FAQ if you have any questions about the API. 
(Please notice that MW may charge money for getting an API key depending on the usage of your website. Also we are only supporting the plain English dictionary from the list of available dictionaries available in MW site).

Setting Up The Integration

Head to the CM Tooltip → Settings → API tab. There, you will find the two relevant API Key fields. Copy the keys to the services you are interested in integrating.

The other options on this page help you configuring the integrations. 

  • Dictionary
    • Enable Dictionary - This will show content coming from the MW Dictionary
    • Show Dictionary data in tooltip - This will show the dictionary result also in the tooltip itself.
    • Show Dictionary data in the glossary term display - This will show the Dictionary result also in the term page  itself.
    • Only show Dictionary data when content is empty - This will show the the dictionary content only when no other content was added to the term page.
  • Thesaurus
    • Enable Thesaurus -  This will show content coming from the MW Thesaurus
    • Show Thesaurus data in tooltip - This will show the Thesaurus result also in the tooltip itself.
    • Show Thesaurus data in the glossary term display - This will show the Thesaurus result also in the term page itself.

Settings For Each Page

Note that you are also able to set individual settings for each page.

In each term page you can define using the metabox show below the behavior of this term as related to the MW content while overriding the plugin settings:

Override the WordPress tooltip plugin's Merriam Webster Dictionary API definitions


Example showing MW Content

Below is an example of how it is included inside a term page. The Dictionary and Thesaurus sections are highlighted.


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