Support » Themes and Templates » Add social media icon author bio

  • I’ve add in my function.php this code to show social media icon user profil.

    // Add Author’s social media links
    function my_new_contactmethods( $contactmethods ) {
    $contactmethods[‘facebook’] = ‘Facebook’;
    $contactmethods[‘twitter’] = ‘Twitter’;
    $contactmethods[‘instagram’] = ‘Instagram’;
    $contactmethods[‘youtube’] = ‘Youtube’;
    $contactmethods[‘linkedin’] = ‘Linkedin’;

    return $contactmethods;
    }
    add_filter(‘user_contactmethods’,’my_new_contactmethods’,10,1);

    and my question is: how to show that icon in bio metabox in my single post?

  • The topic ‘Add social media icon author bio’ is closed to new replies.