Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <ul id="latestNewsList">
- <? news_query_posts() ?>
- <? while (have_posts()) : the_post(); ?>
- <li><a href="<?php the_permalink(''); ?>" title="<?php the_title(''); ?>"><?php if(has_post_thumbnail()) { the_post_thumbnail('news-thumb'); } else {echo '<img src="http://placehold.it/60x60" alt="" />'; } ?></a><div class="content"><span class="date"><?php the_date(); ?> at <?php the_time(); ?></span><span class="commentCount"><?php comments_number( '0', '1', '%' ); ?></span><h3 class="clear"><a href="<?php the_permalink() ?>" title="<?php the_title(''); ?>"><?php the_title(''); ?></a></h3></div></li>
- <?php endwhile; wp_reset_postdata(); ?>
- <?php previous_posts_link('newer posts »'); ?> <?php next_posts_link('« older posts'); ?>
- </ul>
- <div class="paging">
- <a href="#" title="#" class="prevPage">Newer Stories</a>
- <a href="#" title="#" class="link">view full news archive</a>
- <a href="#" title="#" class="nextPage">Older Stories</a>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement