Search Button
-
Hi
Nobita has written a small php script for me, allowing me to rename my searchfield and -button.
Unfortunately, the name of the searchbutton does not appear on the searchbutton
(The word is in the php script, but does not appear on the button)The word that should be on the button is
S?g
(native word for Search)
Anyone knows php?
The code looks like this:<?php /** * Template for search form. * * * @package Raindrops * @since Raindrops 0.1 */ if ( !defined( 'ABSPATH' ) ) { exit; } global $raindrops_document_type, $template; do_action( 'raindrops_pre_part_' . basename( __FILE__, '.php' ) . '_' . basename( $template ) ); ?> <form method="get" name="searchform" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" <?php raindrops_doctype_elements( '', 'role="search"' ); ?>> <div class="searchform"> <label class="screen-reader-text" for="s">Emne:</label> <input type="text" value="<?php the_search_query(); ?>" pattern="^[^(<|>)]+$" title="<?php esc_attr_e( 'must not contain html tags', 'Raindrops' ); ?>" placeholder="<?php esc_attr_e( 'Emne', 'Raindrops' ); ?>" name="s" id="s" /> ?<input type="submit" id="searchsubmit" value="<?php esc_attr_e( 'S?g', 'Raindrops' ); ?>" /> </div> </form> <?php do_action( 'raindrops_after_part_' . basename( __FILE__, '.php' ) . '_' . basename( $template ) ); ?>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Search Button’ is closed to new replies.