How To Display Adsense Ads After Post in Thesis Theme

by Surender on September 9, 2009

in Blog Design,How To,Themes,Wordpress

thesis ad small thumb How To Display Adsense Ads After Post in Thesis Theme Thesis is Premium WordPress theme which is using by many professional bloggers like Darren Rowse,Brain Clark,Chrisbrogan etc because of its inbuilt SEO features and simple and unique framework.

This is  easy to customization.If you want to add feature box,multimedia box you need to add hooks simply.There is no need of the knowledge of programing.

I have used many Adsense plugins for my blog to show Google adsense ads.But honestly telling that I really unsatisfied with those all adsense plugins.

Recently I founded thesis hook to display Adsense ads after post.With this simple hook you can display adsense ads after your blog post.

Below is an example of what it will look like, you could use this anywhere in your blog. You can display any adsense format instead of 460×68.

adsense hook after post How To Display Adsense Ads After Post in Thesis Theme

Below is the function which is displaying the Google adsense ads at the bottom of the post. You can change that location if need be. I have actually placed this after post which will display the ads on  single posts.
/* Custom Adsense after Post Hook */
function add_adsense_code460 () {
if (is_single()) {
?>
PASTE ADSENSE CODE HERE
}
}
add_action('thesis_hook_after_post', 'add_adsense_code460');

Copy the given code an paste in custom_ functions.php and see the result.

Read More Related Stuff

{ 20 comments… read them below or add one }

Technologian September 9, 2009 at 9:51 pm

This post is something I am going to bookmark as I am planning of using Wordpress on my next blog. Honestly, I am tired customizing blogger due to the fact that there are lot of restrictions…
.-= Technologian´s last blog ..How to Dual Boot Your Computer Using Vista and Windows 7 – A Step by Step Guide =-.

Reply

Ricky September 9, 2009 at 10:50 pm

Have you tried it on other type of blog as well? No doubt that thesis is the best theme around. Thesis hook is the easiest way to add any function. Thank you for sharing it.

Reply

Surender September 10, 2009 at 12:50 am

No I didn’t tried on another theme like thesis hook.But I added adsense ads on another themes using some adsense plugins mentioned on Technogati.

Reply

Suneel September 9, 2009 at 11:38 pm

Nice tip there buddy.

How about getting Thesis v1.6 upgrade?
.-= Suneel´s last blog ..Find Out When You Joined Twitter =-.

Reply

Compute Live September 10, 2009 at 1:52 am

Hey Nice tip for thesis users…I was wondering how to add adsense besides related posts…?
.-= Compute Live´s last blog ..New iPod Nano Gets a Camera =-.

Reply

Technology Blog September 10, 2009 at 3:05 am

Most of the professional bloggers are going for thesis theme and they will definitely try this technique to get maximum out of their adsense account. Nice info, helpful for them.
.-= Technology Blog´s last blog ..Smooth Slider: Simple, Customizable And Search Engine Optimized Featured Posts Slideshow Plugin For Wordpress =-.

Reply

Crazy blogger September 10, 2009 at 10:10 am

how can we place ads in other wordpress themes

Reply

Surender September 10, 2009 at 5:06 pm

You can use some adsense plugins for displaying the adsense ads on other Wordpress themes.

Reply

George Serradinho September 10, 2009 at 10:27 am

It’s so wonderful how Thesis is very easy to implement stuff. It would also be nice if you could style the area for the adsense.
.-= George Serradinho´s last blog ..Basics for Guest Posting on Serradinho =-.

Reply

Surender September 10, 2009 at 5:05 pm

Thank you George.
Sure,I’ll definitely style the adsense area.

Reply

Chris Peterson September 10, 2009 at 5:50 pm

It’s really helpful & advantageous tip for many bloggers. I am glad to notice sharing spirit & it would turn a lot of eyeballs into profit.
.-= Chris Peterson´s last blog ..Factors which can influence RSS Feed Subscribers of your blog =-.

Reply

uday September 10, 2009 at 6:33 pm

I really lost cool editing the thesis theme – Nice info dude.
.-= uday´s last blog ..Outlook Calendar Sync with iPhone Using iTunes =-.

Reply

steppinout September 10, 2009 at 9:46 pm

Nice. Thanks for sharing. You rock man
.-= steppinout´s last blog ..111 Active Blog With CommentLuv Enable =-.

Reply

Klaus @ TechPatio September 11, 2009 at 10:31 pm

I’m actually not using the “is_single” part for my “after post” adsense hook – maybe I should add it. Currently my “after post” adsense hook also displays at my about and contact page, I didn’t really mind, but might as well remove it – not going to get any adsense clicks there anyway, I suppose :)
.-= Klaus @ TechPatio´s last blog ..Caroline Wozniacki Breasts =-.

Reply

Rahul September 13, 2009 at 5:46 pm

Their is one plugin which takes 5% of your adsense revenue. Adsense manager. I tried to save different ad unit. Do you know is this plugin is safe?
.-= Rahul´s last blog ..How To Get Adsense Account Approve Another Inspirational Story =-.

Reply

Mike R November 10, 2009 at 11:56 pm

Great idea !

Reply

Classical Electric Guitar May 19, 2010 at 11:35 pm

This post seems to upward being fantastic and I would accomplish the few thing or other through this publish. That is for sure. Thank you for the post and looking more associated with your.

Reply

Shahab khan July 1, 2010 at 5:16 pm

I tried the above code but it didn’t worked. I am totally unclued about what’s going wrong with it.
Shahab khan´s last [type] ..Make Free Worldwide Calls With Skype’s Talk Free For a Month Offer

Reply

chrome story July 24, 2010 at 5:09 pm

thanks, but I dont think works when adsens section targeting code is already there in the custom_functions file

Reply

anuj@webtricksblog May 6, 2011 at 8:03 pm

i there any way to showing ads inside post
anuj@webtricksblog´s last [type] ..Why WordPress Is The Best Cms Platform For Every Bloggers

Reply

Leave a Comment

CommentLuv badge

{ 4 trackbacks }




Previous post:

Next post: