Forums
-
- Forum
- Posts
-
- Installation
- 28,423
- Troubleshooting
- 62,492
- Themes
- 10,427
- Plugins
- 15,336
- Requests & Feedback
- 14,959
- Showcase
- 3,256
-
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>