I am trying to change the look of my searchform. It basically needs to have two text fields. I want this to be in form of a plugin, which anyone can activate. SO obviously I do not have any control over
searchform.php. And I also read that if searchform.php is present, then echo parameter is ignored (
This made me look at the code snippet under the heading "MOAR OBJECT BUFFERZ!!!" at:
I copied the code as it is and added a filter like:
However, the code seems to go in an infinite loop. I put an echo statement after lines 11 and 12. The one after 12 never gets printed while the one after line 11 keeps on getting printed continously.
I tried changing the filter to pass the argument to:
But none of these work.
Can someone please help me out?