Forums
-
- Forum
- Posts
-
- Installation
- 27,631
- Troubleshooting
- 60,564
- Themes
- 10,191
- Plugins
- 14,981
- Requests & Feedback
- 14,607
- Showcase
- 3,238
-
Although I havn’t tested it but it should work:
<ul>
<?php
$count=0;
if ( $topics )
{
foreach ( $topics as $topic)
{
$doof = $topic->forum_id;
if ($doof=="1")
{
if($count<3)
$count++;
else
break;
?> <li><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a> | <?php topic_page_links(); ?></li>
<?php } } } ?>
</ul>
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS