[Plugin: WP-PageNavi] also displaying only the first page
-
<div id=”inner-main-content”>
<?php while (have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1>
<?php endwhile;?>
<? $communityservice = “community-service”; ?>
<?php query_posts(‘category_name=’.$communityservice.’&posts_per_page=1′); ?>
<?php while (have_posts()) : the_post(); ?>
<div class=”news-container”>
<?php the_post_thumbnail(‘updates-thumb’); ?>
<div class=”news-intro” style=”float:left; margin-left:10px; width:350px;”>
” class=”link-title”><?php the_title(); ?>
<p style=”font-size:11px; margin:2px 0px 2px 0px;”><i>Posted <?php echo get_the_date(); ?> at <?php echo get_the_time(); ?></i></p>
<p style=”line-height:17px;”>
<?php short_excerpt(180) ?>
” class=”read-more”>read more <span class=”meta-nav”>→</span>
</p></div>
</div>
<div class=”clear”></div><hr>
<?php endwhile;?>
<?php wp_pagenavi(); ?>
</div>
- The topic ‘[Plugin: WP-PageNavi] also displaying only the first page’ is closed to new replies.