Skip to:
Content
Pages
Categories
Search
Top
Bottom

is_bbpress() isn't working for me


  • Keryn
    Participant

    @b-summers

    I have some code to show the sidebar based on what page it is, and it works fine for the pages, but no sidebar shows on any bbpress pages:

    if (is_page(79) || is_child(79) || is_ancestor(79) || is_bbpress()){
    dynamic_sidebar(‘memberbar-sidebar’);
    }

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