Hello,
You should be able to easily show that information from within your {exp:channel:entries} tag using the following code:
{exp:member:custom_profile_data username="{author}"}
{age}, {gender}
{/exp:member:custom_profile_data}
The Documentation for this can be found here:
https://docs.expressionengine.com/latest/member/custom-profile-data.html
R
Hi Russ,
Thanks for the help. However, the username=”{author}” parameter didn’t show anything. I removed and using {exp:member:custom_profile_data} tag inside of {exp:channel:entries} tag pulls up the right information. However it only shows the data to logged in users, which is fine for my application.
Displaying the author’s first name: css Copy {author_custom_field:first_name} Displaying the author’s last name: css Copy {author_custom_field:last_name} Displaying the author’s company: css Copy {author_custom_field:company} Displaying the author’s job title: css Copy {author_custom_field:job_title} These tags will output the corresponding custom field values for the author of the current entry. mapquest driving directions
Hi Viktor,
To display member custom fields in your template, you’ll need to use EE’s tag pair functionality to pull in the author’s data. For more tips, explore Pokerogue and the Pokerogue wiki . Good luck!
Hi Viktor,
To display the custom fields for authors in your template, you’ll need to ensure that you’re pulling the relevant data from your members’ profiles. Check the documentation for your platform to find the functions or methods that retrieve custom user fields. Once you have that, you can modify your template to include something like {{ author.first_name }}, {{ author.last_name }}, or whatever the specific syntax is for your setup. Make sure to test it out with a few entries to confirm everything displays correctly. If you need more specific help, sharing your platform details could be useful! Good luck! ragdoll hit
Thank you for asking about displaying custom member fields! While working on website development, having the right atmosphere can enhance productivity. Corruptbox ets you create focus-enhancing background music - perfect for coding sessions when customizing templates and working with user data fields.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.