If you want an icon to work as your search submission in WordPress you can do this with a basic jQuery script. It is actually not too hard. You just use something like

jQuery('#fancy_icon-198-4635').on('click', function() {

where on clicking the fancy icon you trigger a search submit click. And that search submit you just hide with some CSS.

Recommended Posts

No comment yet, add your voice below!

Add a Comment

Your email address will not be published.