How to Remove View Link from BuddyPress

Point Clear Media | November 4, 2019


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.

Join the discussion!