Title: addnon's Replies | WordPress.org

---

# addnon

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Display posts ONLY if date is in the past/future](https://wordpress.org/support/topic/display-posts-only-if-date-is-in-the-pastfuture/)
 *  Thread Starter [addnon](https://wordpress.org/support/users/addnon/)
 * (@addnon)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/display-posts-only-if-date-is-in-the-pastfuture/#post-2504092)
 * Okay so I think I came up with a solution. This is for displaying only future
   events. I’m not sure how precise it is, but it works. If someone has a better,
   more professional solution (i.e – a function) please let me know.
 * `<?php if (strtotime($post->post_date) > strtotime('-1 days')): ?>`
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Using old version of wordpress](https://wordpress.org/support/topic/using-old-version-of-wordpress/)
 *  Thread Starter [addnon](https://wordpress.org/support/users/addnon/)
 * (@addnon)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/using-old-version-of-wordpress/#post-2274690)
 * Yes it will be.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Trying to install WP on university hosted directory](https://wordpress.org/support/topic/trying-to-install-wp-on-university-hosted-directory/)
 *  Thread Starter [addnon](https://wordpress.org/support/users/addnon/)
 * (@addnon)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/trying-to-install-wp-on-university-hosted-directory/#post-2123148)
 * Thanks for the reply.
 * I installed Putty and I was able to connect via SSH but I don’t know the MySQL
   database name. Guess I’m stuck for now?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Div is stretching more than necessary](https://wordpress.org/support/topic/div-is-stretching-more-than-necessary/)
 *  Thread Starter [addnon](https://wordpress.org/support/users/addnon/)
 * (@addnon)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/div-is-stretching-more-than-necessary/#post-2122663)
 * Thanks for the tip. What I ended up doing was replacing the body background with
   the footer color and then created a “faux” gray background using an image. I’m
   still curious to know the answer as to why the div was streching so much…
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Div is stretching more than necessary](https://wordpress.org/support/topic/div-is-stretching-more-than-necessary/)
 *  Thread Starter [addnon](https://wordpress.org/support/users/addnon/)
 * (@addnon)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/div-is-stretching-more-than-necessary/#post-2122460)
 * Layout code:
    [http://pastebin.com/xCdX9j2r](http://pastebin.com/xCdX9j2r)
 * CSS:
    [http://pastebin.com/wt5xN5LS](http://pastebin.com/wt5xN5LS)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [PHP noob..need help displaying comment ID](https://wordpress.org/support/topic/php-noobneed-help-displaying-comment-id/)
 *  Thread Starter [addnon](https://wordpress.org/support/users/addnon/)
 * (@addnon)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/php-noobneed-help-displaying-comment-id/#post-2114933)
 * Nevermind, fixed it:
 *     ```
       <?php
       $idx = 'post_id='.get_the_ID();
       $comments = get_comments($idx);
       foreach($comments as $comment) :			echo($comment->comment_ID);
       endforeach;
       ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Loop not working. Nothing is showing up.](https://wordpress.org/support/topic/loop-not-working-nothing-is-showing-up/)
 *  Thread Starter [addnon](https://wordpress.org/support/users/addnon/)
 * (@addnon)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/loop-not-working-nothing-is-showing-up/#post-2025156)
 * Thank you! I’m out of it today!

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