Advertisement
firoze

Search form

Dec 12th, 2014
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.67 KB | None | 0 0
  1. // change your id & class (make your own style)
  2.  
  3. <!----------------------------------------------------------------------------->
  4. <form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
  5. <label for="s" class="assistive-text"><?php _e( '', 'flat' ); ?></label>
  6. <input class="box_search floatleft" type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Enter your keyword', 'flat' ); ?>" />
  7. <input  class="submit_search floatleft" type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'flat' ); ?>" />
  8. </form>
  9. <!----------------------------------------------------------------------------->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement