Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: page.php as template

@macpresss

Participant

That’s very strange looks like the WP Loop is going somewhere through the sidebar.php file.

Make sure nowhere in the file is this code also look in the footer or other files that will be used.

( without the * )

But why would you copy stuff form the archive-forum.php template to the page.php template ?
page.php is used to generate a default WordPress page.

bbPress has it’s own Custom Templates
https://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates

Those can be found in the extra’s folder. For example if you copy page-front-forums.php from the extras folder to your WordPress theme folder you can find it while adding a new Page inside the WordPresss Dashboard.

Just: Add New Page and in the sidebar on the right side you can find an option the select a different Page Template.
Pick the new bbPress page template and name your page like Support of whatever the title or (url) of this page has to be and Save it.
Visit the Page and all the forums will show on that new page.

Now if you like to add some WordPress (blog) stuff to that page copy it from whatever WordPress template inside the page-front-forums.php

Make sure you delete the sidebar() code that i showed above out of that template.
Thats the logic way of working i believe. Don’t touch the page.php because it’s a default WordPress template for making new pages on your website.

Skip to toolbar