<form method="get" id="searchform" action="<?php echo home_url(); ?>/">
    <div>
        <input type="text" value="<?php echo esc_attr( get_search_query() ); ?>" name="s" id="s" />
        <input type="submit" id="searchsubmit" value="<?php esc_attr_e('Search','Magnificent'); ?>" />
    </div>
</form>
