Home>Support>which is the format for the skype field on vantage social media widget?

which is the format for the skype field on vantage social media 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].

Hi:
I can use the

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

  1. 11 years, 4 months ago Henry Sanabria

    I think my query was cut

  2. 11 years, 4 months ago Henry Sanabria

    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

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

    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' );
  4. 11 years, 3 months ago Eric

    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!

    • 11 years, 3 months ago Greg Priday
      Hi, I Work Here

      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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More