WordPress.org

Support

Support » How-To and Troubleshooting » Limit number of child pages listed

Limit number of child pages listed

  • I need to limit the number of child pages listed, the call creating the list is:
    <?php wp_list_pages('child_of=868&sort_column=post_title&title_li=') ?>
    I tried this:
    <?php wp_list_pages('child_of=868&number=3&sort_column=post_title&title_li=') ?>
    but the entire list disappeared, so can anyone tell me how to write the parameter limiting the list to a certain number?
    thanks
    JSC

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Limit number of child pages listed’ is closed to new replies.