How to Remove View Link from BuddyPress

When using BuddyPress, there is an annoying “View” link on the profile pages. To a logged out user it sits there alone, strangely, with no counterpart. Here’s how I removed it.

At first I thoughtI would alter the BuddyPress theme, but this View link is created in the core parts of BuddyPress. So the solution I settled on was to use CSS. In my custom CSS, I added

body:not(.logged-in) ul.subnav{

Use this as a starting point. You might need to tweak it a little for your specific needs.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.


3420 Pump Rd. #181
Henrico, VA 23233

+1 804 430 9444

Contact Us