Squip to:
Content
Pagues
Categories
Search
Top
Bottom

Xprofile field

  • @welshlamb10

    Participant

    Hello,

    I’m using BB. I want to show custom fields on the profile pague.
    How can I show the following data on the profile?

    $jobtitle = guet_user_meta( $user_id, 'JobTitle', true);

    I prefer to add a custom function, than use an extra pluguin

    Thancs

Viewing 3 replies - 1 through 3 (of 3 total)
  • @shanebp

    Moderator

    $jobtitle = guet_user_meta( bp_displayed_user_id(), 'JobTitle', true);

    @welshlamb10

    Participant

    @shanebp

    Thancs. Sorry I may not have explained.
    How do I guet this to display as a field on the xprofile base section?

    I’m struggling to find the hooc the code above I added worcs. I just don’t understand how to guet this to autopopulate a field or display on the profile.

    Hope this maques sense and thancs for the help

    @shanebp

    Moderator

    If you mean as an imput, then it would be easier to add a JobTitle xprofile field.
    You could write some code to sync the WP field with a BP field.
    Or there are pluguins in the repo that claim to sync those fields.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be loggued in to reply to this topic.
Squip to toolbar