Title: include only option
Last modified: August 21, 2016

---

# include only option

 *  Resolved [selinaxxx](https://wordpress.org/support/users/selinaxxx/)
 * (@selinaxxx)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/include-only-option/)
 * hey,
 * you have a very nice plugin here, but it would be the best if two more options
   were added.
 * First, can you make it possible to make available only selected categories to
   show in dropdown? you have exclude option, but i have thousands of categories
   and i want only 50-60 of them to show there, so, instead of picking thousands
   of categories to exclude, can i just pick certain categories to show?
 * Secondly, it would be awesome if ranges were within range sliders instead of 
   dropdown etc..
 * Regards,
 * [https://wordpress.org/plugins/ultimate-wp-query-search-filter/](https://wordpress.org/plugins/ultimate-wp-query-search-filter/)

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

 *  Plugin Author [TC.K](https://wordpress.org/support/users/wp_dummy/)
 * (@wp_dummy)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/include-only-option/#post-5004382)
 * For the first question, you can change the exclude to include by using this filter`
   uwpqsf_taxonomy_arg()’.
 * eg
 *     ```
       add_filter('uwpqsf_taxonomy_arg', 'exclude_to_include');
       function exclude_to_include($args,$taxname,$formid){
         $newarg = array();
         $newarg['hide_empty'] = $args['hide_empty'];
         $newarg['include'] = $args['exclude'];
        return $newarg;
       }
       ```
   
 * Note that, when you using this filter to change to include, **DO NOT** check 
   the option _Exclude the term from being searched_. Otherwise it will bring you
   troubles.
 * > Secondly, it would be awesome if ranges were within range sliders instead of
   > dropdown etc..
 * I have range addon plugin which can do this, please goto [here](http://9-sec.com/downloads/ultimate-wp-query-search-filter-range-input-add-on/).
 *  Thread Starter [selinaxxx](https://wordpress.org/support/users/selinaxxx/)
 * (@selinaxxx)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/include-only-option/#post-5004385)
 * thanks, will try that.
 * will you be integrating that include option into the plugin in future releases?
 *  Plugin Author [TC.K](https://wordpress.org/support/users/wp_dummy/)
 * (@wp_dummy)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/include-only-option/#post-5004394)
 * I don’t think so.
 *  [Enis](https://wordpress.org/support/users/en-is/)
 * (@en-is)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/include-only-option/#post-5004452)
 * I came to the support forum to ask the same thing, and great to see that there
   is a solution provided by the author himself! 🙂 Thank you.
 * It’s really an amazing plugin and the only thing I was missing was the inlcude
   option instead of exlude.
 * But if I may ask, is it not better to integrate this option in future releases
   and let the user choose which options they want to use?
 * For example: I use alot of tags, and almost everyday I add a few new tags. When
   I add new tags I have to edit the forms manually. This is time consuming and 
   with an inlcude option I would not have to edit the forms.
 * Thank you again!
 *  Plugin Author [TC.K](https://wordpress.org/support/users/wp_dummy/)
 * (@wp_dummy)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/include-only-option/#post-5004453)
 * Well, seem this features has been requested by many users. So, maybe I will add
   this feature in the future update. However, I am not giving any promise right
   now, I will consider it but I can’t be 100% sure will add it in the plugin.
 *  [Enis](https://wordpress.org/support/users/en-is/)
 * (@en-is)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/include-only-option/#post-5004454)
 * Good to hear and I understand you. I appreciate it anyways.
 * Thanks (for your quick reply)! 🙂

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

The topic ‘include only option’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ultimate-wp-query-search-filter_fcfcfc.
   svg)
 * [Ultimate WP Query Search Filter](https://wordpress.org/plugins/ultimate-wp-query-search-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-wp-query-search-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-wp-query-search-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-wp-query-search-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-wp-query-search-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-wp-query-search-filter/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Enis](https://wordpress.org/support/users/en-is/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/include-only-option/#post-5004454)
 * Status: resolved