Temamı valid yapmaya çalışıyorum. Bu kısımda takıldım. Arama formu da ul etiketinin içinde ve bunu hata olarak kabul ediyor. Kod aşağıdaki şekilde.
<div class="sayfalar">
<ul>
<li <?php if ( is_front_page() ) echo ' class="current_page_item"'; ?>><a href="<?php echo get_option('home'); ?>/"><span>Anasayfa</span></a></li>
<?php $pages = wp_list_pages('sort_column=menu_order&title_li=&echo=0');
$pages = preg_replace('%<a ([^>]+)>%U','<a $1><span>', $pages);
$pages = str_replace('</a>','</span></a>', $pages);
echo $pages; ?>
<div class="arama">
<form method="get" action="<?php bloginfo('url'); ?>/">
<fieldset>
<input type="text" value="<?php the_search_query(); ?>" name="s" /><button type="submit"></button>
</fieldset>
</form>
</div>
</ul>
</div>Bundan dolayı verdiği hatalar ise şunlar:Line 70, Column 19: document type does not allow element "div" here; assuming missing "li" start-tag <div class="arama">
Line 78, Column 5: end tag for "li" omitted, but OMITTAG NO was specified </ul> You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".Bunu nasıl çözebiliriz?