Change mentionname to displayname in “cover-image-header.php”
I have a child theme, and am attempting to change the mention name (the “@” user name) to the display name (full name, first and last).
Looks like this is the place to do it:
And this looks like the line to edit:
<h2 class=”user-nicename”>@<?php bp_displayed_user_mentionname(); ?></h2>
I’ve changed the “mentionname” in that line to “displayname”, but it breaks the page.
What should I be using, and in the future, where should I look for this kind of answer?
- You must be logged in to reply to this topic.