Bei meinem Blog schreit mich der Validator immer so an:
an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
und
The attribute value "recentposts" for the "class" attribute was not enclosed in single or double quotation marks when it must be. In HTML 4.01, attribute values containing characters other than A-Z, a-z, 0-9, hyphens, periods, underscores, and colons must be quoted. In XHTML/XML, all attribute values must be quoted. Quotes are recommended even if they are not required.
Hier der Code - was ist zu ändern und wo ? :roll:
<li id="recentposts"><h2><span><?php _e('Recent Posts','wp_multiflex'); ?></span></h2>
<ul>
<?php wp_get_archives('type=postbypost&limit=10&format=custom&before=<li class=recentposts>&after=</li>'); ?>
</ul>
</li>
Danke
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!