May
6th

Displaying Google Adsense Ads On Wordpress Post

Posted by admin

This we about tricks adsense the post. trick put ads position our wishes. have All One YPN can adsense the post. with plugin, we’re to where adsense we it. Let’s to ..

First, the functions.php your themes, add below.

showads function () (
return ‘<script type=”text/javascript”> <! –
google_ad_client = “pub-xxxxxxxxxxxxxxxx”;
google_ad_slot = “4668915xxx”;
google_ad_width = 468;
google_ad_height = 60;
//–>
</ script>
<script type = “text / javascript”
src = “http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</ script>
‘;
)
add_shortcode ( ‘adsense’, ’showads’);

Do not replace code google your code. update changes on functions.php line.

Now place ads wordpress in you want. Next, insert you the you, want adsense ads.

[adsense]

Wanna try?

Ads Post" url="http://trangk.com/?p=98">
Files under Tips Tricks, Tutorial, blog


One Response to “Displaying Google Adsense Ads On Wordpress Post”

  1. By KnezTec on Jul 1, 2009 | Reply

    Useful information for me

Post a Comment

Anti-Spam Protection by WP-SpamFree