I want to implement a search form like this: Loan Form
In my theme I have a custom post type called Data with the Year and Money custom fields.
I googled a lot but can't find a way to submit the user inputs to a place from where I can use
WP_Query to populate the search result.
So, how to take user input from a form and use it to create a result page in WordPress?
And also please someone explain how the WordPress
?s= query works.