Day number not repeated on posts that were posted on the same day! HELP
-
I have the date that the post was posted showing on each excerpt on the main page. Each date is shown for each post; however, if there is more than one post in a day, the date is not shown.
If you look at my site, it will make it clearer to understand:
Also, the code used is below. I have have changed the style with the css.
<div class="content"> <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?> <div class="post"> <p class="date2"><img src="../../../../images/date.png" /></p> <p class="day2"> <?php the_date('d'); ?> </p> <p class="month2"><?php the_time(M); ?></p> <div class="article"> <h2><a href=<?php the_permalink(); ?>><?php the_title(); ?></a></h2> <div class="entry"> <?php the_excerpt(); ?> <p class="postmetadata"> <?php _e('By'); ?> <?php the_author(); ?><br /> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> </p> </div><!--entry close--> </div><!--article close--> </div><!--post close-->
Hope this makes sense.
Thanks
David Ingledow
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Day number not repeated on posts that were posted on the same day! HELP’ is closed to new replies.