Wordpress help please help me any php professional

Discussion in 'PHP' started by strgraphics, Aug 13, 2009.

  1. #1
    In all home.php

    it starts with <?php while($recent->have_posts()) : $recent->the_post();?>


    in this case page numbers plugin working 100% by puting

    <?php if(function_exists('wp_page_numbers')) { wp_page_numbers($start, $end); } ?>

    ---------------------------------------------------------------

    But if i start home.php file with,

    <?php $recent = new WP_Query("cat=1&showposts=3"); ?>
    <?php while($recent->have_posts()) : $recent->the_post();?>


    page numbers plugin appearing, but if i clicked on 2nd page it again appearing 1st page


    how can i resolve plz help me
     
    strgraphics, Aug 13, 2009 IP