[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentyeleven/ -> searchform.php (source)

   1  <?php
   2  /**
   3   * Template for displaying search forms in Twenty Eleven
   4   *
   5   * @package WordPress
   6   * @subpackage Twenty_Eleven
   7   * @since Twenty Eleven 1.0
   8   */
   9  ?>
  10      <form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
  11          <label for="s" class="assistive-text"><?php _e( 'Search', 'twentyeleven' ); ?></label>
  12          <input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />
  13          <input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'twentyeleven' ); ?>" />
  14      </form>


Generated: Sat Mar 28 01:00:03 2020 Cross-referenced by PHPXref 0.7.1