Grow your CSS skills. Land your dream job.

Pagination and Next Post problem

  • # November 7, 2011 at 2:33 pm

    Hello,

    I cannot get my next post link to show up and the pagination appears to be not working properly

    < ?php

    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    query_posts("posts_per_page=2&cat=10&paged= . $paged");

    if (have_posts()) : while (have_posts()) : the_post(); ?>



    ">< ?php the_title(); ?>


    < ?php the_content(); ?>





    < ?php edit_post_link('Edit this entry.', '

    ', ''); ?>


    < ?php wp_reset_query(); ?>


    < ?php endwhile; endif; ?>
    < ?php next_posts_link('Older News'); ?>

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".