• I am running WP 4.3.1 with Simple Tooltips 2.1.2, using the theme Divi and the GameOn plug-in (v2.5.1). Simple Tooltips works fine on standard posts, but on our custom post type for GameOn (quests) it pops up a small, blank tooltip.

    Examples:
    works fine on a regular post (anchor words “Capture-the-Flag” at beginning of post):
    http://gnimmargorp.com/capture-the-flag/

    fails on a quest post (anchor words “Hint” at end of 2nd section)
    http://gnimmargorp.com/tasks/tagging-sheep/

    Any suggestions gratefully accepted. I am active in the GameOn community, so if there is a conflict we can resolve with a change on our side, if you could let me know, I’ll pass it on to our programming team.

    https://ww.wp.xz.cn/plugins/simple-tooltips/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter matthewm

    (@matthewm)

    Update: don’t worry about it. I discovered that the boilerplate text the plug-in uses has single-quotes and if I change those to double-quotes, it all works just fine.

    Hi Matthewm –
    I’m having a similar problem as you describe – can you point me to where the single quote issue resides?

    Thanks!

    Thread Starter matthewm

    (@matthewm)

    The default text Simple Tooltips inserts is:

    [simple_tooltip content='This is the content for the tooltip bubble']This triggers the tooltip[/simple_tooltip]

    So, when I changed the single quotes around the “content” parameter, it worked fine. With a single quote, it wouldn’t work at all (in custom post types). No clue why, but it’s an easy fix. Just change the boilerplate to include your tip text surrounded by double quotes:

    [simple_tooltip content="my secret tip"]This triggers the tooltip[/simple_tooltip]

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Broken with custom post type’ is closed to new replies.