How to configure the wordpress search form?
My wordpress search form not working
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Aviance School is one of the largest web solutions platform in India for developers to learn and share their programming knowledge and build their careers.
<div><form action="<?php echo home_url( '/' ); ?>" method="get">
<input type="text" name="s" id="search" value="<?php the_search_query(); ?>" />
<input type="image" alt="Search" src="<?php bloginfo( 'template_url' ); ?>/images/search.png" />
<input type="hidden" value="post" name="post_type" id="post_type" />
</form>
</div>