Add Skype Icon In Top Menu

Home Forums Corporate Club Add Skype Icon In Top Menu

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7880
    Anonymous
    Inactive

    How can i add skype icon in top menu just like others i.e facebook, twitter etc

    #7949
    Axle Support
    Moderator

    Skype is not allowed as valid protocol and WP does not allow it by default. You need to add following PHP code in the child theme. Create child theme if you have not already.

    
    function corporate_club_allow_skype_protocol( $protocols ) {
        $protocols[] = 'skype';
        return $protocols;
    }
    add_filter( 'kses_allowed_protocols' , 'corporate_club_allow_skype_protocol' );
    

    And then, use following CSS for styling the icon.

    
    .corporate_club_widget_social ul li a[href*="skype:"]::before {
        content: "\f17e";
    }
    

    Now you can add skype link like you are adding Facebook, Twitter, etc.

    #8125
    Anonymous
    Inactive

    Hi,

    Thanks for the answers how can i create a child theme

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.