Need help? Check out our Support site, then

How to limit number of menu items shown

  1. I am currently developing a WordPress theme and I need to limit the number of pages that a menu lists.


    <?php wp_list_pages('title_li=&sort_column=menu_order'); ?>

    I need to limit the pages that list in the menu to only list the first 5 pages, is that possible?

    The blog I need help with is

  2. The blog you specified at does not appear to be hosted at

    This support forum is for hosted blogs only. If you have a self-hosted WordPress blog you need to seek help at the forums, not here.

    If you don't understand the difference, you may find this information helpful.

Topic Closed

This topic has been closed to new replies.

About this Topic