Wordpress WordTube Pagenavi help?
<?php get_header(); ?>
<div id="content">
<div class="postsbody">
<?
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
?>
<div class="ads1">
<?php include (TEMPLATEPATH . '/adsense/adsense468-15.php'); ?>
</div>
<div class="featured">
<h2>Latest Videos</h2>
<div style="padding:15px 0 15px 20px;">
<?php $recent = new WP_Query("cat=-<? echo $wt_featured; ?>&showposts=12"); while($recent->have_posts()) : $recent->the_post();?>
<div class="videopart">
<div class="thumbnail">
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><img src="<?php echo get_post_meta($post->ID, "thumb", true); ?>" width="120" height="90" alt="<?php the_title(); ?>" /></a>
</div>
<div class="fpost">
<h3><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
<h4><p><?php echo time_ago(); ?> &n bsp;
<?php if(function_exists('the_views')) { the_views(); } ?></p></h4>
<p><?php if(function_exists('the_ratings')) { the_ratings(); } ?></p>
</div>
</div>
<?php endwhile; ?>
</div>
</div>
<div class="navigation">
<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
</div><br><br>
<div class="ads2">
<?php include (TEMPLATEPATH . '/adsense/adsense468-60.php'); ?>
</div>
</div>
</div>
<?php get_footer(); ?>
Click Here To Start