Title: dttn's Replies | WordPress.org

---

# dttn

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

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

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Help with POSTID in a url, pleez!](https://wordpress.org/support/topic/help-with-postid-in-a-url-pleez/)
 *  [dttn](https://wordpress.org/support/users/dttn/)
 * (@dttn)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/help-with-postid-in-a-url-pleez/#post-916079)
 * Try
    <?php echo $post->ID ?>
 * instead of &$wp_query->post->ID
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [How can I change the order of comments with wp_list_comments](https://wordpress.org/support/topic/how-can-i-change-the-order-of-comments-with-wp_list_comments/)
 *  Thread Starter [dttn](https://wordpress.org/support/users/dttn/)
 * (@dttn)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/how-can-i-change-the-order-of-comments-with-wp_list_comments/#post-941552)
 * Thanks! I wasn’t aware that there’s an option for that in the admin cp.
 * Thanks again.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Using $post in foreach loop breaks comments on single.php](https://wordpress.org/support/topic/using-post-in-foreach-loop-breaks-comments-on-singlephp/)
 *  [dttn](https://wordpress.org/support/users/dttn/)
 * (@dttn)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/using-post-in-foreach-loop-breaks-comments-on-singlephp/#post-848487)
 * I added
 *     ```
       <?php foreach($posts as $post) :?>
       <?php endforeach; ?>
       ```
   
 * and everything works the it should.
 * this is the code I use
 *     ```
       <?php foreach($myposts as $post) :?>
        <ul><li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li></ul>
       <?php endforeach; ?>
       <?php foreach($posts as $post) :?>
       <?php endforeach; ?>
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [cat=x string in post query causes frontpage to go blank!!](https://wordpress.org/support/topic/catx-string-in-post-query-causes-frontpage-to-go-blank/)
 *  Thread Starter [dttn](https://wordpress.org/support/users/dttn/)
 * (@dttn)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/catx-string-in-post-query-causes-frontpage-to-go-blank/#post-924866)
 * No fix yet but this plugin did the job for me.
    [http://wordpress.org/extend/plugins/simply-exclude/](http://wordpress.org/extend/plugins/simply-exclude/)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [cat=x string in post query causes frontpage to go blank!!](https://wordpress.org/support/topic/catx-string-in-post-query-causes-frontpage-to-go-blank/)
 *  Thread Starter [dttn](https://wordpress.org/support/users/dttn/)
 * (@dttn)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/catx-string-in-post-query-causes-frontpage-to-go-blank/#post-924837)
 * Yes seems like the problem in the ticket is the same as mine

Viewing 5 replies - 1 through 5 (of 5 total)