Which Page Template filename can I use to display a Forum?
-
After installing bbpress I have a set of forums.
Every forum is presented using a php template in my child theme.
The php template has the filename bbpress.php.I’d like to create a php template that applies *just* to the individual forum pages. Not the forum topics or singles. Or anything else.
I’ve been looking at this:
The heirarchy seems to suggest that you can use ‘single-[forum].php’, which suggests that ‘[forum]’ needs to be substituted with the name of the forum.
… which is great. But I want one template to be applied to all forum singles and nothing else.
Just to test, I copied my existing bbress.php to a file called ‘single-forum.php’.
bbpress did pick this up and use it for my forum singles.
But the page didn’t present the actual forum. Where the forum should have been, there was just empty space.So… how do I create a template that gets applied to all forums and nothing else?
- You must be logged in to reply to this topic.