Thanks Ron. The trouble I’m having is using the Search.php. I have a form as is:
<form role=”search” action=”‘ . home_url( ‘/’ ) . ‘” method=”get”>
<input type=”hidden” name=”s” value=”test”></input>
<p><label>Beds:</label> <input type=”text” name=”beds” id=”beds” value=”” /></p>
<p><label>Baths:</label> <input type=”text” name=”baths” id=”listing_baths” value=”” /></p>
<input type=”submit” value=”Search”></input>
</form>’;
As you can see I have the following <input type=”hidden” name=”s” value=”test”></input> and I test if $s is not empty but is this the right way to do it? or is there a better way?
Thanks