Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Hiding header, footer and sidebar in BP profile when using plugin

@slaffik

Moderator

You can’t do that in PHP. Well, actually you can – but you will break all the styling, as you will filter our header/footer.php files include. So basically it’s not a good idea.

The best idea – to use a child theme. You can than even switch to that child theme for specific pages on your site. One of the ways to do that: https://premium.wpmudev.org/blog/wordpress-different-themes-for-pages/

Another idea – do some magic with BuddyPress templates. It’s totally possible, but you will quite heavily modify them (that will complicate future maintainability).

Also it would be easier to help you if you provided a URL to your site.

Skip to toolbar