Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP profile data added to a custom post type

Viewing 3 replies - 1 through 3 (of 3 total)

  • shanebp
    Moderator

    @shanebp

    You can call xprofile data directly by calling xprofile_get_field_data
    http://hookr.io/functions/xprofile_get_field_data/

    How you add a merge tag is a question for Gravity Forms.


    cbloom1919
    Participant

    @cbloom1919

    Thank you for the response. I am trying to piece this together and am wondering- on the page that you linked me to, do I use the “Usage” code, paste it in my theme’s function.php file and use it each time I define a profile field that I need to call? If I use user_id = -1, will it just return data for the currently logged in user? Also, once the query returns the profile fields, how do I get it attached to my post? Where do I give it a parameter name?

    (I’m new to php, so apologies if my questions are unclear/not using the correct terminology).

    Thanks again.


    shanebp
    Moderator

    @shanebp

    Again – how you interface with the Gravity Form is a question for the creators of Gravity Forms.

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