Advertisement
alchymyth

Untitled

Mar 18th, 2011
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.06 KB | None | 0 0
  1. <?php get_header(); ?>
  2.     <div id="wrapper">
  3.         <div id="column-setup">
  4.  
  5.         <div class="column-one">
  6.         <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Column One - Top') ) : ?><?php endif; ?>
  7. <?php $my_query = new WP_Query("showposts=5&paged=" . get_query_var('paged')); ?> <?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
  8. <a href="<?php the_permalink(); ?>"><h2><?php the_title(); ?></h2><h6></a><font size="1" color="#666"><?php the_time('l, jS F Y'); ?></h6></font><a href="<?php the_permalink(); ?>">
  9. <div style="clear: both; margin-bottom: 5px;"></div><?php if ( has_post_thumbnail()) the_post_thumbnail('150,150'); ?>
  10. </a>
  11. <?php the_excerpt(); ?>
  12. <div style="clear: both; padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid transparent;"></div>
  13.         <?php endwhile; ?>
  14.        
  15. <div class="navigation">
  16. <div class="alignleft"><?php previous_posts_link('&laquo; Previous Entries') ?></div>
  17. <div class="alignright"><?php next_posts_link('Next Entries &raquo;','') ?></div>
  18. </div>
  19.         </div>
  20.         </div>
  21.        
  22. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement