• I’m using a custom page template with the following code, but when I press older or newer entries the page doesnt update (however it does change the URL)

    <ul>
    <?php query_posts('cat=11'); while (have_posts()) : the_post(); ?>
    <li>
    CONTENT
    </li>
    <?php endwhile; ?>
    </ul>
    
    <ul>
    <li><?php next_posts_link('&laquo; Older Entries') ?></li>
    <li><?php previous_posts_link('Newer Entries &raquo;') ?></li>
    </ul>

    Anyone know why it’s not working properly and how I can fix this?

    (you can see the issue at https://www.wiredbristol.com/restaurants/)

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Pagination not working on custom template?’ is closed to new replies.