How to edit search box default text

Hello all

First i want to thank the autor for this excelent free theme, keep up the good work!.

I want to change the default shadow text “Search…” inside the searh box.

I tried editing the “value” field in the following line in searchform.php:

<input type=“search” class=“search-field” placeholder="<?php echo esc_attr_x( ‘Search …’, ‘placeholder’, ‘sparkling’ ); ?>" value="<?php echo esc_attr( get_search_query() ); ?>" name=“s”>`

But this doesnt work…


There is a filter inside extras.php that overwrites it. So you need to edit function called sparkling_wpsearch inside that file and not searcform.php

It works perfect. Thanks!