Forums
-
- Forum
- Posts
-
- Installation
- 28,529
- Troubleshooting
- 62,964
- Themes
- 10,453
- Plugins
- 15,408
- Requests & Feedback
- 15,048
- Showcase
- 3,252
-
Oops, my fault. Do exactly what you did but put
global $bb;
directly under the function line.
<?php
function front_page_topics() {
global $bb;
$bb->page_topics = 2;
}
add_action( ‘bb_index.php_pre_db’, ‘front_page_topics’ );
?>