7 years, 11 months ago
any one help me ?
how to include wordpress sidebar.php file in forums
To use WordPress functions inside bbPress, you need to do this:
https://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(); ?>)
<?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.
Follow bbPress on Twitter •
Contact Us •
Terms of Service