So I recently updated the theme for my site (sharethebonus.com) and the placeholder text I had in the in the searchform went away. I can’t figure out why because I have a searchform.php in my child theme that should have kept it the same. Even worse I can’t seem to add the custom text back even when I change the parent theme’s searchform.php. Any ideas?
Here is the code:
<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
<button type="submit" class="search-submit"><i class="icon-search"></i></button>
<label>
<span class="screen-reader-text"><?php _ex( 'Search for:', 'label', 'marketify' ); ?></span>
<input type="search" class="search-field" placeholder="search for referral codes!" value="<?php echo esc_attr( get_search_query() ); ?>" name="s" title="<?php echo esc_attr__( 'Search for:', 'marketify' ); ?>">
</label>
<input type="hidden" name="post_type" value="<?php echo esc_attr( $type ); ?>" />
</form>