bbpress setting

Posted in: Newspaper
Post count: 134

Hi,

I create new page and put the shortcode [bbp-forum-index] to make the forum appear on it. I make the page to appear without sidebar. When you go on that page (where you see the forum index) the sidebar is not there but when you click on the forum the sidebar appears. When I created the forum under the forum menu in the panel in layout settings i put no sidebar but it still appears. How can I make it appear on the whole page without sidebar?

I also want to add [td_block_trending_now] or else that to appear on the top wherever you are in the forum.
I put it right before [bbp-forum-index] in the page content but when you enter the forum it is not there. It appears only on the page which shows the whole index.

The plugin is up to date.

Thanks!

  • This topic was modified 10 years by Marto.
Post count: 22421

Hi,
The sidebar appears because there is a bbpress default template that you can style from here: http://screencast.com/t/oyMj2xH1zEcE
Unfortunately you will have to edit the plugin files if you want to add theme elements inside the bbpress forum. You can maybe use a do_shortcode function: https://developer.wordpress.org/reference/functions/do_shortcode/ inside the bbpress.php file in the root folder of the theme:
for example if you want to add the trending now widget, create it inside a dummy page and enter classic mode and text mode(not visual) so you can get the shortcode for the element. Then you simply add it inside the function and paste it inside the file like so:

In the bbpress.php fiule, there are 3 cases with code in each section. there is the default sidebar case, the sidebar left case and the no sidebar case. You will have to look for these and add the function to your specific case. If yopu do not want to have sidebar, then add the code here: http://screencast.com/t/KHIyPPBZiD4
Thanks.

Post count: 134

Hi,

it works

Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.