my code is this (1 post)

  1. wpwp14
    Posted 2 years ago #

    hi i want use this plugin , my site show the navigation bar but when i am click page 2 but i see the same articles !!
    i read the instruction here but it does not help me .

    my code is this :
    <?php get_header(); ?>
    <div class="center">
    <?php include(TEMPLATEPATH."/last-p.php");?>

    <?php include(TEMPLATEPATH."/rside.php");?>

    <div class="main">

    <div class="post" style="width:470px; padding:10px; margin-bottom:15px;">
    <div class="ptitle"><h2>Last news</h2></div>
    $recent = new WP_Query("cat=2931");
    while($recent->have_posts()) : $recent->the_post();
    <div class="rand-p" style="width:221px; margin:0 5px;">
    <?php the_post_thumbnail(array(60,60), array ('class' => 'alignleft')); ?><?php the_title(); ?><?php if($date_post==$date){echo '<font color="red"> new </font>';} ?>

    <?php endwhile; ?>
    <?php query_posts( array( 'cat' => 2931, 'paged' => get_query_var('paged') ) ); ?>
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }?>



    <?php include(TEMPLATEPATH."/l-side.php");?>
    <?php get_footer(); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.