Title: tanwald's Replies | WordPress.org

---

# tanwald

  [  ](https://wordpress.org/support/users/tanwald/)

 *   [Profile](https://wordpress.org/support/users/tanwald/)
 *   [Topics Started](https://wordpress.org/support/users/tanwald/topics/)
 *   [Replies Created](https://wordpress.org/support/users/tanwald/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/tanwald/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/tanwald/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/tanwald/engagements/)
 *   [Favorites](https://wordpress.org/support/users/tanwald/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [post with most recent comments first.](https://wordpress.org/support/topic/post-with-most-recent-comments-first/)
 *  Thread Starter [tanwald](https://wordpress.org/support/users/tanwald/)
 * (@tanwald)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/post-with-most-recent-comments-first/#post-1255353)
 * 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](http://wordpress.org/support/topic/299739)
 * there i found the reference to a [plugin](http://wordpress.org/extend/plugins/sort-by-comments/)
   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)