Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding Social Media to Public Profile with Icons


  • Arutam
    Participant

    @arutam

    Hi Buddies!

    I checked out the “Layout and functionality” page, and I found that I can add Social Media Fields to bbPress through this function:

    function add_extra_contactmethod( $contactmethods ) {
    // Add new ones
    $contactmethods['twitter'] = 'Twitter';
    $contactmethods['facebook'] = 'Facebook';
    $contactmethods['googleplus'] = 'Google Plus';
    $contactmethods['youtube'] = 'Youtube';
      
    // remove unwanted
    unset($contactmethods['aim']);
    unset($contactmethods['jabber']);
    unset($contactmethods['yim']);
      
    return $contactmethods;
    }
    add_filter('user_contactmethods', 'add_extra_contactmethod');

    I wonder if there is a way to make them visible. I mean if I add my Facebook account could bbPress show it on the public profile with a Facebook Icon?

    And also show them in users topics and replies posted?

    Any advice, thanks!

  • You must be logged in to reply to this topic.
Skip to toolbar