• Resolved tanwald

    (@tanwald)


    hello,

    there was a quite similar thread on a wordpress.com (my blog is on a private server)forum but the outcome was not satisfying for me. i want the posts with the most recent comments on the top of my frontpage, no matter how old the post itself is. i have not found anything practicable yet.

    thanks

Viewing 1 replies (of 1 total)
  • Thread Starter tanwald

    (@tanwald)

    ok, now that i’ve posted this topic and googled again, i found the answer as a “related site” of my own post. http://wordpress.org/support/topic/299739

    there i found the reference to a plugin that almost satisfied my needs. I just put all of its functions in an if-statement,

    $forum = $_GET ['forum']
    if ($forum == 1) {
    ...plugin source
    }

    so that i could place a link to switch to that “forum view”.

    $forum = $_GET['forum'];
    if ($forum == 1) {
    	<a href="index.php?kill_sbc=true" title="Sorted by Date DESC" style="margin-left:10px">Default View</a>';
    } else {
            <a href="index.php?forum=1" title="Sorted by latest Comments" style="margin-left:10px">Forum View</a>';
    }

    so maybe the next one searching for such a solution will succeed earlier. it’s not the most elegant way but it works 😉

    cheers

Viewing 1 replies (of 1 total)

The topic ‘post with most recent comments first.’ is closed to new replies.