Skip to content
Sign in
Endless Posts Navigation icon

Endless Posts Navigation

Loops through your posts and pages in alphabetical order, with previous and next links that wrap around at both ends.

Not scanned yet WordPress plugin 100 installs

Install in

No install steps yet

Follow the steps on the source page.

It detects the post type where it is placed and provides endless navigation within the same category or taxonomy terms. You don’t need to manage the order: the plugin sorts the items alphabetically for the next and previous links.

When the visitor reaches the last item, “next” takes them back to the first one (and the other way round), which is why it is endless.

Ways to add the navigation

  • Template functions: epn_prev_post_link(true) and epn_next_post_link(true) in single.php, page.php or any custom post type template.
  • Shortcodes (for block themes, page builders and widgets): [epn_nav] for both links, or [epn_prev] and [epn_next] separately. Optional attributes: text="Older" and within_cat="no".
  • A the_content filter, see the plugin settings page for a ready to use snippet.

Settings

Previous / next texts, post titles instead of “previous” and “next”, and the sort order (post title or menu order).

Developers

  • epn_navigation_taxonomies filter: taxonomies used for the “same category” condition. Posts use categories, any other post type uses its public hierarchical taxonomies. Return an empty array to navigate within the whole post type.
  • epn_navigation_query_args filter: arguments of the query which collects the posts to loop through.
  • epn_link_html filter: final HTML of a previous/next link.

Mobile app

The settings can also be managed with the Endless Posts Navigation Android app. Open the QR code on the settings page and scan it with the app. The QR code works once and expires in two minutes, paired sessions can be disconnected from the settings page at any time.

Visit my blog and suggest good features which you want to see in this plugin.
Video Tutorials:

Endless Post Navigation – Normal:

Endless Post Navigation – Leakage:

License

This WordPress Plugin is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
any later version.

This free software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this software. If not, see http://www.gnu.org/licenses/gpl-2.0.html.

Written by Joobi from the project's own listing. See the source page

alphabetical navigationnext postpost navigationprevious postshortcode
24 Nov 2026
Version 2.4.1 released. Not scanned yet.

2.4.1

  • Improvement: clearer short description and plugin description, with corrected wording throughout the readme.
  • Improvement: tags updated to five relevant ones (post navigation, next post, previous post, alphabetical navigation, shortcode).
  • Fix: removed the non-standard “Tags” section and leftover placeholder text from the readme description.
  • Fix: upgrade instructions now use the correct plugin folder name.
  • Tested up to WordPress 7.1.

2.4.0

  • Security: any logged in user (a subscriber for example) could print the data of any post through a leftover debug parameter, and could generate mobile app QR codes. The debug code is removed and the QR code generation now requires an administrator and a nonce.
  • Security: the mobile app pairing is rebuilt. The QR secret is random, stored hashed, works once and expires in two minutes. The app exchanges it for a random login key (stored hashed) which the settings routes require. Pairing is rate limited, and a “Disconnect all sessions” button was added. Please pair the app again after updating.
  • Security: every output of the navigation links, settings page and QR modal is escaped, and the settings are sanitized with a whitelist.
  • Fix: apostrophes in the previous/next texts got a backslash on every save.
  • Fix: warnings when there was no post to navigate to, and a link pointing to the current post when it was the only one.
  • Fix: PHP 8.1+ deprecation notices in the bundled QR code library.
  • Fix: the QR code url now works without pretty permalinks.
  • Feature: shortcodes [epn_nav], [epn_prev] and [epn_next] for block themes, page builders and widgets.
  • Feature: custom post types navigate within their own hierarchical taxonomies, as the description always promised. See the FAQ and the epn_navigation_taxonomies filter.
  • Improvement: the QR code is drawn as an inline SVG, nothing is written to the plugin folder anymore.
  • Improvement: performance. Only the IDs are queried, the result is reused within the request, the scripts and styles load only where they are needed, and the plugin list is no longer read on every request.
  • Improvement: the bundled French, German and Spanish translations are loaded now, a .pot file is included and the new texts are translated.
  • Improvement: the plugin removes its options when it is deleted.
  • Improvement: the same sort order is guaranteed for posts with an identical title/menu order.
  • Developers: filters epn_navigation_taxonomies, epn_navigation_query_args and epn_link_html.
  • Tested up to WordPress 7.0.

2.3.0

  • Fix: Broken Access Control vulnerability in “api_update_settings” REST API endpoint. Unauthenticated users can no longer update plugin settings without proper nonce and capability checks. [Thanks to Legion Hunter / Patchstack][05/02/2026]
  • Improvement: Updated QR code generation to use cryptographically secure random hash.
  • Improvement: Removed insecure hardcoded login_key check and enforced proper nonce verification.
  • Enhancement: Admin QR code modal now returns JSON response for AJAX instead of echoing HTML directly.

2.2.8

  • Fix: Option data escaped but still lack of nonce check to prevent CSRF. [Thanks to SOPROBRO | Darius Sveikauskas / Patchstack][22/10/2024]

2.2.7

  • Fix: Reported Cross Site Request Forgery (CSRF) vulnerability. [Thanks to SOPROBRO | Darius Sveikauskas / Patchstack][17/10/2024]

2.2.6

  • Sort order related improvements made. [Thanks to Developers Web / @user-ki8wk9qf9y][29/01/2024]

2.2.5

  • Updated for WordPress version. [24/05/2023]

2.2.4

  • Updated version for WordPress. [07/09/2022]

2.2.3

  • Loop being within same category made optional. [Thanks to Dmitrii Shchelko][14/04/2022]

2.2.2

  • Added another implementation method through functions.php [Thanks to donthelosr][20/01/2022]

2.2.1

  • Updating for WordPress version.

2.2.0

  • Cannot declare class qrstr, because the name is already in use. Fixed. [Thanks to Rais Sufyan]

2.1.9

  • Android App introduced with lighter web version. [Thanks to Team Ibulb.Work]

2.1.8

2.1.7

  • Android App introduced. [Thanks to Team Ibulb.Work]

2.1.6

  • Languages revised. [Thanks to Rais Sufyan]

2.1.5

  • Languages added. [Thanks to Abu Usman]

2.1.4

  • Revised a few layout items.

2.1.3

  • Sanitized input and fixed direct file access issues.

2.1.2

  • Plugin is translatable.

2.1.1

  • Within category fix.

2.1.0

  • Post titles can be displayed instead of next and previous.

2.0

  • Front-end styles added.

1.1

  • Layout fixes.
10 Dec 2013Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)