Smarter Navigation
[resolved] issues with setting 1 post per page (2 posts)

  1. juergen82
    Posted 6 years ago #

    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


  2. scribu
    Plugin Author

    Posted 6 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Smarter Navigation
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic