Any idea why the date isn't displaying here…
-
Hi there,
Could somebody tell me how to display the “posted on” date underneath the latest news and latest blog posts on this static page (www.rjt-online.com/wp)?
I am displaying the Latest News posts using this code:
<div id="container"> <span id="archives"> <h3 class="widget-title-left">LATEST NEWS //</h3> </span> <div id="content" role="main"> <?php query_posts('posts_per_page=3&cat=23'); if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( is_front_page() ) { ?> <h2 class="entry-title"><?php the_title(); ?></h2> <?php } else { ?> <h1 class="entry-title"><?php the_title(); ?></h1> <?php } ?> <div class="entry-content"> <?php the_content(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?> <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?> </div><!-- .entry-content --> </div><!-- #post-## --> <?php comments_template( '', true ); ?> <?php endwhile; ?> <span id="archives"> <a href="https://www.rjt-online.com/wp/home/news-archive/" class="instructiontext">More News Articles →</a> </span> </div><!-- #content --> </div>
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Any idea why the date isn't displaying here…’ is closed to new replies.