• Skip to primary navigation
  • Skip to main content

WebGuide4U

Photoshop | WordPress | Webhosting | Web Designing | Discount Coupon

  • Homepage
  • About Us
    • Author
  • Advertise
  • Free WordPress Installation
  • Contact Us
  • Show Search
Hide Search

[How-To Guide] Add Adsense Revenue Sharing Code In Thesis WordPress Theme

Already I have offered you how-to guide on creating revenue sharing website but didn’t tell you about how-to add Adsense revenue sharing code in thesis theme. There are many ways by which you can add Adsense into Thesis WordPress Theme.

thesis+wordpress+google-adsense+download-thesis-theme

One of the easy way to add Adsense code is by using custom_functions.php file. In this post I will guide on adding Adsense into thesis theme.

Step1: Log-in into wp-admin panel by typing URL

http://www.domainname.com/wp-admin (replace “domainname” with your own “domain name”)

Step2: Now in wp-admin panel, click on “Thesis (as mentioned by number 1)” and then “Custom File Editor (as mentioned by number 2)” as shown below:

adsense-thesis-theme+wordpress+wpthesis+thesis-theme+adsense-code-thesis-wordpress-theme

Step3: Now you have to select “custom_functions.php file” and click on “Edit selected file” (as shown below).

adsense-thesis-theme1+wordpress+webguide4u+thesis-theme+download-thesis-theme

Step4: Now copy this code:

//***********************************************************************************************
/* Adsense after very post Author advertising */
function add_adsense_media1 () {
?>
<p><?php if (function_exists(‘kd_template_ad’)) {kd_template_ad(1);} ?>
</p>
<?php
}
add_action(‘thesis_hook_before_post’, ‘add_adsense_media1’);
//**********************************************************************************************

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

adsense-thesis-theme2+wordpress+webguide4u+thesis-theme+how-to-add-adsense-code-in-thesis-theme

Step6: Congratulations, you have successfully added Adsense revenue sharing code in thesis theme.

Remember:

You have to take care of media unit ID.

If you don’t have thesis theme, then grab your copy now

Download Link for Thesis WordPress Theme

Do let me know if you face any problem in adding Adsense code in thesis theme? Don’t forget to like us on Facebook so that you can’t miss any of the thesis tutorials.

How-To, Thesis Customization

Reader Interactions

Comments

  1. Jasmine says

    December 28, 2010 at 13:24

    Nice tips. I am sure it is use for Thesis theme users. 🙂

  2. Jasmine says

    December 28, 2010 at 13:25

    Ops, got a typo there, I meant “useful”… Good stuff, thanks for the sharing!

  3. Vivek Parmar says

    December 28, 2010 at 14:00

    Thanks Jasmine, you like it
    Maximum bloggers using thesis theme and it would be great if they are thinking of starting revenue share program

  4. Kunal @ TechHogger says

    December 28, 2010 at 22:21

    Nice guide Vivek. My blog is not adsense sharing but whenever I start it I’ll refer your guide for sure.

  5. Vivek Parmar says

    December 28, 2010 at 22:24

    Welcome Rahul anytime 🙂

  6. CheapTravelPackages says

    April 7, 2012 at 14:58

    Thanks, Nice tips to start a adsense sharing on blog, it really helps a blogger to start revenue sharing.

    Nice, Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

Hit the ground running with a minimalist look. Learn More

WebGuide4U

All rights Reserved. Articles cannot be reproduced without permission from the author© 2025