Add Skype Icon In Top Menu

Home Forums Corporate Club Add Skype Icon In Top Menu

This topic contains 2 replies, has 2 voices, and was last updated by  sathishkumar 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7880

    sathishkumar
    Participant

    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

    sathishkumar
    Participant

    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.