Posts tagged as:

posts

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!

{ 0 comments }