Skip to:
Content
Pages
Categories
Search
Top
Bottom

Page Conditional Checking

  • Hey everyone,

    Can somebody tell me how I would check which page I’m on in BBPress with a conditional?

    I can’t figure out how to do it for the ‘edit topic’ page and others.

    I did however discover the ‘bb_is_search’, ‘bb_is_front’, etc.. conditional functions.

    Thanks

    Andrew P

Viewing 2 replies - 1 through 2 (of 2 total)
  • There’s bb_get_location() in functions.bb-template.php which returns the page you’re on and is above all the page conditional functions (which are based on bb_get_location() anyway)

    Perfect answer. Thanks for the help!

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

You must be logged in to reply to this topic.