WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#10558 new enhancement

wp_link_pages could allow for both page numbers and next/prev links

Reported by: simonwheatley Owned by:
Priority: normal Milestone: Future Release
Component: Template Version:
Severity: normal Keywords: has-patch
Cc:

Description

The attached patch does exactly that.

Attachments (1)

wp_link_pages-both.diff (4.4 KB) - added by simonwheatley 4 years ago.
Diff to introduce an argument of both into wp_link_pages whereupon WP would use both next/prev links AND the page number links (Edited to introduce spacing rather than have the links hard against one another

Download all attachments as: .zip

Change History (3)

simonwheatley4 years ago

Diff to introduce an argument of both into wp_link_pages whereupon WP would use both next/prev links AND the page number links (Edited to introduce spacing rather than have the links hard against one another

comment:1 scribu4 years ago

  • Milestone changed from Unassigned to 2.9
  • Type changed from defect (bug) to enhancement

comment:2 ryan4 years ago

  • Milestone changed from 2.9 to Future Release
Note: See TracTickets for help on using tickets.