WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Display the most recently commented posts first (10 posts)

  1. Just Thomas Misund
    Member
    Posted 6 years ago #

    How do I change the order of the posts to display the most recently commented post first?

  2. Just Thomas Misund
    Member
    Posted 6 years ago #

    Bump... anyone?

  3. deuced
    Member
    Posted 6 years ago #

  4. Kafkaesqui

    Posted 6 years ago #

    You can't. At least, not through the standard mechanisms in WordPress.

    You can create a custom query that collects and displays the posts based on this and replacing The Loop with it's older cousin; but note this will leave off some functionality, for example pagination (next/previous posts).

    deuced, I believe dnusim is looking for a way to change the sort order of posts (assumedly on a blog's home page) based on those recently commented on. Not the order of the comments.

  5. deuced
    Member
    Posted 6 years ago #

    Whoops, sorry for this, i guess i missunderstood the question...

  6. Just Thomas Misund
    Member
    Posted 6 years ago #

    Thank you both for replying. Kafka read the question the way I meant to ask it. I will try to hardcode this. Just wanted to double check that I didn't set out to reinvent the wheel...

  7. Just Thomas Misund
    Member
    Posted 6 years ago #

    Moving towards something. Here's what I've come up with so far.

    Taking suggestions.

  8. Just Thomas Misund
    Member
    Posted 6 years ago #

  9. aliyazia
    Member
    Posted 6 years ago #

    Hi all,

    I have a problem which u ppl might help. im developing english and arabic website using wordpress. i have created to home page one with arbic layput and one with english layout. The pages part are working fine. but when it comes to category...i have one arhive.php to display categories in english. but how should i display arabic categories??? if a create another archive_ar.php ..which i have done for pages... i cant select the archive_ar.php from admin of post write.

    I hope im clear.....

  10. aliyazia
    Member
    Posted 6 years ago #

    can any body help me ...plzzzzzzzzz

Topic Closed

This topic has been closed to new replies.

About this Topic