Skip to:
Content
Pages
Categories
Search
Top
Bottom

Custom Fields in Profile

  • @techguy1988

    Member

    Hi,

    I am trying to check if a custom field I’ve added to the BuddyPress “Edit Profile” page will come up with custom data.

    This is the PHP Code I am currently using – but at the moment it is just printing out the field name, rather than showing the echo “test” bit.

    
    <?php
    
    if ( bp_the_profile_field_input_name() == 'field_17')  {
    echo "test";
    }
    
    ?>
Viewing 3 replies - 1 through 3 (of 3 total)
  • @techguy1988

    Member

    Does anyone have any ideas why this doesnt work?

    @techguy1988

    Member

    Anyone got any ideas? Really need help with this one!

    @bowromir

    Participant

    Here’s what I did on BP-Tricks (this works)

    <div class="profile_fields">Website: <span></span></div>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Fields in Profile’ is closed to new replies.
Skip to toolbar