Title: Shortcode for FILTERS only!
Last modified: August 21, 2016

---

# Shortcode for FILTERS only!

 *  Resolved [coyotito](https://wordpress.org/support/users/coyotito/)
 * (@coyotito)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/shortcode-for-filters-only/)
 * I’m so much in love with this plugin and would like to know if there’s a shortcode
   to display FILTERS only. It’s after entering the keyword and click search that
   the results will appear below the filters.
 * The shortcode [jobs] displays filters and jobs at a time. Any way of changing
   this?
 * Thank you for your support.
 * [https://wordpress.org/plugins/wp-job-manager/](https://wordpress.org/plugins/wp-job-manager/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/shortcode-for-filters-only/#post-4708750)
 * 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](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](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.
 *  Thread Starter [coyotito](https://wordpress.org/support/users/coyotito/)
 * (@coyotito)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/shortcode-for-filters-only/#post-4708874)
 * Thank you Mike!
 * Actually I would like to have something like [http://churchjobs.tv/](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/](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.
 *  Plugin Author [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/shortcode-for-filters-only/#post-4708902)
 * 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.
 *  Thread Starter [coyotito](https://wordpress.org/support/users/coyotito/)
 * (@coyotito)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/shortcode-for-filters-only/#post-4708905)
 * 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](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/](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.
 *  Plugin Author [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/shortcode-for-filters-only/#post-4708908)
 * 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](http://themeforest.net/item/jobify-wordpress-job-board-theme/5247604)
   A nice theme by Astoudify if you like that overall 😉
 * Thanks
 *  Thread Starter [coyotito](https://wordpress.org/support/users/coyotito/)
 * (@coyotito)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/shortcode-for-filters-only/#post-4708916)
 * 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.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Shortcode for FILTERS only!’ is closed to new replies.

 * ![](https://ps.w.org/wp-job-manager/assets/icon-256x256.gif?rev=2975257)
 * [WP Job Manager](https://wordpress.org/plugins/wp-job-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-job-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-job-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-job-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-job-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-job-manager/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 6 replies
 * 2 participants
 * Last reply from: [coyotito](https://wordpress.org/support/users/coyotito/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/shortcode-for-filters-only/#post-4708916)
 * Status: resolved