Restore Sidebar to WordPress Twenty-Eleven Single Post

I like the sidebar items (including Google Ad) to appear on the single post pages. The Twenty-Eleven theme (which I’ve used for several years) disabled the sidebar. These two patches restored the sidebar.

In the Theme Editor, go to single.php and add the following:

<?php get_sidebar(); ?>

In a new line just above the footer code at the bottom of the file:

<?php get_footer(); ?>

Next, go to functions.php (Theme Functions) and find the following at the bottom of the file:

add_filter( ‘body_class’, ‘twentyeleven_body_classes’ );

Comment it out and it will force WordPress to stop differentiating between normal and single post pages.

Now I have targeted ads once more! Although this is a pretty bad match…

Hummingbird-Sequence-DNA-advertisement

 

Victorinox Swiss Army Expedition 24589 (Watch)

I’ve replaced the band once (friction pins) and the battery several times. I have to remember the back is not a pry open, but a twist. Large needle nose did a good job, firmly seating the tips in opposing notches. Battery = 395 / 399. $7 at Walgreen’s. Won’t do that again. Amazon.

swiss-army-IMG_0670

 

swis-army-face-IMG_1888

I noticed that some versions of this model have a 23 and 13 flanking the Swiss Army at 11 and 1.