• Hi:

    My site page is http://www.christian-dating-service-plus.com/blog

    I have one error: Error Line 133 column 4: end tag for “ul” which is not finished.

    Most likely, You nested tags and closed them in the wrong order. For example is not acceptable, as must be closed before . Acceptable nesting is:

    Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is “not finished”, not complete. For instance, <head> generally requires a <title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.

    I cannot figure it out…Any ideas. Thanks so much

    David

Viewing 1 replies (of 1 total)
  • The problem seems to be just before your Archives section in your sidebar. In the HTML that WordPress finally sends to client browsers, you’ve got:

    <ul>

    </ul>

    with no list items. This is probably because you’ve got a UL for Pages but you don’t actually have any Pages so it’s putting out an empty list. You can either remove that code (if you’re sure you won’t have any Pages in the future) or first check to see if there are any Pages and then write out the UL only if there are.

    There are several ways to do this but a quick ‘n dirty way is to do the following;


    <?php
    $pageitems = wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>'&echo=false );
    if (strlen($pageitems) {
       echo "<ul>{$pageitems}</ul>";
    }
    ?>

Viewing 1 replies (of 1 total)

The topic ‘Cannot Validate Post Page’ is closed to new replies.