Support » Plugin: Smarter Navigation » [Plugin: Smarter Navigation] issues with setting 1 post per page

  • Resolved juergen82

    (@juergen82)


    I appreciate this plugin. My articles have multiple
    categories. Initial category is set via GET ?cat=XX

    on archive.php i can see only the first post, links are empty, due
    to the fact that the code reads

    ….
    if ( !is_single() ){

    return false;
    }

    on single.php everything is okay…

    wrong usage ?

    please help

    juergen

Viewing 1 replies (of 1 total)
  • Plugin Author scribu

    (@scribu)

    Yes, wrong usage. previous_post_smart() replaces previous_post_link(), whereas on archive.php you should be using previous_posts_link().

    But why are you setting a single post per archive page anyway?

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Smarter Navigation] issues with setting 1 post per page’ is closed to new replies.