You can call xprofile data directly by calling
How you add a merge tag is a question for Gravity Forms.
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).
Again – how you interface with the Gravity Form is a question for the creators of Gravity Forms.