WordPress.org

Ready to get started?Download WordPress

Forums

Un-alphabetizing Menu Items (4 posts)

  1. iEthan
    Member
    Posted 5 years ago #

    So, I have a menu that is represented by this code:

    <ul id="navigation" class="clearfix">
    <?php wp_list_pages('title_li'); ?>
    </ul>

    But I don't want it to alphabetize it. How would I stop it from doing that?

  2. talyx1
    Member
    Posted 5 years ago #

    If these are pages, then there is a place in the admin panel where you can specify an order by putting in a number for each page.

  3. iEthan
    Member
    Posted 5 years ago #

    Thank you!

  4. zeniph
    Member
    Posted 5 years ago #

    wp_list_pages('sort_column=menu_order')

    will order them the same as how they display on backend

Topic Closed

This topic has been closed to new replies.

About this Topic