Skip to:
Content
Pages
Categories
Search
Top
Bottom

Custom member profile header

Viewing 5 replies - 1 through 5 (of 5 total)
  • @adjunkten

    Participant

    Aah, members-loop is the directory of members – so the answer to my first question is ‘yes’

    Here’s my user’s header code

    @henrywright

    Moderator

    Hi @adjunkten

    Your path seems slightly off. It should be wp-content/themes/your-theme/buddypress/members/single/

    And I think the file you need to edit is member-header.php

    @adjunkten

    Participant

    Hi @henrywright

    Thanks, finding the right file and the right path helped 🙂

    I use this on my site now:

    <div id="item-header-content">
    
    <p> Skole: <?php $data = bp_get_member_profile_data( 'field=Skole' );
    if( $data != '' )
    echo $data; ?><br/>
    Yndlingshistoriker: <?php $data = bp_get_member_profile_data( 'field=yndlingshistoriker' );
    if( $data != '' )
    echo $data; ?></p>

    @danbp

    Participant

    @adjunkten,

    please use the code button when you publish code in a topic. Thxs.

    @adjunkten

    Participant

    Sorry, @danbp, will do next time.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom member profile header’ is closed to new replies.
Skip to toolbar