1141 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more

Hey you guys and gals!

I got a problem with the validation of my WP theme. I got four errors which are all the same, it’s the path to the images of a slider.

The path in the document is the following:

<img src="<?php bloginfo('template_url'); ?>/images/slide1.jpg" height="150" alt="sliderimage" />

And I get this error:

Line 508, Column 80: attributes construct error …ossycat.com/wp-content/themes/GC02/images/slide1.jpg” height=”150”alt=”slider…

either the “g” or the “i” of “images” marked red.

Can anyone help me? I failed googling.

Thank you! Greetings, GC

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes