• It’s seems that tooltips with apostrophes are blank. When I look at the source the tooltip div is blank.

    Example: <div class=”Zebra_Tooltip_Message” style=”max-width: 300px; background-color: rgb(43, 43, 43); color: rgb(255, 255, 255);”></div>

    If I wrap the tooltip text in quotes it works. Can you update the plugin so the output changes from:

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

    to:

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

    https://wordpress.org/plugins/simple-tooltips/

Viewing 1 replies (of 1 total)
  • That’s because by using an apostrophe, you’re delineating the content. Use the button to generate the shortcode, then change the single apostrophes (‘) to double (“) to delineate the content. But because the shortcode is so simple, don’t use the button and just manually enter the shortcode using (“). Then you can include single apostrophes, like this:

    [simple_tooltip content=”Don’t worry about this content that’s got a Load o’ Apostrophes”]Tooltip trigger text[/simple_tooltip]

    Yes, I know this is a workaround, because it *would* be best practice for the plugin to generate (“) instead of (‘).

    Cheers!

Viewing 1 replies (of 1 total)
  • The topic ‘Tooltips with apostrophes don't display’ is closed to new replies.