How to show single post content in sidebar

by Rich on October 25, 2009

in Wordpress

Find the post you want and the id of the post and then add this code to your sidebar.

<?php query_posts('p=1'); if(have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endif; ?>

Couldn’t be simpler!

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

Leave a Comment

Previous post:

Next post: