Forums
-
- Forum
- Posts
-
- Installation
- 26,342
- Troubleshooting
- 56,520
- Themes
- 9,856
- Plugins
- 14,387
- Requests & Feedback
- 14,131
- Showcase
- 3,213
-
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