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.

Replies

5
  1. Henry Sanabria 11 years, 10 months ago

    I think my query was cut

  2. Henry Sanabria 11 years, 10 months ago

    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. Greg Priday Staff 11 years, 10 months ago

    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. Eric 11 years, 10 months ago

    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!

    • Greg Priday Staff 11 years, 10 months ago

      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.

Have a different question or issue?

Start New Thread