Blogging is a FREE Adsense Ready Twenty Eleven Child Theme for the WordPress publishing platform.
- Features
- New Default Header Graphics
- Custom Header Graphics
- Where To Paste Adsense Code
- Requirements
- Download Twenty Eleven Blogging Theme
Features
- Post Thumbnails added on Search, Archive and Home indexes.
- Sidebar added to Pages, Posts, Archives, and Image attachment pages.
- The Sidebar width has been increased to fit a 300px advertisement.
- Previous/Next links have been changed to display the Post Title.
- Previous/Next links have been moved to the bottom of the page.
- Auto-Updating copyright year has been added to the footer.
- Automatic Site Name has been added to the footer.
- Added 6 Blogging Niche header graphics as the default header images.
- Resized Custom Header Images to 1000 x 200.
- Added Comments where Adsense Code should go.
New Default Header Graphics
The Default Twenty Eleven header graphics have been removed and replaced with 6 Blogging Niche headers 1000 x 200 px which is slightly smaller than the default 1000 x 288 px.
These 6 new headers are the Default for this theme.
Custom Header Graphics
Custom Headers have been reduced to 1000 x 200.
What this means is that if you upload your own photo to use as a header graphic, the selected area will be cropped to 1000 x 200 px instead of the Twenty Eleven default of 1000 x 288 px.
Where To Paste Adsense Code
Adsense Code can be pasted in the following files:
- content-single.php
- single.php
- image.php
Simply replace the following code with your own Adsense Code:
<!-- paste adsense code here -->
Example
content-single.php Adsense Code
Adsense Code can be inserted into two places within content-single.php.
<div class="entry-content"> <!-- custom html -- > <div style="float:left; margin-right:15px;"> <!-- begin adsense --> <!-- paste 200x200 adsense code here --> <!-- end adsense --> </div><!-- end custom html --> <?php the_content(); ?> <!-- begin adsense --> <!-- paste adsense code here --> <!-- end adsense -->
single.php Adsense Code
Adsense Code can be inserted once within single.php.
<div id="primary"> <div id="content" role="main"> <!-- begin adsense --> <!-- paste adsense code here --> <!-- end adsense -->
image.php Adsense Code
Adsense Code can be inserted into two spots within image.php. Once at the top and once at the bottom.
At The Top
<div id="primary" class="image-attachment"> <div id="content" role="main"> <!-- begin adsense --> <!-- paste adsense code here --> <!-- end adsense --> <?php while ( have_posts() ) : the_post(); ?>
At The Bottom
</nav><!-- #nav-single --> <!-- begin adsense --> <!-- paste adsense code here --> <!-- end adsense --> </article><!-- #post-<?php the_ID(); ?> -->
Put Ads In The Sidebar
Use the WordPress Text Widget to insert a 300 px wide Ad into the Sidebar. (Dashboard : Appearance : Widgets)
Not Limited To Adsense
You can place any ad code which fits.
Requirements
If you have WordPress 3.2 or better, this theme works out of the box.
Download Twenty Eleven Blogging Theme
- Download: 2011child-blogging.zip – 222 KB
Blogging Theme is GPL Licensed.
Credits to sites for their excellent tutorials that helped me create this theme: