• 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="http://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!

    http://wordpress.org/plugins/wp-glossary/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author TCBarrett

    (@tcbarrett)

    The styles and scripts are conditionally loaded. You could explicitly enqueue them yourself, then the mark up should work.

    Thread Starter cliffordhill

    (@cliffordhill)

    Thanks for replying. I’ll look into puzzling this out though honestly I don’t know the first steps in how to discover the method of conditional loading nor how I can “explicitly enqueue them.”

    Any detailed info is highly appreciated. Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Way to use just tooltip with inline content not attached to glossary terms?’ is closed to new replies.