• mattbettiol

    (@mattbettiol)


    So as of right now, if I click the next button to go to the next page where my other posts pretaining to a certain category should be, I get page not found.

    This is right after my col01 class:

    <?php if (have_posts()) : ?>
        <?php query_posts('showposts=2'); ?>
    	<?php while (have_posts()) : the_post(); ?>

    and I have this lower down:

    <div id="pageControls"><span class="previous"><?php previous_posts_link('Previous') ?></span><span class="next"><?php next_posts_link('Next') ?></span></div>

    When I click next to go to the next page to see my posts for the category, it go to https://mywebsite.com/category/news/page/2/ but display NOTHING(404 page)

  • The topic ‘category.php next_posts_link HELP’ is closed to new replies.