actually there was on top of sidebar.php this
<div id="sidebar">
<div id="sidebar-ads">
<img src="<?php echo get_option(‚home‘); ?>/wp-content/themes/arthemia/images/banners/square.jpg" alt="" width="300px" height="250px" />
</div>
<div id="sidebar-top">
best place for an add is above the ‚fold‘, so on top of the sidebar.
If your sidebar looks like this, it shoold work out fine:
<div id="sidebar">
<div id="sidebar-ads">
<script type="text/javascript"><!–
google_ad_client = "pub-your code!!!!";
/* 300×250, created 5/24/11 */
google_ad_slot = "your number";
google_ad_width = 300;
google_ad_height = 250;
//–>
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<div id="sidebar-top">
the div id="sidebar" and div id="sidebar-top" you should find, add the div id="sidebar-ads" and YOUR adsense script.
you could place this div around the script in the location you have it now, it will center better.
to get it into the ‚post‘ you should tell me if you mean in single post, on frontpage or archive etc…
in single.php just place the code somewhere and look how it comes out, in index.php and archive.php you need a ‚counter‘ to insert maybe one more adsense, max allowed is three
____________________
you find me on Google+, Twitter and Facebook
(von: Joern)
Hier noch 17 weitere Ergebnisse dieses Threads:
Adsense Help
24. Mai. 2011 (von: sim_a1)
Hi joern.Im again here to disturb you, hope you dn't mind.I want to ask you that how do i place ad in the sidebar. The size of the ad is not getting into it. i tried placing it in the…
Re: Adsense Help :: Reply by sim_a1
25. Mai. 2011 (von: sim_a1)
it worked out. thnks for the help. and i want to add it in single.php, also i have already created three ad unit. will it be ok if i create one more for single.php Weiterlesen →
Re: Adsense Help :: Reply by Joern
25. Mai. 2011 (von: Joern)
I see the add in the upper location, but why didn't you put the div id="sidebar-ads" around? It should center the add in this place.Having one add in the header and one in the sidebar, you still can put one…
Re: Adsense Help :: Reply by sim_a1
25. Mai. 2011 (von: sim_a1)
as you suggested i tried to put "div=sidebar ads" but there was problem when i access any post. it was working only on the homepage not on any other pages. The format of the page gets misplaced.. the tag cloud…
Re: Adsense Help :: Reply by sim_a1
25. Mai. 2011 (von: sim_a1)
in addition to above question i would also like to add one more question. How can i add the description of my website. And that description should be displayed in google. Now when i search my site. the content of…
Re: Adsense Help :: Reply by Joern
25. Mai. 2011 (von: Joern)
I know this div-problem if the sidebar comes up, mostly it is because there is one /div missing in the sidebar.a new div=sidebar ads always also needs an end /div.So I hope you added something above the adsense script and…
Re: Adsense Help :: Reply by sim_a1
26. Mai. 2011 (von: sim_a1)
Thank you very much for your help. i really appreciate that. now i figured out most of the things. all i need is traffic on my site. Can you provide me some tips on how to increase views and visits.…
Re: Adsense Help :: Reply by Joern
26. Mai. 2011 (von: Joern)
All in all it just takes time to get crawled and indexed.Some hints: You gave me once the link to your site, www.abcxyz.comYour site is actually without www. For google the site with www is actually another site (subdomain) of…
Re: Adsense Help :: Reply by sim_a1
27. Mai. 2011 (von: sim_a1)
thank for the advise. But i didn;t get the Part "On your front-page the biggest text is the repeating category titles in h3, no headline or post-title is h1 or h2" and the styling. Bit confused. Hope you'll elaborate. Weiterlesen…
Re: Adsense Help :: Reply by sim_a1
29. Mai. 2011 (von: sim_a1)
also could you plz tell me how do insert ad in index.php just below the category list. Weiterlesen →
Re: Adsense Help :: Reply by master
29. Mai. 2011 (von: master)
to insert an add in index.php under the category bar you need to find this line:<div id="front-list">just directly under this line youput this code (try the add code from your header first):<div style="margin: 5px auto 10px;text-align:center;"><script type="text/javascript"><!--google_ad_client = "ca-pub-your 468x60…
Re: Adsense Help :: Reply by sim_a1
1. Jun. 2011 (von: sim_a1)
thanks for the info..was really helpful.one last question. how can i add this box as shown in the image.Social box How do i ad it on my sidebar..what is name of plugin. Weiterlesen →
Re: Adsense Help :: Reply by Joern
1. Jun. 2011 (von: Joern)
this image of social links might be just a link list with imagesgo back to the site where you saw it and look in the source code (search facebook or youtube)A simple list with links to your accounts will load…
Re: Adsense Help :: Reply by sim_a1
22. Jun. 2011 (von: sim_a1)
hi joern. Again i need some help regarding adsense. iwant to insert ads just below the Home|Forum|Subscribe by emailAd herehow do i do that. where should exactly i insert the code. Weiterlesen →
Re: Adsense Help :: Reply by Joern
22. Jun. 2011 (von: Joern)
an add just below the navigation bar div id="navbar" using the full width of your site you put in header.phpnear the end of header.php you have something like:<div id="navbar" class="clearfloat"><ul id="page-bar" class="left clearfloat"><li><a href="<?php echo get_option('home'); ?>/">Home</a></li><?php wp_list_pages('sort_column=menu_order&title_li='); ?></ul><?php include…
Re: Adsense Help :: Reply by sim_a1
23. Jun. 2011 (von: sim_a1)
Well your advise worked..but as you can see that i already have 3 ads in single.php, and if i add one in header than there are 4 ads displayed per page..i just want this to be displayed in index not…
Re: Adsense Help :: Reply by Joern
23. Jun. 2011 (von: Joern)
to show an add only on 'home' (same as front-page) you put a conditional tag around the add, like:<?php if ( is_home() ) { // +++ Display on home only ?><div id="adheader-lb">your add here, maybe an adsense link block</div><?php }…