Hello All,

In order to display single post in wordpress blog sidebar one need to perform below mentioned steps:

1) Write and publish a post.

2) Find out the post’s ID (egg. 143)

3) Open your themes Sidebar.php

4) Include this code:

<?php query_posts(‘p=143′); if(have_posts()) : the_post(); ?>

<?php the_content(); ?>

<?php endif; ?>

That’s it!

Thanks,

Shane G.

Popularity: 9%

Related posts:
  1. How To Display Post Alphabetically In Wordpress Blog? Hi, WordPress organizes and displays posts in descending chronological order:...
  2. How To Convert Category Pages To Post Titles In Wordpress Blog Hi, Many wordpress users wants to display Category Pages instead...
  3. How To Display Sidebar At Index Page For Single Post? Hello All, In order to display sidebar at index page...
  4. Code To Find List Of Posts Which Has No Tags In Wordpress Blog Hi, In order to find and display the untagged posts...
  5. How To Make Search Result Unlimited In Wordpress Blog Hi, Sometimes wordpress users want make the search results unlimited....

Leave a Reply

You must be logged in to post a comment.