Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Hooking into get_header to replace header.php in certain files?


madyogi
Participant

@madyogi

Okay, just looked at the conditional tags in the BP Codex. I could place a conditional statement in the header asking if various conditions are present, such as bp_is_directory(), or bp_is_user_profile() etc, then relevant code?

I’m not sure how to,

code a little switcher that works with includes.

Is there someplace I can go to get the gist of this? Should I just search the WP codex for “includes”?

Also, what attribute can I use to differentiate one file from another when using if statements?

Skip to toolbar