How to add sidebar in each single post of the latest Word Press theme i.e, Twenty Eleven or Word press 3.2.1

As the old versions of word press has the theme where we can add sidebar in each single post but in the latest twenty Eleven word press or WordPress 3.2.1 it is not available and I thought WTH, why this sidebar facility is not available in the latest theme. Then i searched a lot over the net and also talked to lots of programmers about this, they replied back that this is possible but we have to make some changes in the design and will take lots of time, then i thought if there is any possible easiest way to add sidebar in the latest theme life would be so easy.

Then I researched a lot and at last I found out the way and it’s the most easiest and simplest way to add sidebar in Twenty Eleven or Word press 3.2.1 theme even a newbie can do this and it’s works exactly the way you want.

Let me explain it to you one by one with 10 simple steps and just follow it and you will get the sidebar in each and every single post of your website/blog.

Step 1: Login to your website or blog

Step 2 : Go the Appearance>Editor

Step 3: Then click on Single Post (single.php), then at the bottom you will find <?php get_footer(); ?>

Step 4: You have to put this code <?php get_sidebar(); ?> just above <?php get_footer(); ?>

Step 5: Then click on Update File

Step 6: After saving it go back to Appeareance>Editor

Step 7: Then search for “Stylesheet” (style.css) then open it

Step 8: After opening it scroll down to the bottom of the page and just add this following codes given below at the bottom of (style.css)

Step 9: The code is:

.singular #primary {

margin: 0 -26.4% 0 0;

}

#nav-single {

display: none;

}

.singular .entry-header .entry-meta {

position: relative;

}

.singular .hentry {

padding: 0;

}

.singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title {

width: 100%;

}

.singular #content, .left-sidebar.singular #content {

margin: 0 34% 0 7.6%;

}

.singular article .entry-title {

padding-top: 0;

}

.singular .entry-meta .edit-link a {

right: 0;

top: 0;

left: auto;

}

Step 10: Now click on Update File and you are done with adding sidebar in each and every single post in the latest word press theme i.e, Twenty Eleven or Word press 3.2.1.

In just 10 simple steps you are done with adding sidebar in each and every single post in the latest word press theme i.e, Twenty Eleven or Word press 3.2.1.

Please do share your thoughts with me after adding it to your website & blogs.

The following two tabs change content below.
Sanjeeb was born with six toes on each foot. The extra toes were removed before he was a year old, robbing him of any super-powers and ending his crime fighting careers before it even began. Unable to battle the forces of evil, he instead work as a professional in Digital Marketing arena, currently living in Kolkata, India. Founded sanjeebpanda.com with the purpose to share his experience and interesting tech news. Connect with him on
1 comments
Natashabar
Natashabar

Where download X-Rumer 7.0.10 ? Send me URL please! It is the best program for mass posting on forums! XRumer can break most types of captchas!