Order posts by number of comments ASC (3 posts)

  1. Miroslav
    Posted 7 years ago #

    Is there a plugin that would help to custom-order posts by the number of comments in ascending order?

    I found the Most Popular plugin, which does this in a descending order, but I would like to have the posts with the least comments displayed, first.

    Alternatively, what would be the PHP code for this? Thanks!

  2. Miroslav
    Posted 7 years ago #

    The Most Commented plugin contains a command for ordering posts to display as DESC. Can I simply change it to ASC for it to work in the opposite order (least commented posts, first)? Thanks!

  3. Miroslav
    Posted 7 years ago #

    Just reporting back... changing DESC to ASC worked with the above plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic