Skip to:

Re: Remove the ‘view’ button in the activity stream

Hi @rogercoathup; I removed the View link from the activity stream by putting the following in the theme’s functions.php file;

add_filter(‘bp_activity_permalink’, create_function(‘$a’, “return null;”));

To remove it from the Profile page required a core hack, which I keep separate so I can restore/overwrite if need be. (I could be wrong about that, as I’m just getting into BP’s actions, filters, etc).

Since getting into BP a few weeks ago I’ve found a lot of things somewhat convoluted, but from reading around the forums here it seems the next version will have some restructuring, and easier theming. There’s a thread somewhere inviting people to test it.

Skip to toolbar