Make WordPress Core

Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#10564 closed defect (bug) (invalid)

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

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

Description

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
15 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
14 years ago

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

Re-open with steps to reproduce.

#3 @nacin
14 years ago

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