ThemeShaper Forums » Thematic

changing search field value

(3 posts)
  • Started 12 years ago by juergengenser
  • Latest reply from cannobbio
  • This topic is resolved
  1. Hello,

    I'm desperately trying to figure out how to change the search-field value text ("To search, type and hit enter"). Can I do that by writing a function in my functions.php?


    Posted 12 years ago #
  2. Try this in your child theme functions.php, making changes where you see necessary:

    add_filter('search_field_value', 'my_search_field_value');
    function my_search_field_value($value) {
    	return 'the text you want to use';
    Posted 12 years ago #
  3. cannobbio

    Thank you nathanrice, I was looking for that also.

    Posted 12 years ago #

RSS feed for this topic


You must log in to post.