Notifications
Clear all

[Solved] Custom Author / Responder information next to avatar such as title, personal info - from custom field?

5 Posts
2 Users
2 Reactions
484 Views
Posts: 9
Topic starter
(@sd2023)
Active Member
Joined: 1 year ago

Anyone know how to customize particular post author or respondee left-side area around the avatar to include data such as title, custom description, etc, as featured at https://wpforo.com/community/faq/why-some-of-the-users-profile-fields-are-not-visible/#post-103325 (Support Team) and more particularly like https://www.levelset.com/payment-help/question/received-noi-for-lien/ where it spotlights "construction lawyer", "legal guard lawyer", and "attorney at" - below / next to the avatar (yes I recognize they're not using WPFORO). Is there a custom field option built into wpforo?

Thanks ya'll!

4 Replies
Tutrix
Posts: 1357
(@tutrix)
Noble Member
Joined: 4 years ago

you can use the wpForo - User Custom Fields addon to add fields to the profile

if you want these fields displayed in the post
You can edit the post.php of the used layout
and add the custom fields with this code

<?php echo implode( ', ', array_diff((array) wpforo_member($member, 'field_xxxxxxx'), array(0)) ) ?>

replace the "xxxxxxx" with the correct field number

I have included many fields in this way 😉 

3 Replies
(@sd2023)
Joined: 1 year ago

Active Member
Posts: 9

@tutrix Thank you!

Have you by chance ever tied these custom fields to dynamically pull from pre-existing custom fields in WP, or potentially from users set up in the wp users area?

Tutrix
(@tutrix)
Joined: 4 years ago

Noble Member
Posts: 1357

@sd2023 

I have only included fields from the wpForo addon

you can see in my forum

(@sd2023)
Joined: 1 year ago

Active Member
Posts: 9

@tutrix Cheers!