WordPress.org

Ready to get started?Download WordPress

Forums

Widgets won't validate (11 posts)

  1. mofle
    Member
    Posted 7 years 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.

    Validator

    Can somebody please help me?

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    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.

  3. mofle
    Member
    Posted 7 years ago #

    The orginal author don't have time to fix...

    But here's the functions.php

    Anybody want to help me by looking at it?

  4. mofle
    Member
    Posted 7 years ago #

    Anybody?

  5. Cephus
    Member
    Posted 7 years ago #

    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/

    :)

  6. lborloz
    Member
    Posted 7 years ago #

    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?

  7. mofle
    Member
    Posted 7 years ago #

    Hi, thanks for the help, really appreciate it :)

    Here is the whole theme.

    http://www.divshare.com/download/1591131-ead

  8. mofle
    Member
    Posted 7 years ago #

    To Cephus:
    Here's the theme, can you take a look at it?

  9. Cephus
    Member
    Posted 7 years ago #

    Sorry, I just got it. I'll download it at work tomorrow and fix it. It will give me something to do.... DOH! :)

  10. mofle
    Member
    Posted 7 years ago #

    Thanks :) :) :) :)

  11. mofle
    Member
    Posted 7 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?

Topic Closed

This topic has been closed to new replies.

About this Topic