Title: widget.php
Last modified: August 19, 2016

---

# widget.php

 *  [literb](https://wordpress.org/support/users/literb/)
 * (@literb)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/widgetphp/)
 * hi,
 * I need to edit the widget.php file to change the widget-search.
    As now it look
   like this:
 *  <p id=”widget-search”>
    <input type=”text” id=”widget-search-input” name=”s”
   value=”<?php echo attribute_escape( $widget_search ); ?>” /> <input type=”submit”
   class=”button” value=”<?php _e( ‘Search Widgets’ ); ?>” /> </p>
 * I like to change it to this if possible:
 *  <li id=”Search”>
    <form method=”get” id=”search_form” action=”<?php bloginfo(‘
   home’); ?>/”> <input type=”text” class=”search_input” value=”Recherche, tapez
   puis enter” name=”s” id=”s” onfocus=”if (this.value == ‘Recherche, tapez puis
   enter’) {this.value = ”;}” onblur=”if (this.value == ”) {this.value = ‘Recherche,
   tapez puis enter’;}” /> <input type=”hidden” id=”searchsubmit” value=”Search”/
   ></form>
 * I’m not sure if I should just replace it or not ??
    Can someone help me ??

The topic ‘widget.php’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [literb](https://wordpress.org/support/users/literb/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/widgetphp/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
