BuddyBoss Home – Web Support Forums Plugins BuddyBoss Wall Hide @Username on Wall Bost.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Question

    #41074
    @ammo

    Hello,

    Is there anyway to hide the @username on a wall post?

    eg

    If user1 posts on user2’s wall how is there anyway to hide the @User1 and just leave the post??

    Highlighted in yellow in the example attached.

    Thank You

    Answers

    #41080

    Alyssa
    Participant
    @alyssa-buddyboss

    @ammo Welcome to the BuddyBoss community! This is a BuddyPress issue but this is the best I can come up with. Add this to your child theme functions.php file:

    function bb_remove_activity_mention(){
      ?>
    <script>
    $( "div.activity-inner p a:contains('@')" ).remove();
    </script>
    <? }
    add_action('wp_footer','bb_remove_activity_mention');
    #41083
    @ammo

    Thank You

    Just tested it and works just as I wanted 🙂

    #41094

    Alyssa
    Participant
    @alyssa-buddyboss

    Great!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The question ‘Hide @Username on Wall Bost.’ is closed to new replies.