Title: Request &#8211; class options
Last modified: August 21, 2016

---

# Request – class options

 *  Resolved [Werther](https://wordpress.org/support/users/werther/)
 * (@werther)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/request-class-options/)
 * can you add a class field on element and an option to enable bootstrap class 
   on default theme.
 * thanks for your great plugin 🙂
 * [http://wordpress.org/plugins/ajax-wp-query-search-filter/](http://wordpress.org/plugins/ajax-wp-query-search-filter/)

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

 *  Plugin Author [TC.K](https://wordpress.org/support/users/wp_dummy/)
 * (@wp_dummy)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/request-class-options/#post-4387827)
 * Actually you can add your own theme. There are filter for this,
    eg.
 *     ```
       add_filter('ajwpqsf_theme_opt', 'my_own_theme');
       function my_own_theme($theme){
       $theme[] =array(
        'name' => 'Defualt Theme 2',
        'themeid' => 'ownthme',
        'link' => 'your theme css file url',
        'id'   => 'awpqsf_id2',
        'class' => 'awpqsf_class2',
        'thumb' => 'thumbnail link url';
       return $theme;
   
       }
       ```
   
 * Parameters reference:
    Name – your theme name. (Like Default theme on the admin
   form setting page) themeid – the theme unique id link – this is your css file
   url id – the form div id (default is awpqsf_id, the div that wrapped the form)
   class = the field class thumb – the theme thumbnail url, for showing in the admin
   form setting page.
 * The default form DOM is like below:
 *     ```
       <div id="awpqsf_id">
       <div class="form_title">Form Title</div>
       <form id="ajax_wpqsffrom_186">
       <div class="awpqsf_class taxdropdown-0"></div>
       <div class="awpqsf_class cmfcheckbox-0 togglecheck"></div>
       <div class="awpqsf_class awpqsf_submit"></div>
       <div class="awpqsf_class cmfcheckbox-0 togglecheck"></div>
       <input type="button" id="awpqsf_id_btn" value="Search" alt="[Submit]" class="searchbtn">
       </div>
       </form>
       </div>
       ```
   
 *  Thread Starter [Werther](https://wordpress.org/support/users/werther/)
 * (@werther)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/request-class-options/#post-4387881)
 * Ok. Thanks.

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

The topic ‘Request – class options’ is closed to new replies.

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

 * 2 replies
 * 2 participants
 * Last reply from: [Werther](https://wordpress.org/support/users/werther/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/request-class-options/#post-4387881)
 * Status: resolved