WordPress.org

Ready to get started?Download WordPress

Forums

P2
[resolved] Sort posts by latest comments? (4 posts)

  1. tomhaegler
    Member
    Posted 1 year ago #

    Hello

    I want to show the P2 Posts by latest comments - as Facebook does it.
    Has anybody done this already? Sorry, I'm not that good at coding...

    cheers
    tom

  2. ThomNagy
    Member
    Posted 1 year ago #

    +1

  3. tomhaegler
    Member
    Posted 1 year ago #

    SOLVED: install plugin "filter by comments" and add code line

    <?php query_posts( 'orderby_last_comment=1&paged=' . $paged); ?>

    above the "loop"

  4. tomhaegler
    Member
    Posted 1 year ago #

    sorry, not "orderby_last_comment" --> "orderby_last_activity"

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.