Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $ids = array(1624, 1428);
- ?>
- <?php query_posts( array('post_type' => 'post', 'posts_per_page' => 3, 'post__in' => $ids));
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <div class="singlepost">
- <div <?php post_class(); ?> id="post-main-<?php the_ID(); ?>">
- <li class="homepost clearfix" id="post-main-<?php the_ID(); ?>">
- <div class="entry">
- <a href="<?php the_permalink() ?>" rel="<?php _e("bookmark"); ?>" title="<?php _e("Permanent Link to"); ?> <?php the_title(); ?>"><?php include (TEMPLATEPATH . '/post-thumb.php'); ?></a>
- <h3 class="post-title"><a href="<?php the_permalink() ?>" rel="<?php _e("bookmark"); ?>" title="<?php _e("Permanent Link to"); ?> <?php the_title(); ?>"><?php the_title(); ?></a></h3>
- <?php the_excerpt ();?>
- <p class="bottom">
- <?php the_time( get_option( 'date_format' ) ); ?> | <a href="<?php comments_link(); ?>">
- <?php comments_number('0 comments','1 comment','% comments'); ?></a> | <a href="<?php the_permalink() ?>" rel="<?php _e("bookmark"); ?>" title="<?php _e("Permanent Link to"); ?>
- <?php the_title(); ?>"><?php _e("View Post"); ?></a>
- </p>
- </div>
- </li>
- </div>
- </div>
- <?php endwhile; endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement