Changes

Jump to navigation Jump to search
830 bytes added ,  15:57, 22 May 2017
no edit summary
Line 58: Line 58:  
<pre>
 
<pre>
 
GRANT SELECT , INSERT , UPDATE , DELETE ON  wordpress.* TO 'user'@'localhost';
 
GRANT SELECT , INSERT , UPDATE , DELETE ON  wordpress.* TO 'user'@'localhost';
 +
</pre>
 +
 +
== Customized Search Form ==
 +
create a file called searchform.php at your theme folder and enter:
 +
<pre>
 +
<form role="search" method="get" id="searchform" action="<?php echo home_url( '/                                                                                                              ' ); ?>">
 +
    <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';}" />
 +
    </div> </form>
 
</pre>
 
</pre>

Navigation menu