bbPress Plugin Browser »

Topics Per Page (0.0.7)

  • Edit the top of the topics-per-page.php file to change the number of topics or posts you want on each kind of page

  • Add the topics-per-page.php file to bbPress' my-plugins/ directory

  • Activate plugin

  • If you'd like to add pagination (page numbers) on the front page, simply add to your front-page.php template <div class="nav"><?php front_page_pages(); ?></div> AFTER <?php endforeach; endif; // $topics ?> </table>

  • If you use rewrite slugs you MUST add the following rule to your .htaccess file

RewriteRule ^page/([0-9]+)/?$ /forums/?page=$1 [L,QSA]

anywhere before </IfModule> where /forums/ is the path to your bbpress install.