Ready to get started?Download WordPress


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

  1. kajrietberg
    Posted 4 years ago #

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


  2. pomcat
    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