Tengo un problema de errores de validación en la siguiente plantilla de Wordpress:
Ecommerce Theme.
Dichos errores sólo se presentan en dicha plantilla, pues he probado con la que viene genérica y me da cero.
He efectuado un rastreo de otras páginas con la misma plantilla.
Conclusión: la plantilla tiene un error de programación.
El error que me el validador y la zona del código fuente HTML son los siguientes:
LOS ERRORES
Cita:
EL CÓDIGO HTML CORRESPONDIENTE.# Error Line 80, Column 4: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag
<li>
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
# Error Line 81, Column 6: end tag for "li" omitted, but OMITTAG NO was specified
</ul>
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
# Info Line 80, Column 1: start tag was here
<li>
# Error Line 81, Column 6: end tag for "li" omitted, but OMITTAG NO was specified
</ul>
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
<li>
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
# Error Line 81, Column 6: end tag for "li" omitted, but OMITTAG NO was specified
</ul>
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
# Info Line 80, Column 1: start tag was here
<li>
# Error Line 81, Column 6: end tag for "li" omitted, but OMITTAG NO was specified
</ul>
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
Cita:
El propio WordPress lleva una utilidad para editar partes de código fuente, de hecho he ya he quitado algunos errores, pero esta parte no me aparece en ninguna de los apartados que trae para ello.76 <div class="featureleft">
77 <ul>
78 <li>
79 <a href="#"><img src="http://localhost/wordpress/wp-content/themes/Ecommerce-Pink/images/featureproduct.jpg" alt="Feature Product" border="0" /></a>
80 <li>
81 </ul>
82 </div>
77 <ul>
78 <li>
79 <a href="#"><img src="http://localhost/wordpress/wp-content/themes/Ecommerce-Pink/images/featureproduct.jpg" alt="Feature Product" border="0" /></a>
80 <li>
81 </ul>
82 </div>
Probablemente tendré que editar a mano algunos de los archivos a través del "file manager".
Tengo Dreamweaver, Fireworks, y las extensiones Firebug y Web Developer.
Lo único que me faltan son conocimientos para emprender la tarea, pues estoy haciendo un curso de programación y todavía soy principiante en la materia.
Un último punto: estoy trabajando en localhost (127.0.0.1), ya que aunque el problema lo tengo igualmente en el hosting, los experimentos me gusta hacerlos en casa por aquello de la seguridad. Lo tengo instalado sobre WampServer.
Muchas gracias por la ayuda.
Un saludo afectuoso.