here is my loop
<?php
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts("cat=4&posts_per_page=10&paged=$paged");
?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post<?php sticky_class(); ?>" id="post-<?php the_ID(); ?>" >
<h1 class="mma"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1>
<hr></hr>
<h2 class="mma"><?php the_time('F jS, Y') ?> at <?php the_time('g:i') ?> EST - by <?php the_author()?></h2>
<div class="resizer">
<?php the_content(' ...Continue Reading'); ?>
</div>
<div class="floatright">
<img src="<?php bloginfo('template_directory'); ?>/images/balloon.png" alt="Comment(s)" />
<?php
if (function_exists('Comment_Handler')) {
$vbridge = Comment_Handler($post->ID);
global $vbulletin;
}
if ($vbridge[id] > 0) {
?>
<a style="text-align: right;" href='<?php echo get_option('vbb_VBURL') ?>/showthread.php?t=<?php echo $vbridge[id] ?>'><?php echo intval($vbridge[count]) ?> Comment(s)</a>
<?php
}
?>
</div>
</div>
<?php endwhile; ?>
<?php else: ?>
and here is my plugin code
...
wp_reset_query();
if(is_home())
{
return '<div id="'.$mediaspace.'">Please Refresh or Download <a href="https://get.adobe.com/flashplayer/" target="_blank">Adobe Flash Player</a></div>
<script type="text/javascript">
var so = new SWFObject("'.$swfplayer.'","'.$random.'","'.$width.'","'.$height.'","9","#ffffff");
so.addParam("allowfullscreen","true");
so.addParam("allowscriptaccess","always");
so.addParam("wmode","opaque");
so.addVariable("screencolor","#000000");
so.addVariable("file","'.$flvurl.'");
so.addVariable("skin","'.$swfskin.'");
so.addVariable("type", "video");
so.write("'.$mediaspace.'");
</script>';
}
else
{
return '<div id="'.$mediaspace.'">Please Refresh or Download <a href="https://get.adobe.com/flashplayer/" target="_blank">Adobe Flash Player</a></div>
<script type="text/javascript">
var so = new SWFObject("'.$swfplayer.'","'.$random.'","'.$width.'","'.$height.'","9","#ffffff");
so.addParam("allowfullscreen","true");
so.addParam("allowscriptaccess","always");
so.addParam("wmode","opaque");
so.addVariable("plugins", "ltas");
so.addVariable("ltas.cc", "code");
so.addVariable("screencolor","#000000");
so.addVariable("file","'.$flvurl.'");
so.addVariable("skin","'.$swfskin.'");
so.addVariable("type", "video");so.addVariable("screencolor","#000000");
so.write("'.$mediaspace.'");
</script>';
}
}