Jump to content

Cre8asiteforums Internet Marketing
and Conversion Web Design


Photo

Placing Adsense In Certain Spot


  • Please log in to reply
2 replies to this topic

#1 Zabumafu

Zabumafu

    Unlurked Energy

  • Members
  • 3 posts

Posted 12 July 2008 - 10:34 PM

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..

#2 Zabumafu

Zabumafu

    Unlurked Energy

  • Members
  • 3 posts

Posted 13 July 2008 - 08:34 PM

Can anyone help me with my site?
www.iphone-3g-forums.com

#3 projectphp

projectphp

    Honored One Who Served Moderator Alumni

  • Hall Of Fame
  • 3935 posts

Posted 13 July 2008 - 10:28 PM

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!



RSS Feed

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users