[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

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 : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref