A place to talk about the Rin and Manji themes
You are not logged in.
Hi...if anyone read the previous post from me regarding the single page error you will notice that i managed to solve this using the "wc3 validate" site. Now i noticed that there were several errors, mostly having to do with the bullets on the sidebar which i got rid of. The problem is i can't get rid of the first one and still get the vaildate error as listed below......
Error Line 92, column 19: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag .
<li class="pagenav"><h2>Pages</h2><ul><li class="page_item"><a href="http://ligh
Not sure where to look for this one. Any ideas?
The relevant code in the sidebar.php looks like this
<?php wp_list_pages('title_li=<h2>' .__('Pages') . '</h2>' ); ?>
Please visit www.lightscape-images.com/wordpress to see the error. Thanks for looking.
Best wishes Neil
Offline
Yeah neild, I know I've not worked out a solution for that prob yet, but I'm actually going to get working on the whole thing in due course once I've finished a few of the projects on my plate.
I'l be checking the forums to see what I can pick up from bug fixes people have posted etc.
Offline
Thanks Khaled, i appreciate your help! Best wishes - Neil
Offline
Resolved: I found it out myself. It was missing the <ul> and </ul> part.
The code now looks like:
<ul>
<?php wp_list_pages('title_li=<h2>' .__('Pages') . '</h2>' ); ?>
</ul>
and the page validates Thanks and best wishes Neil
Offline