Post Date
-
Hello,
I’ve just recently installed WordPress on my server and I’ve been implementing certain features of WordPress on my existing site… or rather a site I’m building for someone else.
Everything seems to be working out well so far… still a lot of work to do. But I have ran into a problem. I noticed after posting a second post on my Home page, the date from the first post has disappeared.
Here is a link to the site: http://morristownhamblencfa.com/index.php
I’m not sure what is causing it. Here is the code used in my Query and Loop:
<?php //The Query query_posts('category_name=NEWS'); //The Loop if (have_posts()) : while (have_posts()) : the_post(); ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> <div class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div> <div class="tag"><?php _e(""); ?><?php the_category(',') ?></div> <div class="date"><?php the_date(); ?></div> <div class="user">Posted by <?php the_author() ?></div> <div class="comments"><?php wp_link_pages(); ?><?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?></div> <div class="news"> <?php the_content(__('(more...)')); ?> </div> </div> <?php endwhile; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> <?php endif; ?>Does anyone know what might be causing the problem? Thanks so much 🙂
The topic ‘Post Date’ is closed to new replies.