Title: romanonly's Replies | WordPress.org

---

# romanonly

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [the_date() is not appearing on my posts.](https://wordpress.org/support/topic/the_date-is-not-appearing-on-my-posts/)
 *  Thread Starter [romanonly](https://wordpress.org/support/users/romanonly/)
 * (@romanonly)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/the_date-is-not-appearing-on-my-posts/#post-1178477)
 * greenshady and doc4,
 * Thank you so much for your help, switching to the_time() solved the problem and
   the date is appearing perfectly now!
 * Awesome!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [the_date() is not appearing on my posts.](https://wordpress.org/support/topic/the_date-is-not-appearing-on-my-posts/)
 *  Thread Starter [romanonly](https://wordpress.org/support/users/romanonly/)
 * (@romanonly)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/the_date-is-not-appearing-on-my-posts/#post-1178449)
 * doc4 and ryans149,
 * I tried adding the if and endif statements but I’m still not getting a date. 
   This is actually the SECOND loop in the document, being exactly identical, other
   than calling a different category and using slightly different formatting. Here’s
   what the code looks like right now including BOTH of the loops:
 *     ```
       <div class="news">
           <div class="divtitle">
            <h2>News</h2>
           </div>
   
           <br />
   
           <?php query_posts('category_name=News&showposts=1'); ?>
           <?php if (have_posts()) : ?>
           <?php while (have_posts()): the_post(); ?>
   
           <h3><?php the_title(); ?></h3>
           <div style="font-family: tahoma, geneva; color: #ffffff; font-size: 15px; margin-left: 20px;">
           <?php the_content(); ?>
           </div>
           <hr width=95%" size="1" color="#ffffff" align="center">
           <p style="font-family: tahoma, geneva; color: #ffffff; font-size: 12px; margin-left: 20px;">Posted by <?php the_author(); ?> on <?php the_date(); ?>.</p>
   
           <?php endwhile; endif ?>
   
          </div>
   
          <div class="featphoto">
           <div class="divtitle">
            <h2>Featured Photo</h2>
           </div>
   
           <?php query_posts('category_name=featphoto&showposts=1'); ?>
           <?php if (have_posts()) : ?>
           <?php while (have_posts()): the_post(); ?>
   
           <h2><?php the_title(); ?></h2>
           <div style="text-align: center;">
           <?php the_content(); ?>
           </div>
           <p style="font-family: tahoma, geneva; color: #ffffff; font-size: 10px; margin-left: 20px;">Uploaded by <?php the_author(); ?> on <?php the_date(); ?>.</p>
   
           <?php endwhile; endif; ?>
   
          </div>
       ```
   
 * The date appears properly in the first loop, but the second loop simply inserts
   a blank where the date should be.
 * Thanks for your help!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Formatting the_content() with CSS](https://wordpress.org/support/topic/formatting-the_content-with-css/)
 *  Thread Starter [romanonly](https://wordpress.org/support/users/romanonly/)
 * (@romanonly)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/formatting-the_content-with-css/#post-1178442)
 * Switched from using <p> to using <div> and it solved the problem. If anyone has
   ideas on how to make the <p> work feel free to post.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Formatting the_content() with CSS](https://wordpress.org/support/topic/formatting-the_content-with-css-1/)
 *  Thread Starter [romanonly](https://wordpress.org/support/users/romanonly/)
 * (@romanonly)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/formatting-the_content-with-css-1/#post-1178440)
 * Switched from using a <p> to using a <div> and it solved the problem. If anyone
   knows how to make <p> work feel free to post.

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