Make WordPress Core

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#10564 closed defect (bug) (invalid)

wp_link_pages('next_or_number=next') does not work in index.php

Reported by: dancer Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.8
Component: Themes Keywords: reporter-feedback
Focuses: Cc:


Setting the parameter next_or_number=next in the function wp_link_pages in the index.php of a theme does not work. There is no HTML output to create the link to the next page. However, it does work in archive.php and single.php. On the other hand, the parameter value of next_or_number=number does work on all pages.

Change History (3)

#1 @scribu
9 years ago

  • Keywords reporter-feedback added

Are you sure you put the code inside The Loop?

Please post here the code you are using.

#2 @nacin
8 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Re-open with steps to reproduce.

#3 @nacin
8 years ago

  • Milestone Unassigned deleted
Note: See TracTickets for help on using tickets.