page_topics = 3; } // This is what changes it only on the front page. add_action( 'bb_index.php_pre_db', 'front_page_topics' ); ?>