Way to use just tooltip with inline content not attached to glossary terms?
-
I’m wondering if there’s a way to just access the tooltip function in a one-off situation without having to enter a term in the glossary?
Example is I want a tooltip to appear over some tiny icons about review services like Diamond Certified and Yelp. In the HTML I was hoping to inline something like:
<span class="wp-glossary wpg-tooltip" data-qtipstyle="light" inline-content="Yelp: consumer reviews of retail companies and services"><a href="https://www.yelp.com/" title="Yelp"><img src="images/yelp.png" alt="Yelp" /></a></span>
Is there anything like the “inline-content” attribute that I can tap into to trigger a custom tooltip without having to enter a term in the glossary?
Reason is I don’t want the term linked like I’m using for the actual glossary terms in for the main content of the site. I also don’t want to make the content editor start entering a group term for each glossary term when he hasn’t been doing that all along. If I can access just the tooltip function, I won’t have to install another tooltip script and take the time to style it to look like the existing WP Glossary tooltips.
Thanks for any help!
- The topic ‘Way to use just tooltip with inline content not attached to glossary terms?’ is closed to new replies.