Info
- 7 posts
- 5 voices
- Started 2 years ago by phaniraj01
- Latest reply from Olaf
- This topic is not resolved
Hide subforums on homepage
-
- Posted 2 years ago #
Dear All,
I am using default Kakumei Blue 1.0 theme, I need to hide subforums from the home page of the forum.
Is there any plugin available?
Thanks,
phani -
- Posted 2 years ago #
search the forum, there are several post about this question
-
- Posted 2 years ago #
i've already tried, all it did was send subforums to the bottom of the list, but not hide them altogether.
-
- Posted 2 years ago #
Why not edit your front page to exclude them via your theme?
-
- Posted 2 years ago #
please give me the code to edit..
I have no programing experience.
thanks,
phani -
- Posted 2 years ago #
Go to your theme folder, find the theme. Edit front-page.php:
Remove the following:
<?php if ( bb_forums() ) : ?> <h2><?php _e('Forums'); ?></h2> <table id="forumlist"> <tr> <th><?php _e('Main Theme'); ?></th> <th><?php _e('Topics'); ?></th> <th><?php _e('Posts'); ?></th> </tr> <?php while ( bb_forum() ) : ?> <?php if (bb_get_forum_is_category()) : ?> <tr<?php bb_forum_class('bb-category'); ?>> <td colspan="3"><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td> </tr> <?php continue; endif; ?> <tr<?php bb_forum_class(); ?>> <td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td> <td class="num"><?php forum_topics(); ?></td> <td class="num"><?php forum_posts(); ?></td> </tr> <?php endwhile; ?> </table> <?php endif; // bb_forums() ?> -
- Posted 2 years ago #
I do it with a similar function:
http://www.finalwebsites.com/forums/topic/how-to-hide-sub-forums-on-the-main-page
-
You must log in to post.