WordPress.org

Make WordPress Core

Opened 6 years ago

Last modified 15 months ago

#10558 new enhancement

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

Reported by: simonwheatley Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: has-patch
Focuses: template Cc:

Description

The attached patch does exactly that.

Attachments (1)

wp_link_pages-both.diff (4.4 KB) - added by simonwheatley 6 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 (4)

@simonwheatley6 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 @scribu6 years ago

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

comment:2 @ryan5 years ago

  • Milestone changed from 2.9 to Future Release

comment:3 @nacin15 months ago

  • Component changed from Template to Posts, Post Types
  • Focuses template added
Note: See TracTickets for help on using tickets.