Hide or Disable Mention this User button
-
I am on Buddypress 1.8.1 and WP 3.6.
I am removing all traces of mentions from my site using the directions on the Buddypress No Mentions plugin FAQs page. The one thing not covered on this tutorial page is how to get rid of the Mention this User button on the Profile page of another member.
I removed this button by going to my child theme members/single/member-profile.php and taking out the following code://<?php if ( is_user_logged_in() && !bp_is_my_profile() && function_exists( ‘bp_send_public_message_link’ ) ) : ?>
//<div class=”generic-button” id=”post-mention”>
//” title=”<?php _e( ‘Mention this user in a new public message, this will send the user a notification to get their attention.’, ‘buddypress’ ) ?>”><?php _e( ‘Mention this User’, ‘buddypress’ ) ?>
//</div>
//<?php endif; ?>All seems to be running fine and the Mention this User button is gone. Any problems with getting rid of this button in this fashion?
Thanks!
- The topic ‘Hide or Disable Mention this User button’ is closed to new replies.