Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: php “placeholders”?


Sparksdontflyup
Participant

@sparksdontflyup

Okay, so I would edit feild_name and user_id or just feild_name? and how would I get the users full name or just first name? Would I use something like:

<?php echo xprofile_get_field_data( $full_name, $user_id ); ?>

and for the first name:

<?php echo xprofile_get_field_data( $full_name-first, $user_id ); ?>

or what. Would I have to create 2 separate fields for first name and anither for their last and use something like:

<?php echo xprofile_get_field_data( $first_name, $user_id ); ?>

or what?

Thanks.

Skip to toolbar