How to add social Media in Profiles Page Of WordPress?

How to add social Media in Profiles Page Of WordPress?

Spread The Love

Add Social Media in Profile Page Of WordPress Provides you to add Social Media such as Facebook, Twitter on your User and Profile Page. here is the code that does the same work.

Add Social Media in Profile Page

Just Copy and Paste the following code in the Appearance >> Editor >> functions.php file and see the changes.

 function wordpress_add_social_media( $socialmedia ) {
            $socialmedia['facebook'] = __( 'Facebook' );
            $socialmedia['twitter'] = __( 'Twitter' );
            $socialmedia['linkedin'] = __( 'Linkedin' );
            $socialmedia['skype'] = __( 'Skype' );
            $socialmedia['youtube'] = __( 'YouTube' );
            $socialmedia['instagram'] = __( 'Instagram' );
            $socialmedia['gmail'] = __( 'Gmail' );
            $socialmedia['tumblr'] = __( 'Tumblr' );
            return $socialmedia;
    }
        add_filter('user_contactmethods','wordpress_add_social_media', 10, 1);

If you liked this article, then please subscribe to our Newsletter for Instant Updates. Please like my Facebook Page and follow on Twitter.

  • 7
    Shares

Himani Bhardwaj

I Himani Bhardwaj founder of Plugins Reviews and also a Professional Developer. I'm a Passionate self-made Girl and plays an active role in the activities of WordPress Plugin Reviews I have also attended Chandigarh WordPress Meetup Sessions. I run an online website geared to help those who wants to Know about WordPress Topmost Plugins, Themes and also who wants to learn about PHP Concepts

Leave a Reply

Close Menu