Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#14917 closed defect (bug) (worksforme)

wp_list_pages offset parameter not working

Reported by: milanmk Owned by:
Milestone: Priority: normal
Severity: major Version: 3.0.1
Component: Menus Keywords:
Focuses: Cc:


The offset parameter should be working as of WP 2.8 but its not working.

Change History (2)

#1 @hakre
11 years ago

  • Keywords reporter-feedback added; wp_list_pages offset removed

Please provide steps to reproduce and write down what is the expected output? What do you see instead?

#2 @ocean90
11 years ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

The offset parameter works when number parameter is set too, see post.php#L2335.

<?php wp_list_pages('number=2&offset=1'); ?> will work.

Note: See TracTickets for help on using tickets.