Product support

Get help in the plugin support forum.

  • Added on Feb 6, 2017
  • Current version: 1.0.1
  • Compatibility
    October CMS v3.x not tested
    October CMS v2.x not tested
    October CMS v1.x use latest
  • Created by


The plugin includes a component for displaying links to the next and previous blog posts based on current post for RainLab Blog.

Just include the component in your post page

{% component 'nextAndPrev' %}

You can set a category filter,

  • Current post category
    • The Next / Prev post will be from the same category of the current post
  • No category filter
    • The component will display the Next / Previous post directly from the database
  • Category from your own cataloge
    • The Next / Prev post will be from the selected category

Help and support

If you find some bugs or have questions, you can leave a message in the forum or GitHub

  • Found the plugin useful on 23 Feb, 2021

    There is a rather simple work around for Jarosław Turowski's issue with this plugin. You just need to modify the getNP() function to access the published_at attribute of the current post and order the post through that. Not sure why they decided to go through the postid. Still a useful head start.

  • Found the plugin useful on 25 Sep, 2020

    Almost perfect. I noticed only one disadvantage: the order of posts is not sorted after the publication date, but after the id of the post. This means that if you add an entry with an earlier date, the order will not be maintained.

    It would be worth improving it.

  • Found the plugin useful on 9 Feb, 2017

    Don't install via update and plaguins

  • author

    Replied on 9 Feb, 2017

    Hi, if you install this plugin using Backend - Updates - Plugins you need to install too the Twig Extensions plugin.


  • Found the plugin useful on 7 Feb, 2017

    Very cool! Works.Thank you!

  • author

    Replied on 9 Feb, 2017

    Thanks for your review!


First version of NextPrevPost

Feb 04, 2017