332 posts
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Became a Top 20 Author of the Month
  • Made it to the Authors' Hall of Fame
+5 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?

1059 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+5 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

1149 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.

2627 posts Put a Donk On It
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has sold $250,000+ on Envato Market
+10 more
ThemeProvince
says

^ lol

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

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

3439 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Achieved the monthly Community Superstar Award
  • Located in United States
+2 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