Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="blog">
- <div class="preview">
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <div class="post-image">
- <img src="http://placehold.it/440x265" alt="cait barker post image" />
- </div><!-- end blog-image -->
- <div class="post">
- <h2><?php the_title() ;?></h2>
- <span class="post-preview">
- <?php the_excerpt('read more...'); ?>
- <?php endwhile; else: ?>
- <p>Sorry, no posts to list</p>
- <?php endif; ?>
- </span><!-- end post-preivew -->
- <p class="post-meta"><span style="font-family: amatic;">>></span> Posted on <?php the_date('M-d-y'); ?> <span style="font-family: amatic;">>></span> <?php the_tags('tags: ', ', ', '<br />'); ?></p><!-- end post-meta -->
- </div><!-- end post -->
- </div><!-- end preview -->
- </div><!-- end blog -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement