can you give me any code with “WHERE wposts.post_title LIKE ‘%hello%'” using wp_query?
check into the error:
Error Line 222, Column 4: document type does not allow element "h2" here; assuming missing "li" start-tag
li tag is missing. After < ul > tag, < li > will be next, not < h2 >.
check this code, this will be okey:
<ul class="ul-wrapper">
<?php if ( function_exists('dynamic_sidebar') && function_exists('wp_nav_menu') && dynamic_sidebar(1) ) : else : ?>
<li>
<h2>Archives</h2>
<ul class="li_archives">
<?php wp_get_archives('type=monthly'); ?>
</ul>
</li>
<li>
<h2>Meta</h2>
<ul class="li_reg">
<li><?php wp_register(); ?></li>
</ul>
</li>
<li>
<ul class="li_loginout">
<li><?php wp_loginout(); ?></li>
</ul>
</li>
<?php endif; ?>
</ul>