Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Remove Sitewide Activity


Roger Coathup
Participant

@rogercoathup

@bojanski

hide_sitewide is a boolean, and in this line is being used to test whether an activity item has been marked as hidden or not – (it’s not a count @tom_taylor_85)

You should NOT be modifying the code there – that’s a core file, and you’ll run into problems when you upgrade if you’ve modified them. You’ve also changed the logic to say: if an item is marked as hidden get it to display – which is not what you want.

@bojanski – can you be clearer about what you mean by “remove sitewide activity tab” – do you mean you want to remove the main Activity page from the main nav bar?

If the latter – edit it out in header.php in your child theme.

Skip to toolbar