Support » Themes and Templates » Widgets won’t validate
9 years, 1 month ago
Hi, my site won’t validate.
I get 6 of these errors:
document type does not allow element “li” here; missing one of “ul”, “ol”, “menu”, “dir” start-tag.
Can somebody please help me?
I’d say your theme is broken. It isn’t setup to use widgets correctly. Edit the widgets parameters in the functions.php file to be correct, or talk to the theme author.
The orginal author don’t have time to fix…
But here’s the functions.php
Anybody want to help me by looking at it?
It’s not in the functions.php The problem is in the sidebar.php or if there’s another bar, it’s there. I’m not in the business of fixing other people’s themes, but if you post a link to the theme or send it to me I’ll fix it this time.
Alternatively, you can use my theme: http://3dohio.com/wordpress/2007/08/14/wordpress-theme-black-and-tan/
Chances are that they forgot to wrap the li elements in a ul, or the ul is generated by a conditional statement that’s not met. Can you post the code from your sidebar file?
Hi, thanks for the help, really appreciate it 🙂
Here is the whole theme.
Here’s the theme, can you take a look at it?
Sorry, I just got it. I’ll download it at work tomorrow and fix it. It will give me something to do…. DOH! 🙂
Thanks 🙂 🙂 🙂 🙂
9 years ago
Hi, i haven’t heard from you in a week.
This is not to nag, but i need to know if you can help me or not?