• Hi

    It appears that single and double-quotes aren’t properly escaped to use the shortcode for the plugin easily. I tried various combinations to get an apostrophe and link to work in the tooltip and figured out workarounds (please look closely at the way the single and double-quotes are used by using single quotes within double-quotes or vice versa):

    doesn’t work:
    [simple_tooltip content=’test’s’]test[/simple_tooltip]
    works:
    [simple_tooltip content=”test’s”]test[/simple_tooltip]

    doesn’t work:
    [simple_tooltip content=’test’s‘]something[/simple_tooltip]
    works:
    [simple_tooltip content=”test’s“]something[/simple_tooltip]

    I’m not sure if it’s actively being developed any more, but if it is might be worth a quick fix?

    Thanks!

Viewing 1 replies (of 1 total)
  • Hi @x4xtazy . I’m not a user of this plugin, nor associated with it, but I came across this post while researching a similar problem with another plugin.

    The single/double quote nesting is not something to do with the plugin itself, but with the way WordPress handles shortcodes — or more specifically the way PHP works. So you will generally need to use alternating “s and ‘s in this way.

    An alternative is to use the raw html characters — e.g. " — in the text.

Viewing 1 replies (of 1 total)
  • The topic ‘Workaround for blank tooltip when using single and/or double-quotes’ is closed to new replies.