Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • @mdory89

    Participant

    Ah ok, I will try what you wrote, If it doesn’t work I’ll let you know.

    @mdory89

    Participant

    I should’ve explained more. In the WordPress admin panel, If you click Users-Profile Fields, the profile field created and placed into the member-header.php file doesn’t show at all.

    Here’s a tutorial I followed: http://code.tutsplus.com/articles/developing-buddypress-themes-part-3-buddypress-15-member-pages-the-overall-user-experience–wp-21856

    The code:

    <?php
       
      $favorite_spot = bp_get_profile_field_data( 'field=Favorite Camping Spot' ) ;
    echo '<p class="profile-fields">My Favorite Camping Spot: ' .$favorite_spot. '</p>';
       
      $necessary_item = bp_get_profile_field_data( 'field=One Necessary Item' ) ;
    echo '<p class="profile-fields">My One Necessary Item: ' .$necessary_item. '</p>';
     
      ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar