Custom form search in wordpress

<form action="" id="search_form" method="get">
        <div class="form-group">
        <label for="name">Name</label>
            <input class="form-control " name="title" placeholder="Name" id="title" required="" data-validation-required-message="Please enter your name." type="text">
        </div>

        <div class="form-group">
        <label for="email" style="width:100%;">Location:</label>

            <input class="form-control " name="location" placeholder="Location" id="location" required="" data-validation-required-message="Please enter your location." type="text">
        </div>

        <div class="form-group">
        <label for="email">Zip Code:</label>
            <input class="form-control " name="zipcode" placeholder="Zip Code" id="zipcode" required="" data-validation-required-message="Please enter your zipcode." type="text">
        </div>

        <input type="submit" name="submit" id="search" value="Submit">
        </form>

Hi, I want to make a custom form search without using any database. I just need to match the title, location and zipcode and show the results on that same page. Please help me.

Read more here: Custom form search in wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *