go41

Re: problem in displaying 300×250 ad in arthemia free home page :: Reply by master

von Joern am 29. Jul. 2009 | Keine Kommentare

Sadhan, I would say you did everything allright, the code is loading and frontpage as well as on single pages in the same way.

Adsense takes a while until it loads an add fitting to your page, if they do not know what to show they will give you the public services add like on your header or even show an empty page as they do in your sidebar.
I would do this:

give your logo image an alt tag, means fill the empty tag with the title of your blog by changing this line in header.php:

Code:

<a href="<?php echo get_option('home'); ?>/"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/logo.png" width="177px" height="39px" alt="" /></a>

to:

Code:

<a href="<?php echo get_option('home'); ?>/"><img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/logo.png" width="177px" height="39px" alt="<?php bloginfo('name'); ?>" /></a>

(just added <?php bloginfo(’name‘); ?> into the alt="")
also in header.php give the ‚Home‘ button a title tag by changing this:

Code:

<li><a href="<?php echo get_option('home'); ?>/">Home</a></li>

to

Code:

<li><a href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name'); ?>" >Home</a></li>

You also could use a plugin inserting meta desription and meta keywords in your front page as well as in single pages, to show search engines and adsense what you are talking about. I am still using wpSEO 2.3, which was the last free version of this usefull plugin, if you are lucky you find it somewhere to download.
Finally it’s just a matter of waiting some more time and writing more posts and the ads will come up.
____________________
you find me on Google+, Twitter and Facebook

(von: master)

Hier noch 16 weitere Ergebnisse dieses Threads:

problem in displaying 300×250 ad in arthemia free home page

26. Jul. 2009 (von: sadhan)

Can you please help on why I am not able to display the 300x250 ad in arthemia free theme first home page, though the ad code works fine in individual post pages. Weiterlesen →

Re: problem in displaying 300×250 ad in arthemia free home page :: Reply by master

26. Jul. 2009 (von: master)

could you give me a link to your site pls ..____________________you find me on Google+, Twitter and Facebook Weiterlesen →

Re: problem in displaying 300×250 ad in arthemia free home page :: Reply by sadhan

29. Jul. 2009 (von: sadhan)

Pls see pixelmagic.in/blogI tried so many ways , still no luck in home page ads (300x250) is always blank and the top header ad always show public service ads. Strangely, in inside pages they appear properly. The google ad code…

Re: problem in displaying 300×250 ad in arthemia free home page :: Reply by sadhan

31. Jul. 2009 (von: sadhan)

Appreciate your helpful response. I did that as you mentioned. I found the top one ad is coming but no luck on the rect one. But to my surprize it came for couple of times. So I guess I need…

Re: problem in displaying 300×250 ad in arthemia free home page :: Reply by sadhan

1. Aug. 2009 (von: sadhan)

With time also the banner is not showing any.Further, can I request to help me to resolve the problem with a workaround. How about the idea to tweak the code so that for home page banner there is a static…

Re: problem in displaying 300×250 ad in arthemia free home page :: Reply by master

1. Aug. 2009 (von: master)

it's quite common to display different ads or images if is frontpage, single or any other view.In your Arthemia theme you could modify header.php to display on the first view you get (is_home) the normal banner and on all other…

Re: problem in displaying 300×250 ad in arthemia free home page :: Reply by sadhan

2. Aug. 2009 (von: sadhan)

perfect! thanks a lot. It finally works with this workaround. Great help. Weiterlesen →

center align problem

23. Jul. 2011 (von: geekprison)

Hello,my site is http://geekprison.com/ i am facing problem with images of the post,the post looks greats in the editor as well as in other themes,but it gets messed up when i activate compress thememy images are not center align,can you…

Re: center align problem :: Reply by Joern

23. Jul. 2011 (von: Joern)

the problem with Comppress theme you currently use: In Firefox and IE (not in Chrome) I see the content of your site moved to the right, sidebar disappeared.This happens due to a one pixel error in your div id="topmenu"the content…

Re: center align problem :: Reply by geekprison

23. Jul. 2011 (von: geekprison)

hello, thanks for your generous reply,i tried adding both the codes one at a time.aligncenter {display: block;margin-left: auto;margin-right: auto;}.excerpt .entry p img.aligncenter {display: block;margin: 0 auto;}but there was no effect on image, they... Weiterlesen →

Re: center align problem :: Reply by geekprison

23. Jul. 2011 (von: geekprison)

hello, thanks for your generous reply,i tried adding both the codes one at a time.aligncenter {display: block;margin-left: auto;margin-right: auto;}.excerpt .entry p img.aligncenter {display: block;margin: 0 auto;}but there was no effect on image, they... Weiterlesen →

Re: center align problem :: Reply by Joern

23. Jul. 2011 (von: Joern)

it will never be 'harmfull', it might just change the look of the images on frontpage too.I can't test this, you should keep a backup of the old entries and just try..or tryimg.aligncenter {display: block;margin-left: auto;margin-right: auto;}always ch... Weiterlesen →

Re: center align problem :: Reply by geekprison

24. Jul. 2011 (von: geekprison)

hi i even tried that codeimg.aligncenter {display: block;margin-left: auto;margin-right: auto;}but did not work,though if i modify the existing code into.excerpt .entry p img {border: 0 none;margin: 0 auto;}.excerpt .entry img {max-height: 640px;max-wi... Weiterlesen →

Re: center align problem :: Reply by Joern

24. Jul. 2011 (von: Joern)

first time I use my public folder in dropbox,here a firefox 5.0 screen printhttp://dl.dropbox.com/u/33739066/firefox50.jpgno idea why you see it different, my IE 9 shows it like this tooChrome and old FF show all..??____________________you find me on G... Weiterlesen →

How to remove „edit entry/comments are closed“ text and change font size of post

27. Jul. 2011 (von: omerkhan01)

HI there here is my siteHere are my questions.If you go to this pageAt the bottom it shows "Edit this entry" and "Comments are closed"How do you remove that? Is it in index.php?Also, as you can see the text on…

security vulnerability in TimThumb.php of some themes

12. Aug. 2011 (von: Joern)

TimThumb, a popular resizing script used in some WordPress themes like Arthemia and Arthemia Premium is being exploited through a vulnerability.I recommend to get the latest timthumb.php on this site:http://code.google.com/p/timthumb/source of TimThumb... Weiterlesen →

Autor:

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: