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)

  • danbp
    Moderator

    @danbp

    Please read the forum before asking… A similar question came up yesterday with an answer to

    This modification not work… I don’t understand why

    customizing profile-header


    Bamwempan
    Participant

    @bamwempan1

    I know, but y problem not resolved … I try to find. Thank


    Bamwempan
    Participant

    @bamwempan1

    I have an error in my path … When i change class or id is not work too. Rah damn


    danbp
    Moderator

    @danbp

    Have you tried to make your change in cover-header-image.php instead of members-header.php, as explained ?

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