This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

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

10 years ago · Last reply by Greg Priday 10 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Greg Priday Staff 10 years, 2 months ago

    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. Derek Shaheen 10 years, 2 months ago

    Hello,

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

    Thank you for the awesome theme!

  3. Greg Priday Staff 10 years, 2 months ago

    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.

Have a different question or issue?

Start New Thread