• Resolved dasme

    (@dasme)


    Hey There,

    I’ve just started working with your plugin and tried to add some new social icons. The icon is correctly showing in the Team -> Settings page, but when I add a value using that new social site the template displays HTML.

    You can see what I mean on the following page:
    http://rezd.tv/about/

    Any ideas what I can do to fix this?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter dasme

    (@dasme)

    It looks like it’s turning the entered url into a full URL. When I tried to enable a background image with one of the built in ones, it is also displaying HTML on the page:

    <div class="team-container" style="background-image:url(<a href="http://rezd.tv/wp-content/plugins/team/assets/global/images/bg/dimension.png);text-align:left">http://rezd.tv/wp-content/plugins/team/assets/global/images/bg/dimension.png);text-align:left</a>;">

    The <a href=” shouldn’t be there, but I can’t see where it is coming from by digging through the plugin’s code.

    Stumped.

    • This reply was modified 8 years, 10 months ago by dasme.
    Plugin Author PickPlugins

    (@pickplugins)

    Thanks for your post,

    Please use only icon URL.
    http://rezd.tv/images/icon/Twitch-Icon.png

    Please see the screenshot

    View post on imgur.com

    Regards

    Thread Starter dasme

    (@dasme)

    That is what I entered. I enter just the image link like you outlined above, it shows up in the backend as a working icon, but it isn’t showing up properly on the about page.

    Thread Starter dasme

    (@dasme)

    I looked through my plugins and it looks like this behaviour was occurring because I was using an old plugin names “External Links”. It was styling the links that were being output by your plugin. Here is a link to that plugin just incase someone else runs into this issue:

    https://wordpress.org/plugins/sem-external-links/

    Thanks for your time, I looked through my plugins but missed this one!

    Plugin Author PickPlugins

    (@pickplugins)

    Thanks for your update and glad to know you solve yourself.

    Regards

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

The topic ‘Social icons are outputting HTML’ is closed to new replies.