Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $my_query = new WP_Query('posts_per_page=3');
- while ($my_query->have_posts()) : $my_query->the_post();
- $do_not_duplicate = $post->ID; ?>
- <div <?php post_class() ?> id="post-<?php the_ID(); ?>" style="position:relative;left:20px;padding-bottom:10px;padding-top:10px;background:transparent url(/wp-content/themes/natalie/images/divider.gif) repeat-x scroll 0 100%;width:221px;">
- <h3 style="font-weight:bold;font-size:12px;"><a style="text-decoration:none;" href="<?php the_syndication_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
- <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
- <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
- </div>
- <?php endwhile; ?>
Add Comment
Please, Sign In to add comment