How to determine if a BP-generated page is being shown
-
Hello,
i’ve installed BP and ran the BP Compatibility Theme Pack plugin which worked like a charm.
However, I’d like that my bp pages to look slighty different than my wordpress’. As BP is using the page.php I would like to modify that file to change some settings if the page that is currently being shown belongs to BP or WP.
Something like:
If ( in_bp() ) {
// do these things
} else {
// Do these other things.
}Which function should I use for this?
All best,
Will
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to determine if a BP-generated page is being shown’ is closed to new replies.