Re: Adsense Help :: Reply by Joern

von Joern am 25. Mai. 2011 | Keine Kommentare

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 more in another place like single.php
What I always do is putting a new div around any add code, so you can move this div to float or to center and give it a margin or padding.
Looks like this:

<div class="single-ad">
<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 type="text/javascript"
See this sample: http://www.go41.de/427/android-froyo-go … t-aendern/
the add is float right and the code is under the title of the post, style in style.css
.single-ad {

display: block;

float: right;

margin: 0 0 10px 10px;

this might not be easy for you as you got images in your posts, having images in posts I do like this:


or above the post

http://www.celebslatest.com/491/brandi- … on-series/
always in single.php above or below the line with ‚.. php the_content …..‘
Additionally you are allowed up to three more adsense adds as ‚Link Block‘, you find some also on the samples given above

Good luck ..
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 Joern

24. Mai. 2011 (von: Joern)

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…

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 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 }…


Du findest mich auch auf Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.

weitere forum Beiträge: