Ready to get started?Download WordPress


[resolved] Pagination showing same posts on all pages (2 posts)

  1. meredith1986
    Posted 1 year ago #

    When I click on page 2, it shows the same posts that are on page 1. I have read 20 different threads about this problem, but can't find a solution that works. This is my code:

    <?php global $paged;
    $bcat = get_option('of_blog_category');
    $bcatid = get_cat_id($bcat);
    'posts_per_page' => 5,
    'paged' => $paged
    )); ?>
  2. meredith1986
    Posted 1 year ago #

    I realized I was editing the wrong file. I had to remove

    <?php woo_pagenav(); ?>

    from my archives.php template.

Topic Closed

This topic has been closed to new replies.

About this Topic