Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (have_posts()) { ?>
- <div id="posts-parent" style="width: 600px;">
- <?php while (have_posts()) { the_post(); ?>
- <div class="single-post" style="width: 200px; height: 200px; border: 1px solid #ccc; overflow: hidden; float: left; margin: 0 50px 10px 0; padding: 4px;">
- <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
- <?php the_excerpt(); ?>
- </div>
- <?php } ?>
- </div>
- <div style="clear: both"></div>
- <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement