Forums
-
- Forum
- Posts
-
- Installation
- 28,244
- Troubleshooting
- 61,694
- Themes
- 10,301
- Plugins
- 15,197
- Requests & Feedback
- 14,819
- Showcase
- 3,252
-
you can use this
$topics = get_latest_topics( $forum_id);
but this will give you number of topics/page that you set in your config
to get just 10 topics from the forum
$topics = $bbdb->get_results("SELECT * FROM $bbdb->topics WHERE forum_id = $forum_id ORDER BY topic_time DESC LIMIT 0,10")
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS