FacebookTwitter

How to Place Adsense Revenue Sharing Code In Thesis

By on Dec 14, 2010 in Thesis |

Share On GoogleShare On FacebookShare On Twitter

google adsense revenue sharing programIf you are running a wordpress powered blog, using Thesis theme and want to implement adsense revenue sharing on your blog then there are so many plugins available for implementing adsense revenue sharing, the best I found and myself using on this blog is Author Advertising Plugin you can read my Author Advertising Plugin Review.

Adding adsense revenue sharing code in Thesis is a very easy task even for those who are new to Thesis.

Below are the steps to place adsense revenue sharing code in Thesis theme:


//***************************************************************************
/* Adsense Revenue Sharing Code Before Content in Single Post */
function revenue_sharing_before () {
if (is_single()) { ?>
<p><?php if (function_exists('kd_template_ad')) { kd_template_ad(1); } ?>
</p>
<?php
  }
}
add_action('thesis_hook_byline_item', 'revenue_sharing_before'); 

//***************************************************************************

Always use appropriate media unit ID.If you follow the steps mentioned above you will successfully place the revenue sharing code in Thesis.