Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Customize
(view source)
Revision as of 15:59, 22 May 2017
359 bytes removed
,
15:59, 22 May 2017
→Customized Search Form
Line 63:
Line 63:
create a file called searchform.php at your theme folder and enter:
create a file called searchform.php at your theme folder and enter:
<pre>
<pre>
−
<form role="search" method="get" id="searchform" action="<?php echo home_url( '/
' ); ?>">
+
<form role="search" method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
−
<div><label class="screen-reader-text" for="s">Search for:</label>
+
<div><label class="screen-reader-text" for="s">Search for:</label>
−
<input type="text" value="search = HOWTO" name="s" id="s" onfocus="if (
t his
.value == 'Search & Hit Enter') {this.value = '';}" onblur="if (this.value ==
'') {this.value = 'Search &
Hit Enter';}" />
+
<input type="text" value="search = HOWTO" name="s" id="s" onfocus="if (
this
.value == 'Search & Hit Enter') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search &
H$
</div></form>
−
</div> </form>
+
+
+
+
+
</pre>
</pre>
Author
Bureaucrats
,
Administrators
286
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Linux
Debian + Ubuntu
Apache Webserver
Openbox
SME server
Privoxy Tor
Postfix
Tinycore Linux
Tools
MySQL
MySQL
Wordpress
Customize
Unix
FreeBSD
Router OS
openwrt
pfsense
fritzbox
Netio Koukaam Wiki
netio-230a/b
Mediawiki
MediaWiki
Tools
Special pages
Printable version