<form role="search" method="get" id="searchform" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
    <label class="screen-reader-text" for="s"><?php echo _x( 'Search for:', 'label', 'wen-associate' ); ?></label>
    <?php
      $placeholder_text = '';
      $search_placeholder = wen_associate_get_option( 'search_placeholder' );
      if ( ! empty( $search_placeholder ) ) {
        $placeholder_text = ' placeholder="' . esc_attr( $search_placeholder ) . '" ';
      }
     ?>
    <input type="text" value="<?php echo get_search_query(); ?>" name="s" id="s" <?php echo $placeholder_text; ?> class="search-field" />
    <input type="submit" id="searchsubmit" value="&#xf002;" class="search-submit"/>
</form>
