Home>Support>How to use non-http link in Circle Icon Widget?

How to use non-http link in Circle Icon Widget?

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hello,

I am attempting to use ts3server://addresshere in the Circle Widget, but when I use that uri it reverts to an HTTP link to the page the widget is located on. I have added ts3server to the WordPress protocols:

In functions.php:
$protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp', 'ts3server');

but it still doesn’t seem to work. Could you please advise as soon as possible?

Thank you,

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 7 months ago Greg Priday
    Hi, I Work Here

    Hi Derek

    We’re using the built in esc_url function to handle escaping URLs in the circle icon widget. By default, this does strip out a lot of protocols.

    Here’s a guide on how to add skype as a valid protocol. You can quite easily apply this idea to adding ts3server though.

    http://sevenspark.com/tutorials/skype-uri-link-wordpress-menu

    Hope that helps :)

  2. 9 years, 7 months ago Derek Shaheen

    Hello,

    Thank you for your reply. The code on that page seemed to fix the issue.

    Thank you for the awesome theme!

  3. 9 years, 7 months ago Greg Priday
    Hi, I Work Here

    It’s an absolute pleasure. Very glad to hear you liked it :)

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More