Jump to content

Cre8asiteforums

Web Site Design, Usability, SEO & Marketing Discussion and Support

Sign in to follow this  
Zabumafu

Placing Adsense In Certain Spot

Recommended Posts

I am very new to scripting and I need help placing google adsense on the left margin of my blog. I had a plugin to place it randomly inside the entries but that looks horrible. I know its an easy script I just do not know where I should place it to get into the left margin of my wordpress blog.

 

Here is the blog:

 

 

iphone-3g-forums.com/blog

 

and here is the google adsense I am going to place there:

 

 

<script type="text/javascript"><!--google_ad_client = "pub-5416273808173231";/* 160x600, created 7/12/08 */google_ad_slot = "9503428307";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>

 

 

I can provide any other scripts or templates needed I just do not know which one it is..

Share this post


Link to post
Share on other sites

You ned to add it to teh themes directory which is... hold on, let me look...

 

{WHERE_EVER_YOU_INSTALLED_WORDPRESS}/wp-content/themes/{NAME_IF_YOUR_THEME}/sidebar.php

 

Now, if there is no file named sidebar.php, then your theme uses the default one, which is here:

 

{WHERE_EVER_YOU_INSTALLED_WORDPRESS}/wp-content/themes/default/sidebar.php

 

Opn that file, and put the script in. You'll have to keep fiddlingt until you get it right, but that should be a start at least!

Share this post


Link to post
Share on other sites
Sign in to follow this  

×