332 posts
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
  • Elite Author: Sold more than $75,000 on Envato Market
+4 more
CadenGrant says

Is there anyway to customize the output of the default WP widgets for your theme?

For instance, on the searchbar, I don’t want it to display the “search” button or the “Search for:” text.

Instead I want to use javascript to put text inside the search bar (To search, type and hit enter) so when they click on it it removes the text, etc. I know how to do this part but I don’t know how to edit the default searchbar widget output.

Anybody know how?

575 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+3 more
Gareth_Gillman says

Create a searchform.php and put in your own custom search form, then call the search form by using

<?php get_search_form(); ?>

More info

1148 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+3 more
fillerspace says

Instead I want to use javascript to put text inside the search bar (To search, type and hit enter) so when they click on it it removes the text, etc. I know how to do this part but I don’t know how to edit the default searchbar widget output.

For backwards compatibility for people with Javascript disabled, you should remove the search button with Javascript and then bind to click, focus, change events, etc. With Javascript disabled it will just look like a search form.

2570 posts Put a Donk On It
  • Has referred 200+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+10 more
ThemeProvince says

^ lol

1 post
  • Has been part of the Envato Community for over 3 years
kyrul says

phoenix : could u have any free premium theme for wordpress?

3228 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says

phoenix : could u have any free premium theme for wordpress?

yup he has them right here

by
by
by
by
by
by