WordPress plugin intelligence profile

Page navigation by menu

Create navigation to next/previous pages similar to navigation for posts. Previous and next pages are determined from menu.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.9
Current version1.1.1
WordPress coverageTested up to WordPress 6.9
Minimum stackWP 4.9 · PHP 5.6
Directory statusactive
Last directory update5 Dec 202511mo ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Page navigation by menu version 1.1.1 as active, updated 11mo ago and tested up to WordPress 6.9.

Overview

About this plugin

Plugin to support navigation by pages – similar to built in function the_posts_navigation() for posts.

Pages in navigation are filtered by provided menu (Primary menu by default) and sorted in the same order as in menu.

By default, main menu is used, but different menu could be used by calling function for displaying with different menu as parameter.

Disclaimer!

This plugin works only with classic themes. With FSE themes it will not work, since it depends on classic menus.

Usage

Basic

Just install and call the_pages_navigation() in your php template. There is also a get_the_pages_navigation() function which returns string with same content.

Arguments to these functions could be supplied, all optional.

* $menu – a menu ID, slug, name, or object (WP_Term) for which to show pages

* $start_position – start position from which position in menu to start navigation

$end_position – to which position in menu to show navigation

Advanced

There are filters that can help to customize plugin output.

Change menu filter

apply_filters('page_nav_menu', $default_menu)

Filters menu used for navigation.

  • $default_menu – a menu ID, slug, name, or object (WP_Term)

Arrow filters

apply_filters( 'page_nav_left_arrow', $HTML ) apply_filters( 'page_nav_right_arrow', $HTML )

Filters arrow output.

  • $HTML – HTML of arrow, coded as SVG, img or something else.

Filter output

apply_filters( 'arrow_wrapper', $HTML_output, $left, $enabled, $output_image, $output_link, $output_div, $output_text )

Filters whole HTML output.

  • $HTML_output – as the name says
  • $left – output is for left side (previous)
  • $enabled – navigation on that side is enabled
  • $output_image – html of arrow image
  • $output_link – URL of link to which arrow leads
  • $output_div – wrapper of text besides arrow
  • $output_text – text besides arrow

Examples of filtering

622 1v30z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>'; } );

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • menu
  • navigation
  • next
  • page
  • previous
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.9
Minimum requirementsWordPress 4.9 · PHP 5.6
Update activity5 Dec 202511mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.