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.
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:
Step3: Now you have to select “custom_functions.php file” and click on “Edit selected file” (as shown below).
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:
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.
Jasmine says
Nice tips. I am sure it is use for Thesis theme users. 🙂
Jasmine says
Ops, got a typo there, I meant “useful”… Good stuff, thanks for the sharing!
Vivek Parmar says
Thanks Jasmine, you like it
Maximum bloggers using thesis theme and it would be great if they are thinking of starting revenue share program
Kunal @ TechHogger says
Nice guide Vivek. My blog is not adsense sharing but whenever I start it I’ll refer your guide for sure.
Vivek Parmar says
Welcome Rahul anytime 🙂
CheapTravelPackages says
Thanks, Nice tips to start a adsense sharing on blog, it really helps a blogger to start revenue sharing.
Nice, Thanks