Search box not showing up
I am having a problem with the search page of my website. When my search does not pull up any results the search box is available to search again. But, if my search does pull up results the search box dissapears.
I need to figure out how to keep the search box present evan if my search does pull up results.
Here is a link to the search page: http://en.elds.org/test/
Here is the code to my searchform.php
<form role="search" class="searchform" method="get" action="<?php echo esc_url( home_url( '/' ) ); ?>"> <input type="text" value="<?php echo get_search_query(); ?>" name="s" placeholder="<?php esc_attr_e( 'Enter search term...', 'modelish' ); ?>" /> <input type="submit" value="<?php esc_attr_e( 'Search', 'modelish' ); ?>" /> <div class="clear"></div> </form>
Thanks for your help!
- The topic ‘Search box not showing up’ is closed to new replies.