Skip to:
Content
Pages
Categories
Search
Top
Bottom

How can I check if a page is NOT a BuddyPress related page (regular WordPress posts and pages)

  • Avatar of Bowe
    Bowe
    Participant

    @bowromir

    Hi Guys,

    Is there a way to check if a page is NOT part of BuddyPress but a regular WordPress post or page? I’m asking because I want to replace the bp_page_title() with the regular ol’ wp_title in my theme header. I thought of doing it like this:

    `

    `
    This works for the group component.. But instead of making a huge complicated if statement isn’t there a conditional that simply detects if something is a BuddyPress page?

    Thanks in advance :)

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.