Hi, how to list subforums of needed forum on the front page?
bbPress support forums » Troubleshooting
Subforums of needed forum
(9 posts)-
Posted 3 months ago #
-
Subforums are built in. Can you please explain more what you're trying to do?
Posted 3 months ago # -
I have:
Forum 1
Subforum 1.1
Subforum 1.2
Subforum 1.3
Forum 2
Subforum 2.1
Subforum 2.2
Subforum 2.3
Forum 3
Subforum 3.1
Subforum 3.2
Subforum 3.3And i need just:
Subforum 2.1
Subforum 2.2
Subforum 2.3
On front pagePosted 3 months ago # -
Help me, plz
Posted 2 months ago # -
I'm afraid I still don't understand what you're trying to do. You will have those other forums and sub forums, but they won't be listed on the front page? What is the rationale? Maybe a plugin already exists to do what you want.
Maybe the Hidden Forums plugin will help you.
http://bbpress.org/plugins/topic/hidden-forums/If the forums are not listed on the front page, how will you get to them otherwise? And if you can't get to them, why are they there?
Posted 2 months ago # -
That screenshot is nothing like what you described earlier. What exactly are you trying to do? Do you want it like the screenshot with parent and child forums just laid out in different areas on the front page?
Posted 2 months ago # -
Do you want it like the screenshot with parent and child forums just laid out in different areas on the front page?
Yes
Posted 2 months ago # -
In order to accomplish what you want, with the positions of different forums laid out differently you are going to have to modify your front-page template file pretty heavily.
You'll want to modify the '<?php if ( bb_forums() ) : ?>' section so that it positions each forum in a different area of your page as it goes through the loop. It will likely get pretty tricky as you try to get the subforums underneath the parent forums since they may or may not be in that order in the loop.
Posted 2 months ago #
Reply
You must log in to post.