How To Put AdSense Ads Below WordPress Posts In Thesis Theme To Have High CTR


I have used many adsense plugins for wordpress to put ads below post but weren’t satisfied by it cause they yeilded very low CTR and in addiition slows down the site. The thesis theme has the advantage of putting adsense ads below posts using thesis hook features without using any plugins. Too much plugins slows down a site so I always try my level best to avoid plugin.

Method To Put Adsense Ads Code Below Posts:

1. Log onto dashboard of your wordpress admin panel.

2. At the sidebar on the left hand under thesis heading select “Custom File Editor”

thesis 1.7 custom file editor

3. Select customs_functions.php click edit “selected file”

Here comes the final part.

4. At the end of the code place the following code:

function adsensebelowposts() {
if (is_single()) {
?>
put adsense code here
<?php
}
}
add_action('thesis_hook_after_post', 'adsensebelowposts');

Explanation of the above code:

if (is_single()) { means that adsense code you placed below the posts will only show inside the posts not on the homepage. You understand what I mean.

However if you want to show adsense ads on both wordpress homepage and inside posts then the use code below:

function adsensebelowposts() {
?>
put adsense code here
<?php
}
add_action('thesis_hook_after_post', 'adsensebelowposts');
About Nasif

I am a hobby blogger and I love Wordpress. Herbal tea addict. Loves being lazy and zZzZ...