WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Sub Pages widget] Sub pages in Alfabetical order (2 posts)

  1. kajrietberg
    Member
    Posted 4 years ago #

    I would like the sub pages in alfabetical order. Is that possible?
    And how?

    http://wordpress.org/extend/plugins/subpages-widget/

  2. pomcat
    Member
    Posted 3 years ago #

    Hi Kajrietberg,

    Just in case you're still after this, I wanted this too, and hacked the plugin to get it.

    Go to plugins, and click on 'edit' to edit the plugin.

    Find the line that says:
    $output = wp_list_pages('sort_column=post_name'.$depthStr.'&title_li=&echo=0&child_of='.$rootPost->ID);

    Change menu_order into post_name.

    Hope that helps.

Topic Closed

This topic has been closed to new replies.

About this Topic