Info
- 4 posts
- 2 voices
- Started 3 years ago by Chaslie
- Latest reply from Chaslie
- This topic is resolved
Hide 'child' forums from being displayed on home page
-
- Posted 3 years ago #
Have just installed bbPress: 0.9.0.2
Of the list of forums I have on the front page, I have 7 main forums and each of these forums have up to 50 child/sub forums. Can these child/sub forums be hidden on the front page meaning that if you visit one of the parent forums, it is only then that the child/sub forums are listed (underneath its parent forum).Many thanks all. Look forward to a solution.
-
- Posted 3 years ago #
Thanks _ck_ but the 'pastbin' examples have now elapsed and are no longer available. Is there any chance someone could supply again before this thread is marked as resolved please? Desperatly looking for the solution.
-
- Posted 3 years ago #
Just had another idea !!!!! Would this scenerio work?
Using 0.9.0.2
In the KAKUMEI theme, can this line (Line 43): <?php if ( bb_forums() ) : ?>
be replaced to to just call up on the front page only the forums that have a certain ID?Something like: <?php if ( bb_forums(ID=1,2,3,4,5) ) : ?>
I don't know PHP that well to be able to guess the actual code required. What do you think?
Have tried what zappoman suggested here (http://bbpress.org/forums/topic/hide-subforums-on-main-page#post-21413) but cannot get it to work.
-
You must log in to post.