XF 2.2 How to add custom user field info below avatar?

oldford

Member
I've been searching for a while, but can't find an answer to this.

I would like to display the value of a custom user field under the avatar.

I know the template is message_macros and I want to place it right after this code:
Code:
<xf:usertitle user="$user" tag="h5" class="message-userTitle" banner="true" itemprop="jobTitle" />
but I don't know what the code needs to be.

See below circled in red for an example of where I want this info placed.

Thanks!

1635737397984.png
 

oldford

Member
Thank you. I already have some custom user fields displayed that way, but I'm looking to add just the value of one specific custom user field on it's own, without the name of the user field in front.

See below in red.

1635774029094.png
 
Top