Skip to:
Content
Pages
Categories
Search
Top
Bottom

is_page() equivalent for bbPress 2.0

  • @nathanbunn

    Member

    I have a template, originally designed for WordPress 3.2.1 and modified to accomodate the bbPress 2.0 plugin. One of the PHP functions I use in my navigation menu is the is_page() function, which finds if a certain page is selected and has been set to append a CSS style to the list item.

    Is there an equivalent function that can be used for the bbPress plugin? If not, is there a workaround solution?

Viewing 1 replies (of 1 total)
  • @anointed

    Participant

    I would try is_bbpress() from the bbp-common-template.php functions file.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar