Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Ron Rennick

    (@wpmuguru)

    You could code something to implement custom fields with the search but that feature isn’t included in the plugin.

    Thread Starter pascual963

    (@pascual963)

    Hi Ron, could you give me a hint on to which direction I should go. Thanks

    Plugin Contributor Ron Rennick

    (@wpmuguru)

    Thread Starter pascual963

    (@pascual963)

    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

    Plugin Contributor Ron Rennick

    (@wpmuguru)

    @pascual963 – I work full time and don’t take custom development projects.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘can I add custom fields to the search’ is closed to new replies.