[sourcecode language=”php”]function kw_sajat_kereses( $form ) {
$form = ‘<form role="search" method="get" id="searchform" action="’ . home_url( ‘/’ ) . ‘" >
<div><label for="s">’ . ‘Keresés’ . ‘</label>
<input type="text" value="’ . get_search_query() . ‘" name="s" id="s" />
<input type="submit" id="searchsubmit" value="’. esc_attr ‘Keresés’ .’" /> </div>
</form>’;
return $form;
}
add_filter( ‘get_search_form’, ‘kw_sajat_kereses’ );
[/sourcecode]