Where can I change the text in the search box widget? - Wordpress Solution
[Solved] - Where can I change the text in the search box widget? - Wordpress Solution |
---|
Try following codes |
here is a link to my blog site:
[[LINK href="http://caligreen.com/chriscutfries/"]]http://caligreen.com/chriscutfries/[[/LINK]]
The default text in the search box currently reads "To search, type and hit enter". I'm lost in all of the files that make up the blog, can anyone point me to the file that defines this message in the text box.
thanks,
chris
Solution - 1Hi Chris, Let me guide you through wordpress. 1) Go to wordpress root folder->wp-content->themes->your_theme->sidebar.php 2) Click on function(i guess your using some IDE) for 3) it will take you to page from where this functions comes from. 4) find with in that file and change value attribute like value="Search here..". i hope this will help to result some answer. Solution - 2In the theme folder, searchform.php (or a similar name), find Solution - 3Hi Chris, the following code create a custom Search Box:
Solution - 4Utkarsh Kukreti has right answer, in theme should be the searchform.php Solution - 5the above function creates your form .You don't need to use that function just create your form instead of calling the above function create a custom one and just change action=,name= ,and value=[ please see below bolded chars]. then you can style as you needed |
Date: 2022-10-21 05:22:33 |
Category: Wordpress |