Support » Plugin: WP Glossary » Hiding Text When Glossary Term Viewed in Tooltip

  • Resolved Nattypat Crochet


    When a glossary definition is viewed in a WP Glossary tooltip popup, I would like to hide some text from the glossary definition from showing in the tooltip box. The text I would like to hide is a link that says “Back to Glossary” which shouldn’t be visible as users aren’t actually viewing the definition in the glossary (just in the tooltip). Can I do this using css? Or do I need js? I know nothing of js.
    Check out the “drape” tooltip link on this page. Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • I’ll also note that links within the glossary definition don’t work when viewed in the tooltip. In my case, I don’t want them showing at all, but most people would probably want to keep the links working. Possible bug.

    Plugin Author TCBarrett


    Hi Nattypat 🙂

    The plugin looks for the excerpt to put in the tooltip. If there is none, then it uses the full post content. So you can update the excerpt with just the text you want in the tooltip.

    It works just like blog post excerpts. Codex looks a little out of date, but this might help explain them:

    Thank you for clarifying. I’m now using the excerpt area to specify the exact text I want. Follow up question: Can I remove the “Continue Reading ->” from showing in the tooltip? Thanks.

    My problem is the tooltip is displaying “Share/Save” from a preceding plugin AND the text of the following “latest Posts” page. I’d like to display the glossary as a tooltip but just killing tooltips would be OK too. My theme already uses the_excerpt so I don’t want to mess with it. What am I missing? See this post and hover over “3N” in first paragraph below the leading blockquoted section.

    Plugin Author TCBarrett


    Just like any other filter, the excerpt and post content filters can work across many or just one post type.

    Without control over other plugins (like Latest Posts) there isn’t much I can do. It would need for those plugins to have the option of excluding glossary term excerpts/posts.

    hi. nice idea with the tooltip, but where do i actually see the tooltips?

    i added the excerpt texts, but since there is no autolink functionality inbuild, i wonder where the user sees the tooltip?

    @pacovilla: are u still using wp-glossary? i ve seen that you managed to get the tooltips working, but i havent found the option for it yet

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Hiding Text When Glossary Term Viewed in Tooltip’ is closed to new replies.