Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author TC.K

    (@wp_dummy)

    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

    (@werther)

    Ok. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Request – class options’ is closed to new replies.