• tenetor

    (@tenetor)


    Hi all

    My blog is https://www.elfuturodeloslibros.com.ar , at the very end you′ll find the “Anteriores” link created with posts_nav_link, but the /page/2 link does not work, it always goes to the first page.

    Is it a theme problem? I see it working fine in others.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • abelafonte

    (@abelafonte)

    I don’t know if I was hallucinating, but I know posts_nav_link was working for me earlier this week. Now, I’m having the same problem you have.

    In my search, I found this thread, but it’s not relevant for 2.3.

    I’m eagerly awaiting an answer from SOMEBODY! But, from the looks of it, we’re in for a long wait.

    abelafonte

    (@abelafonte)

    Tenetor,

    I finally found a thread that got mine working. I had to change the function used to query posts.

    <?php
    if( is_home() ) {
    $page = (get_query_var('paged')) ? get_query_var('paged') : 1;
    query_posts("cat=3&showposts=2&paged=$page");
    }
    ?>

    Only I took all the arguments out that I don’t need, and left paged=$page

    It came from this thread https://www.ads-software.com/support/topic/38210?replies=14

    abelafonte

    (@abelafonte)

    Here is a simpler php call that I’ve found works as well

    <?php posts_nav_link(' &bull; ', __('&laquo; Newer Entry'), __('Older Entry &raquo;')); ?>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Help with posts_nav_link, does not work’ is closed to new replies.