WordPress.org

Ready to get started?Download WordPress

Forums

Sorting of wp_list_pages (2 posts)

  1. falke
    Member
    Posted 8 years ago #

    I am using a theme that calls this function:
    <?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>

    The result is sorted alphabetically... is it possible to have it sorted by the pageorderfiled or id or in any other way.

    regards/falke

  2. MichaelH
    Member
    Posted 8 years ago #

    Check the sort_column parameter in this Codex Article Template_Tags/wp_list_pages.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags