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 Sidebar At Index Page For Single Post? Hello All, In order to display sidebar at index page...
  2. How To Display Post Alphabetically In WordPress Blog? Hi, WordPress organizes and displays posts in descending chronological order:...
  3. How To Disable Search Engine Indexing For A Single Post In WordPress Blog? Hi, Many wordpress users do not want to indexed their...
  4. How To Export Single Author’s post In WordPress Blog? Hi, We can export posts by author of the posts....
  5. How To Display Full Post Instead Of Partial In WordPress Blog? Hi, Sometimes in wordpress blog, content display is depends on...

Leave a Reply

You must be logged in to post a comment.