QuackieMackie
New member
I created a custom user field, and now I'm trying to use that text value, for a template. How can I get that text value?
In my template I did this so I could use the custom user banner css without copying it to multiple places:
But this is only showing the values with the

In my template I did this so I could use the custom user banner css without copying it to multiple places:
PHP:
<xf:if is="$user.Profile.custom_fields.pronouns">
<div class="staff-pronouns">
<span class="userBanner userBanner--syl_pro_{$user.Profile.custom_fields.pronouns}">{$user.Profile.custom_fields.pronouns}</span>
</div>
</xf:if>
But this is only showing the values with the
_
rather than the text value with the /

Last edited: