Skip to:
Content
Pages
Categories
Search
Top
Bottom

how to include wordpress sidebar.php file in forums

Viewing 1 replies (of 1 total)

  • chrishajer
    Participant

    @chrishajer

    To use WordPress functions inside bbPress, you need to do this:

    http://bbpress.org/documentation/integration-with-wordpress/#functions (the Functions section at the bottom of that page). Be sure that include line is at the top of bb-config.php: right after the <?php is a good place for it.

    That will allow you to use WordPress functions in a bbPress page (like <?php get_sidebar(); ?>)

    Then, you need to include that function call in a bbPress template file (or files) where you want it to appear. You are responsible for making sure there’s room in the template for your sidebar.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.