Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter jagtownsend

    (@jagtownsend)

    OK it should have read
    (e.g. <a xlink:href="http://www.google.com" target="_blank"><path.../><a/>)

    Plugin Author Benbodhi

    (@benbodhi)

    Hi,

    Thanks for your support using my plugin 🙂
    It sure does support this.

    Here is an example of how my links are formatted:
    (you can disregard the class, id & target, but you will see that I have some extra data in there… that could be the issue. I used Illustrator to create that SVG and embed the links, then SVG cleaner to remove extraneous mess).

    <a class="hex-slice" id="instagram" target="_blank" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://instagram.com/mrbillstunes">

    You can see the SVG where this is used in the footer of http://mrbillstunes.com/.

    Cheers
    Ben

    Thread Starter jagtownsend

    (@jagtownsend)

    Thanks for your help, and for the plugin, it’s great!

    I think I’ve hit on the problem. I’m using WP Bakery page builder which writes the SVG into the page code using <img>. I understand this element doesn’t cater for interactivity and its better to use <object> or <embed>. I wonder, which do you use and how?

    Thanks a lot.

    Plugin Author Benbodhi

    (@benbodhi)

    The way my plugin works, you use the <img> tag and add (default, but you can change the class name in the plugin settings) the class="style-svg".
    Example:
    <img src="your-svg-url.svg" class="style-svg" />
    Then it will automatically render the SVG content, replacing the img tag.

    I hope that helps.

    Thread Starter jagtownsend

    (@jagtownsend)

    That’s really great. Thank you very much for your help!

    Plugin Author Benbodhi

    (@benbodhi)

    My pleasure, glad to help 🙂

    Thread Starter jagtownsend

    (@jagtownsend)

    There’s a ‘drink’ on its way.

    Plugin Author Benbodhi

    (@benbodhi)

    Haha, so there is, thank you very much!
    i really appreciate that 😀

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

The topic ‘Embedded Links don't work’ is closed to new replies.