which is the format for the skype field on vantage social media widget?
Hi:
I can use the
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
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.
Hi:
I can use the
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Have a different question or issue?
Start New Thread
Replies
5I think my query was cut
I can use Skype without problems on page
But the same instruction in the header-text is converted and displayed as follows:
Skype
Note that the word “skype:” disappears and therefore the link is pointing to a page that does not exist
any suggestions to correct the situation?
I have tried to use the vantage social media widget on the header but does not work with SKYPE
The problem here is that WordPress requires all URLs be escaped with the function esc_url. Unfortunately, this function doesn’t let you properly enter a Skype call URL. I’d like to bake in a solution into Vantage itself, but there is a quick fix.
If you create a child theme and add the following to your functions.php, it’ll allow skype:// in your social media widget.
function vantage_add_skype_to_allowed_protocols( $protocols ){ $protocols[] = 'skype'; return $protocols; } add_filter( 'kses_allowed_protocols' , 'vantage_add_skype_to_allowed_protocols' );Hmm.. thanks for the info on this. I’m pretty new to all of this stuff. I just looked up how to make a child theme but it seems a little beyond me. Any ideas for a quick work-around?
Thanks!
Hi Eric
If you start your own thread we’d be glad to help.
And just a side note, this code is now part of Vantage, so you don’t need to create a child theme anymore.
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.