Re: Adsense Help :: Reply by master

von Joern am 29. Mai. 2011 | Keine Kommentare

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 you

put 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 468×60 add";
/* banner */
google_ad_slot = "your code pls";
google_ad_width = 468;
google_ad_height = 60;
<script type="text/javascript"

This should show the add centered above the first article.
About "But i didn;t get"

Looking at a website with styles disabled, you look at the content of a site more like a crawler.
Using Firefox, just go View > Page Style > No Style

to View a Website without Formatting in Internet Explorer 9 Click the ALT key that will show the Menu Bar for a short period of time. Click Style and then select No Style to view the website without any formatting
The only formatting you see in this view is different sizes of text depending on the use of h1, h2, h3 etc

There should be somewhere a site title in h1 (appearing big), some posts in h1 or h2 and other stuff in h3 h4 etc
Now do that with your front page:

There is no h1 at all, bigger text (formatted as headline h3) is all the categories like "Gadgets And Handhelds, Headline »"

Finally your smooth gallery makes use of the h2 tag, thus these are the most important lines for a crawler on your frontpage.

The crawlers do not care about the ‚look‘ (style.css) of your site, they see the content and headlines.
Now compare this ‚looking at websites with no formatting‘ also with other sites like the frontpage of this forum or this arthemia site http://www.rcnetz.com/
you find me on Google+, Twitter and Facebook

(von: master)

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