• Resolved jorgemarsa

    (@jorgemarsa)


    In my index the previous entries shows twice (today until June 18th), but in the second page not any more. In my June archive shows only in the first page (until June 14th). And in my categories archives does not show at all. I do not understand what happens.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m not sure I understand the problem.

    On your *home* page you should be able to page back through all entries, but in monthly archives you can page back through that month alone. In categories, pagination only occurs for each category’s listings. Pagination is designed to defer to the query type.

    Thread Starter jorgemarsa

    (@jorgemarsa)

    That is the problem. My first post was on June 1th, and in my home page (index in this case) I am not able to back through more than 18th, in my monthly archive of June I am no able to back through more than 14th, and in each category does not show previous entries at all. I do not know why, and what to do.

    My address is lapizarra.org

    Thread Starter jorgemarsa

    (@jorgemarsa)

    I forgot to say that the blog is based on Default theme.

    Thread Starter jorgemarsa

    (@jorgemarsa)

    After a search, I fix the problem.

    It was than in the WordPress I download, in the Default theme, in the index.php and in the archive.php show this:

    <div class=”navigation”>
    <div class=”alignleft”><?php next_posts_link(‘« Previous Entries’) ?></div>
    <div class=”alignright”><?php previous_posts_link(‘Next Entries »’) ?></div>
    </div>

    I look in the Codex and found that it should be this:

    <div class=”navigation”>
    <div class=”alignleft”><?php posts_nav_link(”,”,’« Previous Entries’) ?></div>
    <div class=”alignright”><?php posts_nav_link(”,’Next Entries »’,”) ?></div>
    </div>

    Note diference between “php next_posts_link” and “php posts_nav_link”. Anyway, I don’t know what is the diference, but I can tell that I did the change and now my blog works. Resolve.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘next / previous entries’ is closed to new replies.