Skip to:
Content
Pages
Categories
Search
Top
Bottom

Can’t change user_mentionname by buser_username


  • Bamwempan
    Participant

    @bamwempan1

    Hello,

    I would like change the mentionname on the buddypress profile. My user can log with facebook and can’t hide her name. So i would like use the username.

    I change the code :

    <?php if ( bp_is_active( ‘activity’ ) && bp_activity_do_mentions() ) : ?>
    <h2 class=”user-nicename”>@<?php bp_displayed_user_mentionname(); ?></h2>
    <?php endif; ?>

    <?php if ( bp_is_active( ‘activity’ ) && bp_activity_do_mentions() ) : ?>
    <h2 class=”user-nicename”>@<?php bp_displayed_user_username(); ?></h2>
    <?php endif; ?>

    And my path is (child theme) : childtheme/buddypress/members/single/member-header.php

    This modification not work… I don’t understand why :/

    Thank

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar