Title: Validation Output: Errors
Last modified: August 21, 2016

---

# Validation Output: Errors

 *  Resolved [devrekli](https://wordpress.org/support/users/devrekli/)
 * (@devrekli)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/validation-output-errors-1/)
 * Hello. look please.
 * Validation Output:
 * > Line 232, Column 4: document type does not allow element “li” here; missing
   > one of “ul”, “ol”, “menu”, “dir” start-tag
 * How do you fix? help me please.
 *     ```
       $defaults = array(
               'limit'         => 5,           //how many items should be show
               'offset'        => 0,
               'before'        => '<li>',
               'after'         => '</li>',
               'type'          => 'both',      //'post' or 'page' or 'both'
               'skips'         => '',          //comma seperated post_ID list
               'none'          => 'No Posts.', //tips to show when results is empty
               'password'      => 'hide',      //show password protected post or not
               'orderby'       => 'post_date', //'post_modified' is alternative
               'xformat'       => '<a href="%permalink%" title="View:%title%(Posted on %postdate%)">%title%</a>(%commentcount%)',
               'echo'          => 1
           );
           $r = wp_parse_args($args, $defaults);
           extract($r, EXTR_SKIP);
   
           $password = $password == 'hide' ? 0 : 1;
           $query_args = compact("limit", "offset", "type", "skips", "password", "orderby");
           $items = $wut_querybox->get_recent_posts($query_args);
   
           $html = '';
           if (empty($items)){
               $html = $before . $none . $after;
       ```
   
 * thanks
 * [http://wordpress.org/extend/plugins/wordpress-ultimate-toolkit/](http://wordpress.org/extend/plugins/wordpress-ultimate-toolkit/)

The topic ‘Validation Output: Errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-ultimate-toolkit_625a54.
   svg)
 * [WordPress Ultimate Toolkit](https://wordpress.org/plugins/wordpress-ultimate-toolkit/)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-ultimate-toolkit/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-ultimate-toolkit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-ultimate-toolkit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-ultimate-toolkit/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [devrekli](https://wordpress.org/support/users/devrekli/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/validation-output-errors-1/)
 * Status: resolved