≡ Menu

[How-To Guide] Show Ads In Single Post In Thesis WordPress Theme

Thesis WordPress Theme is one of the most popular WordPress Theme which comes with lots of in-built options. It offers you to cut down all your SEO plugins from wp-plugin folder and the best thing I like about this theme is that it comes with 30 day money back guarantee.

If you have not get your copy of Thesis WordPress Theme, then get it right now:

Sign-Up Link for Thesis WordPress Theme

Already, I have covered few articles on Thesis WordPress Theme like

How to Add BuySellAd Code in Thesis WordPress Theme

How to Add Google AdSense Ads Below Post Title in Thesis WordPress Theme

How to Add Google AdSense Ads After Post Content in Thesis WordPress Theme

How to Add Google AdSense Ads Below Navigation Menu in Thesis WordPress Theme

Now in this post I’m sharing how to show ads in single post in Thesis WordPress Theme. For those who do not know ads are the best way to monetize blog easily and generate revenue for it.

Step1: First Log-in into wp-admin panel, then go to “Thesis” tab and click on “Custom File Editor” a shown below:

ads-single-post-thesis

Step2: When you click on “Custom File Editor” (in step 1), it open a new window (shown below). Now from drop-down select “custom_functions.php” file and click on “Edit selected file”.

ads-single-post-thesis1

Step3: When you click on “Edit selected file”, it open a new window as shown below:

ads-single-post-thesis2

Step4: Now copy this code:

function single_post_ads() {

if (is_single()) { ?>

// INSERT YOUR AD CODE HERE//

<?php }

}

add_action(‘thesis_hook_after_post’, ‘single_post_ads’);

Step5: After copying above code, paste this code in “custom_functions.php” file and click on “Big Ass Save Button” as shown below:

ads-single-post-thesis3

Step6: Congratulations, now you can easily show ads in single post in Thesis WordPress Theme.

If you have any query let me via comments and if you have not get your copy of Thesis WordPress Theme, then get it right now:

Sign-Up Link for Thesis WordPress Theme

Find this article useful? Then why not share it with your friends also and do not forget to follow WebGuide4U on Twitter for more Thesis Tutorials.

{ 0 comments… add one }

Leave a Comment