WordPress Glossary Plugin (CMTG) - Tooltips - Adding Links Inside Tooltip Content
Adding Links Inside Tooltip Content
With the WordPress Glossary plugin you can add any number of links inside tooltips.
Additionally, you can add a link to the term page with its definition. It will work the same as clicking the highlighted term.
Frontend Example
![Example of the link in the tooltip - WordPress Knowledge Base Plugin](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/5f4f9b692c7d3a352e91b2e9/file-vbVylF1jT5.gif)
Settings
These features require some settings found under Settings → Tooltip tab in order to work properly.
![Tooltip settings - Knowledge Base WordPress Plugin](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/61a0dd08efc78d0553e5df34/file-GvtUzAGf9n.png)
Showing Links on Tooltips
First, make sure the term has the link(s).
![Example of the link in the term - Glossary Plugin WordPress](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/5f4f9ec52c7d3a352e91b30d/file-ayPGTAUzM2.png)
These settings are required:
1) Tooltip - Content Section
- Show tooltip? - Enable this option to display a tooltip when hovering on a term.
- Is clickable? - Enable this option, so the user could interact with the tooltip.
- Clicking on tooltip redirects to term? - (Optionally) Clicking anywhere inside the tooltip will redirect the user to the term page. This option demands the option Is clickable? to be turned on. Note: this option was introduced in version 4.0.3.
- Leave the <a> tags - Enable this option to preserve the html anchor tags in tooltip text.
![Configuring tooltip settings - Tooltip Plugin WordPress](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/61a0dddfefc78d0553e5df3a/file-jVTGf8cY5d.png)
If the option Leave the <a> tags is disabled, there will be no link.
![Tooltip example when the option is disabled - Tooltip WordPress Plugin](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/5f4f9ef7c9e77c0016eb217c/file-oaaqZ2gTOY.png)
2) Tooltip - Mobile Support & Activation
- Close tooltips on mouse moveout - enabled
![Closing tooltips on mouse moveout - Wiki Plugin for WordPress](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/61a0dff7efc78d0553e5df47/file-WmBSuMLE1L.png)
Leaving options Is clickable? and Close tooltips on mouse moveout disabled will cause the Tooltip content to be unclickable and at the same time the tooltip will not disappear.
![Example of the issue - Wiki for WordPress](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/5f4f9ce846e0fb0016ff4a4f/file-dUPPr9DH5K.gif)
TIP: Excerpt Doesn't Support Links
Be sure to disable Use term excerpt for hover?, as excerpts don't support links.
![Disabling using excerpts in tooltips - Wiki WordPress Plugin](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/61a0e07564e42a671b63ab94/file-wyZoaNtpi8.png)
So, this excerpt:
![Example of the link in the excerpt - WordPress as a Wiki](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/5f4fa05d4cedfd00172e83f0/file-zHgPcOounV.png)
Would result in this tooltip:
![Example of the excerpt with no link shown - WordPress Internal Linking Plugin](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/5f4f9ff4c9e77c0016ffcd9a/file-gRsZBuGBKl.png)
Showing Link to Term Page
Clicking on the link will direct the user to the term page.
A single setting is required.
Tooltip - Content
- Add term page link to the end of the tooltip content? - enabled
![Adding link to the term page - WordPress Glossary Plugin](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/61a0e0af9ccf62287e5fa415/file-21Bgm1UyD4.png)
TIP: You Can Change The Label
You can change the "Term Details" label from the Labels tab.
![Labels settings - WordPress Knowledge Base Plugin](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/61a0e21eefc78d0553e5df5d/file-wZoMztY3ez.png)
![Term details link label - Knowledge Base WordPress Plugin](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/61a0e1a49ccf62287e5fa418/file-Ky2lUklYnd.png)
Result
![Example of changed label - Glossary Plugin WordPress](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/5f4fa2122c7d3a352e91b329/file-rs2OlxNwAa.png)
![]() |
More information about the WordPress Glossary 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 |