There isn’t because the idea of filters is to ‘filter’ the current view. Hence it starts with all results and you narrow this down.
There are ways you could do this in your theme templates though if you wanted, for example:
1. Make a page template http://codex.wordpress.org/Page_Templates
2. Inside, next to the content, add a form (same code as the filters, with keywords and location fields)
3. Below the form add the [jobs] with http://codex.wordpress.org/Function_Reference/do_shortcode. Use show_filters=”false” on the shortcode
3. Add a conditional which only shows the [jobs] part when the location/keyword query variable is set.
Then you’d have it display only when a search is done. A dev would be able to assist here if you have trouble. jobs.wordpress.net
Hope that helps.
Thank you Mike!
Actually I would like to have something like http://churchjobs.tv/ in the front page there. You can see how the search thing works.
In the same time, the JOBS page http://churchjobs.tv/jobs/ works as required.
So I wonder if I still have to create a template thing for a shortcode in the front page.
I’m not a coder though….
I’m looking forward to your support.
Thank you.
That would be easier then.
You’d just need to create a form on your frontpage with method GET and action being the URL of your jobs page.
The form would need a field with name ‘search_keywords’ and a field with name ‘search_location’, and a submit button.
When this form is posted to your jobs page, you’ll have search_keywords and search_location in your querystring and the jobs shortcode will pick this up.
I’m so grateful Mike. I created the form (form.html) below and when accessing the form directly i.e. http://www.example.com/form.html, it takes me to the website with the keyword/location field and pulling the results.
How how do I implement that to be directly accessed from the homepage? How do I combine with the [jobs]? to put in the text widget to appear on the frontpage?
How can I have categories too in the search as it appears on http://churchjobs.tv/ ?
<form action="http://www.example.com" method="get">
<input type="text" name="search_keywords"><br>
<input type="text" name="search_location"><br>
<input type="submit" value="Submit">
</form>
Thank you.
That all depends how your theme works. Some themes have a front-page.php template, some have home, some just use an index.php file. Identify which one and add the code there.
I’d recommend (to keep this simple) having a /jobs/ page with *just* the shortcode and post the form to there.
Categories require some more code – look at the job-filters.php in the job manager plugin for the code you can use.
BTW if you are interested, the church site uses http://themeforest.net/item/jobify-wordpress-job-board-theme/5247604 A nice theme by Astoudify if you like that overall 😉
Thanks
Thank you very much.
I appreciate the advice too. You know what, I’m already using their theme. It’s a nice one.
Anyway, I guess I’m going to give up on that feature and find other look for my front page.
Thank you so much for your unwavering support, Mike.