<?php $postslist = get_posts('category=1&numberposts=2&order=DESC&orderby=post_date');foreach ($postslist as $post) :setup_postdata($post); ?><div class="post_item"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a><?php the_excerpt(); ?></div><?php endforeach; ?>
the_ID();
get_the_title();
http://homerunlogo.com/test/
will get current in loop post id.
will get current in loop post title.
http://codex.wordpress.org/Function_Reference/get_the_title