WordPress.org

Ready to get started?Download WordPress

Forums

Comment Move
[resolved] Post list in alphabetic order (1 post)

  1. oreio
    Member
    Posted 2 years ago #

    I have lots of posts, and the default post sorting in the SELECT field from recent to oldest does not help much.

    To change it to alphabetical order is simple, just need to change a single line in the PHP file of the plugin.

    FROM:

    $posts = get_posts('numberposts=-1&post_type=post');

    TO:

    $posts = get_posts('numberposts=-1&post_type=post&orderby=title&order=ASC');

    http://wordpress.org/extend/plugins/comment-move/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic