Child Page Tools
Tools to manage navigation and 'progress' across a set of sibling WordPress pages.
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/hughc/wp-child-page-tools/archive/refs/heads/master.zipReadme
WordPress Child Page tools
overview
A WordPress plugin exposing 3 Gutenberg blocks
- Next / Previous sibling page links
- Progress indicator block ( x/y to monitor position amongst siblings)
- parent page title block
All calculations of the current page (for progress) and next / prev pages are based on finding an array of 'sibling' pages (ie those sharing a common parent), sorted by menu order, and determining the next / prev page to link to. This means you can use a plugin like Simple Page Ordering to arrange pages in a menu order, and then use that order to navigate between then
Sibling resolution rules
- If the current page has a parent, siblings = all child pages of that parent (parent page itself is excluded).
- If the current page is top-level (no parent), siblings = all other top-level pages.
- Siblings are sorted by
menu_order ASC, thenID ASCas tiebreaker. - If the current page is first or last in the sequence, the corresponding block hides (renders nothing).
Next prev block
UI options are
- Direction: (next / previous)
- Text
- Icon
Progress block
Progress is displayed as an x / y string with a configurable text template using {current} and {total} tokens.
Default template: {current} / {total}.
This plugin was written by Qwen3.6-plus under my iterative prompting, testing and debugging (although the initial implementations were all quite good).