Find Answers and Get Support › Forums › Gwangi – PRO Multi-Purpose Membership, Social Network & BuddyPress Community Theme › Popular Features › Member Profile Search › How to hide the "private messages" button on the member search results page?
- This topic has 6 replies, 2 voices, and was last updated 5 years, 8 months ago by
Themosaurusrex.
-
AuthorPosts
-
djhParticipant@djh7905
- 12 Topics
- 41 Posts
I don’t want to cancel it, I just want it not to show up.
Since I installed a plugin that can only send private messages to friends, the button to send private messages is no longer displayed on the profile page of non-friends, but the search results page will still display.August 19, 2019 at 14:32 #7562@themosaurusrex- 0 Topics
- 2048 Posts
Hi @djh7905,
Unfortunately, if this issue is stemming from the use of a third party plugin, you should notify the plugin authors and ask them why the button is still showing up on the search results.
You can still hide every “Private Message” button for every member displayed on the directory AND the search results pages, friends included. However, that’s not what I would recommend in this case…
To change this, simply add the following code snippet to your website:
/** * Hide Private Message button from member directory search results */ #members-dir-list .send-private-message { display: none; }
To add this code snippet to your site, we recommend that you paste it to the Custom CSS panel of your WordPress Customizer. Just go to your dashboard and navigate to “Appearance > Customize > Additional CSS”.
Pasting your code snippet there should do the trick for you.Also, it’s important to remember that we share snippet only to solve issues with our theme. Any further request for CSS snippets will have to be part of a defect that needs to be fixed urgently. No snippets will be shared otherwise.
If you want to go further with this issue, I advise that you try to reach the plugin authors.
Regards,
August 20, 2019 at 10:44 #7575@themosaurusrex- 0 Topics
- 2048 Posts
You’re welcome.
Best regards,
August 22, 2019 at 10:49 #7587 -
AuthorPosts
The topic ‘How to hide the "private messages" button on the member search results page?’ is closed to new replies.