navigation not working
-
hi,
i dnt know y but navigatio on my sites category page is not working ..it is showing the same articles
here is the cat page link :
https://karomasti.com/telugu-cinema/category/reviews/
below is the code tht i have used ..
<?php global $theme_options, $newspaper; ?> <?php get_header(); ?> <div id="innerLeft"> <div id="entryMeta"> <h2 class="singlePageTitle">Tollywood <?php single_cat_title(); ?></h2> </div> <br /><div id="innerContent"> <div> <br /> </div><ul class="cat-list"> </ul><h2 class="singlePageTitle">Latest Movie Reviews</h2> <br /> <div class="post"> <?php $myqueryname = $wp_query; $wp_query = null; $wp_query = new WP_Query(); $wp_query->query('cat=11&showposts=6'); if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="photoFrame"> <div class="photoFrameInner"> <a href="<?php the_permalink() ?>"><img src="<?php $values = get_post_custom_values("thumb"); echo $values[0]; ?>" width="234" height="200" alt="<?php the_title(); ?>" /></a> <h2 class="titlePhotoCat"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> <br /><div class="postinfoPhotoCat"><?php the_time('F j, Y'); ?> | <a href="<?php the_permalink() ?>" rel="bookmark"><?php echo $newspaper["permalink"]; ?></a></div> </div> </div> <?php endwhile; else : endif; ?> <div class="clear"></div> </div> <div class="navigation"> <div class="previous"><?php posts_nav_link('','','« '.$newspaper["previous"]) ?></div> <div class="next"><?php posts_nav_link('',''.$newspaper["next"].' »','') ?></div> <div class="clear"></div> </div> </div><!-- Enf of innerContent --> <div id="midSidebar"> <div id="midSidebarInner"> <?php include (TEMPLATEPATH . '/innerMidSidebar.php'); ?> </div> </div><!-- End of midSidebar --> <div class="clear"></div> </div><!-- End of innerLeft (Content + Middle sidebar) --> <div id="rightSidebar"> <?php include (TEMPLATEPATH . '/innerRightSidebar.php'); ?> </div><!-- End of rightSidebar --> <div class="clear"></div> <?php get_footer(); ?> </div><!-- enf od wrapper --> </body> </html>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘navigation not working’ is closed to new replies.