Making WordPress.org

Opened 6 years ago

Closed 6 years ago

#1595 closed enhancement (fixed)

Link to the next page in handbooks without a "Table of Contents" menu

Reported by: ocean90 Owned by: coffee2code
Milestone: Priority: normal
Component: Handbooks Keywords: needs-patch


See #425 and https://wordpress.slack.com/archives/meta/p1455577722000016.

Sites like make/core, make/polyglots, make/meta or make/community don't have a "Table of Contents" menu, instead they are using the Handbook Pages widget which uses WP_Widget_Pages.

Change History (2)

#1 @coffee2code
6 years ago

  • Owner set to coffee2code
  • Status changed from new to accepted

#2 @coffee2code
6 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 2566:

Handbook plugin: Add show_nav_links() template tag that is aware of the technique employed for that particular handbook for ordering pages.

Handbooks can use either the packaged Handbook Pages widget or a custom menu widget to order its pages. The new template tag detects which is in use and generates the navigation links accordingly.

Fixes #1595.

Note: See TracTickets for help on using tickets.