How to limit number of menu items shown

  • Author
    Posts
  • #326649

    jordashtalon
    Member

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

    e.g.

    <?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 psdesignzone.com.

    #326809

    sambauers
    Member

    The blog you specified at psdesignzone.com does not appear to be hosted at WordPress.com.

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

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

The topic ‘How to limit number of menu items shown’ is closed to new replies.