Example #1
0
function dslc_downloads_module_init()
{
    if (!dslc_is_module_active('DSLC_Downloads', true)) {
        return;
    }
    $capability = dslc_get_option('lc_min_capability_downloads_m', 'dslc_plugin_options_access_control');
    if (!$capability) {
        $capability = 'publish_posts';
    }
    // With Front
    $with_front = dslc_get_option('with_front', 'dslc_plugin_options_cpt_slugs');
    if (empty($with_front)) {
        $with_front = 'disabled';
    }
    if ($with_front == 'enabled') {
        $with_front = true;
    } else {
        $with_front = false;
    }
    /**
     * Custom Post Type
     */
    register_post_type('dslc_downloads', array('menu_icon' => 'dashicons-download', 'labels' => array('name' => __('Downloads', 'dslc_string'), 'singular_name' => __('Download Item', 'dslc_string'), 'add_new' => __('Add Download Item', 'dslc_string'), 'add_new_item' => __('Add Download Item', 'dslc_string'), 'edit' => __('Edit', 'dslc_string'), 'edit_item' => __('Edit Download Item', 'dslc_string'), 'new_item' => __('New Download Item', 'dslc_string'), 'view' => __('View Download Item', 'dslc_string'), 'view_item' => __('View Download Item', 'dslc_string'), 'search_items' => __('Search Download Item', 'dslc_string'), 'not_found' => __('No Download Item found', 'dslc_string'), 'not_found_in_trash' => __('No Download Item found in Trash', 'dslc_string'), 'parent' => __('Parent Download Item', 'dslc_string')), 'public' => true, 'rewrite' => array('slug' => dslc_get_option('downloads_slug', 'dslc_plugin_options_cpt_slugs'), 'with_front' => $with_front), 'supports' => array('title', 'custom-fields', 'excerpt', 'editor', 'author', 'thumbnail', 'comments'), 'capabilities' => array('publish_posts' => $capability, 'edit_posts' => $capability, 'edit_others_posts' => $capability, 'delete_posts' => $capability, 'delete_others_posts' => $capability, 'read_private_posts' => $capability, 'edit_post' => $capability, 'delete_post' => $capability, 'read_post' => $capability)));
    /**
     * Custom Taxonomies
     */
    register_taxonomy('dslc_downloads_cats', 'dslc_downloads', array('labels' => array('name' => __('Downloads Categories', 'dslc_string'), 'singular_name' => __('Category', 'dslc_string'), 'search_items' => __('Search Categories', 'dslc_string'), 'all_items' => __('All Categories', 'dslc_string'), 'parent_item' => __('Parent Category', 'dslc_string'), 'parent_item_colon' => __('Parent Category:', 'dslc_string'), 'edit_item' => __('Edit Category', 'dslc_string'), 'update_item' => __('Update Category', 'dslc_string'), 'add_new_item' => __('Add New Category', 'dslc_string'), 'new_item_name' => __('New Category Name', 'dslc_string'), 'menu_name' => __('Categories', 'dslc_string')), 'hierarchical' => true, 'public' => true, 'rewrite' => array('slug' => dslc_get_option('downloads_cats_slug', 'dslc_plugin_options_cpt_slugs'), 'with_front' => $with_front), 'capabilities' => array('manage_terms' => $capability, 'edit_terms' => $capability, 'delete_terms' => $capability, 'assign_terms' => $capability)));
    register_taxonomy('dslc_downloads_tags', 'dslc_downloads', array('labels' => array('name' => __('Downloads Tags', 'dslc_string'), 'singular_name' => __('Tag', 'dslc_string'), 'search_items' => __('Search Tags', 'dslc_string'), 'all_items' => __('All Tags', 'dslc_string'), 'parent_item' => __('Parent Tag', 'dslc_string'), 'parent_item_colon' => __('Parent Tag:', 'dslc_string'), 'edit_item' => __('Edit Tag', 'dslc_string'), 'update_item' => __('Update Tag', 'dslc_string'), 'add_new_item' => __('Add New Tag', 'dslc_string'), 'new_item_name' => __('New Tag Name', 'dslc_string'), 'menu_name' => __('Tags', 'dslc_string')), 'hierarchical' => false, 'public' => true, 'rewrite' => array('slug' => dslc_get_option('downloads_tags_slug', 'dslc_plugin_options_cpt_slugs'), 'with_front' => $with_front), 'capabilities' => array('manage_terms' => $capability, 'edit_terms' => $capability, 'delete_terms' => $capability, 'assign_terms' => $capability)));
    /**
     * Post Options
     */
    global $dslc_var_post_options;
    $dslc_var_post_options['dslc-downloads-module-options'] = array('title' => 'Download Options', 'show_on' => 'dslc_downloads', 'options' => array(array('label' => 'Downloadable File - Self Hosted', 'descr' => 'If you want the file hosted on your server you can upload and choose it here.', 'std' => '', 'id' => 'dslc_download_file', 'type' => 'file'), array('label' => 'Downloadable File - URL', 'descr' => 'If the file is already hosted somewhere else you can set the URL to it here.', 'std' => '', 'id' => 'dslc_download_url', 'type' => 'text')));
}
Example #2
0
/**
 * Register Post Types and Taxonomies
 *
 * @since 1.0
 */
function dslc_partners_module_cpt()
{
    // If module not active return
    if (!dslc_is_module_active('DSLC_Partners', true)) {
        return;
    }
    // Get capability
    $capability = dslc_get_option('lc_min_capability_partners_m', 'dslc_plugin_options_access_control');
    if (!$capability) {
        $capability = 'publish_posts';
    }
    // With Front
    $with_front = dslc_get_option('with_front', 'dslc_plugin_options_cpt_slugs');
    if (empty($with_front)) {
        $with_front = 'disabled';
    }
    if ($with_front == 'enabled') {
        $with_front = true;
    } else {
        $with_front = false;
    }
    /**
     * Register Post Type
     */
    // Arguments
    $cpt_args = array('menu_icon' => 'dashicons-groups', 'labels' => array('name' => __('Partners', 'live-composer-page-builder'), 'singular_name' => __('Partner', 'live-composer-page-builder'), 'add_new' => __('Add Partner', 'live-composer-page-builder'), 'add_new_item' => __('Add Partner', 'live-composer-page-builder'), 'edit' => __('Edit', 'live-composer-page-builder'), 'edit_item' => __('Edit Partner', 'live-composer-page-builder'), 'new_item' => __('New Partner', 'live-composer-page-builder'), 'view' => __('View Partner', 'live-composer-page-builder'), 'view_item' => __('View Partner', 'live-composer-page-builder'), 'search_items' => __('Search Partner', 'live-composer-page-builder'), 'not_found' => __('No Partner found', 'live-composer-page-builder'), 'not_found_in_trash' => __('No Partner found in Trash', 'live-composer-page-builder'), 'parent' => __('Parent Partner', 'live-composer-page-builder')), 'public' => true, 'rewrite' => array('slug' => dslc_get_option('partners_slug', 'dslc_plugin_options_cpt_slugs'), 'with_front' => $with_front), 'supports' => array('title', 'custom-fields', 'excerpt', 'editor', 'author', 'thumbnail', 'comments'), 'capabilities' => array('publish_posts' => $capability, 'edit_posts' => $capability, 'edit_others_posts' => $capability, 'delete_posts' => $capability, 'delete_others_posts' => $capability, 'read_private_posts' => $capability, 'edit_post' => $capability, 'delete_post' => $capability, 'read_post' => $capability));
    // Apply filters
    $cpt_args = apply_filters('dslc_partners_cpt_args', $cpt_args);
    // Register post type
    register_post_type('dslc_partners', $cpt_args);
    /**
     * Register Taxonomy ( Category )
     */
    // Arguments
    $cats_args = array('labels' => array('name' => __('Partners Categories', 'live-composer-page-builder'), 'singular_name' => __('Category', 'live-composer-page-builder'), 'search_items' => __('Search Categories', 'live-composer-page-builder'), 'all_items' => __('All Categories', 'live-composer-page-builder'), 'parent_item' => __('Parent Category', 'live-composer-page-builder'), 'parent_item_colon' => __('Parent Category:', 'live-composer-page-builder'), 'edit_item' => __('Edit Category', 'live-composer-page-builder'), 'update_item' => __('Update Category', 'live-composer-page-builder'), 'add_new_item' => __('Add New Category', 'live-composer-page-builder'), 'new_item_name' => __('New Category Name', 'live-composer-page-builder'), 'menu_name' => __('Categories', 'live-composer-page-builder')), 'hierarchical' => true, 'public' => true, 'rewrite' => array('slug' => dslc_get_option('partners_cats_slug', 'dslc_plugin_options_cpt_slugs'), 'with_front' => $with_front));
    // Apply filters
    $cats_args = apply_filters('dslc_partners_cats_args', $cats_args);
    // Register taxonomy
    register_taxonomy('dslc_partners_cats', 'dslc_partners', $cats_args);
}
Example #3
0
function dslc_timeline_module_cpt()
{
    if (!dslc_is_module_active('AS_Timeline', true)) {
        return;
    }
    $capability = dslc_get_option('lc_min_capability_timeline_m', 'dslc_plugin_options_access_control');
    if (!$capability) {
        $capability = 'publish_posts';
    }
    // With Front
    $with_front = dslc_get_option('with_front', 'dslc_plugin_options_cpt_slugs');
    if (empty($with_front)) {
        $with_front = 'disabled';
    }
    if ($with_front == 'enabled') {
        $with_front = true;
    } else {
        $with_front = false;
    }
    register_post_type('dslc_timeline', array('menu_icon' => 'dashicons-feedback', 'labels' => array('name' => __('Timeline', 'dslc_string'), 'singular_name' => __('Timeline', 'dslc_string'), 'add_new' => __('Add Timeline', 'dslc_string'), 'add_new_item' => __('Add Timeline', 'dslc_string'), 'edit' => __('Edit', 'dslc_string'), 'edit_item' => __('Edit Timeline', 'dslc_string'), 'new_item' => __('New Timeline', 'dslc_string'), 'view' => __('View Timeline', 'dslc_string'), 'view_item' => __('View Timeline', 'dslc_string'), 'search_items' => __('Search Timeline', 'dslc_string'), 'not_found' => __('No Timeline found', 'dslc_string'), 'not_found_in_trash' => __('No Timeline found in Trash', 'dslc_string'), 'parent' => __('Parent Timeline', 'dslc_string')), 'public' => true, 'rewrite' => array('slug' => dslc_get_option('timeline_slug', 'dslc_plugin_options_cpt_slugs'), 'with_front' => $with_front), 'supports' => array('title', 'custom-fields', 'excerpt', 'editor', 'author', 'thumbnail', 'comments'), 'capabilities' => array('publish_posts' => $capability, 'edit_posts' => $capability, 'edit_others_posts' => $capability, 'delete_posts' => $capability, 'delete_others_posts' => $capability, 'read_private_posts' => $capability, 'edit_post' => $capability, 'delete_post' => $capability, 'read_post' => $capability)));
    register_taxonomy('dslc_timeline_cats', 'dslc_timeline', array('labels' => array('name' => __('Timeline Categories', 'dslc_string'), 'singular_name' => __('Category', 'dslc_string'), 'search_items' => __('Search Categories', 'dslc_string'), 'all_items' => __('All Categories', 'dslc_string'), 'parent_item' => __('Parent Category', 'dslc_string'), 'parent_item_colon' => __('Parent Category:', 'dslc_string'), 'edit_item' => __('Edit Category', 'dslc_string'), 'update_item' => __('Update Category', 'dslc_string'), 'add_new_item' => __('Add New Category', 'dslc_string'), 'new_item_name' => __('New Category Name', 'dslc_string'), 'menu_name' => __('Categories', 'dslc_string')), 'hierarchical' => true, 'public' => true, 'rewrite' => array('slug' => dslc_get_option('timeline_cats_slug', 'dslc_plugin_options_cpt_slugs'), 'with_front' => $with_front), 'capabilities' => array('manage_terms' => $capability, 'edit_terms' => $capability, 'delete_terms' => $capability, 'assign_terms' => $capability)));
}
Example #4
0
<?php

if (dslc_is_module_active('DSLC_Projects')) {
    include DS_LIVE_COMPOSER_ABS . '/modules/projects/functions.php';
}
class DSLC_Projects extends DSLC_Module
{
    var $module_id;
    var $module_title;
    var $module_icon;
    var $module_category;
    function __construct()
    {
        $this->module_id = 'DSLC_Projects';
        $this->module_title = __('Projects', 'dslc_string');
        $this->module_icon = 'th';
        $this->module_category = 'posts';
    }
    function options()
    {
        $cats = get_terms('dslc_projects_cats');
        $cats_choices = array();
        foreach ($cats as $cat) {
            $cats_choices[] = array('label' => $cat->name, 'value' => $cat->slug);
        }
        $dslc_options = array(array('label' => __('Show On', 'dslc_string'), 'id' => 'css_show_on', 'std' => 'desktop tablet phone', 'type' => 'checkbox', 'choices' => array(array('label' => __('Desktop', 'dslc_string'), 'value' => 'desktop'), array('label' => __('Tablet', 'dslc_string'), 'value' => 'tablet'), array('label' => __('Phone', 'dslc_string'), 'value' => 'phone'))), array('label' => __('Link', 'dslc_string'), 'id' => 'link', 'std' => 'permalink', 'type' => 'select', 'help' => __('<strong>Link to project page</strong> links to the project page on this website.<br><strong>Link to custom project URL</strong> links to the URL set in the project options.', 'dslc_string'), 'choices' => array(array('label' => __('Link to project page', 'dslc_string'), 'value' => 'permalink'), array('label' => __('Link to custom project URL', 'dslc_string'), 'value' => 'custom'))), array('label' => __('Link Target', 'dslc_string'), 'id' => 'link_target', 'std' => '_self', 'type' => 'select', 'choices' => array(array('label' => __('Same tab', 'dslc_string'), 'value' => '_self'), array('label' => __('New tab', 'dslc_string'), 'value' => '_blank'))), array('label' => __('Type', 'dslc_string'), 'id' => 'type', 'std' => 'grid', 'type' => 'select', 'choices' => array(array('label' => __('Grid', 'dslc_string'), 'value' => 'grid'), array('label' => __('Masonry Grid', 'dslc_string'), 'value' => 'masonry'), array('label' => __('Carousel', 'dslc_string'), 'value' => 'carousel'))), array('label' => __('Orientation', 'dslc_string'), 'id' => 'orientation', 'std' => 'vertical', 'type' => 'select', 'choices' => array(array('label' => __('Vertical', 'dslc_string'), 'value' => 'vertical'), array('label' => __('Horizontal', 'dslc_string'), 'value' => 'horizontal'))), array('label' => __('Posts Per Page', 'dslc_string'), 'id' => 'amount', 'std' => '8', 'type' => 'text'), array('label' => __('Pagination', 'dslc_string'), 'id' => 'pagination_type', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled'), array('label' => __('Numbered', 'dslc_string'), 'value' => 'numbered'), array('label' => __('Prev/Next', 'dslc_string'), 'value' => 'prevnext'))), array('label' => __('Posts Per Row', 'dslc_string'), 'id' => 'columns', 'std' => '3', 'type' => 'select', 'choices' => $this->shared_options('posts_per_row_choices')), array('label' => __('Categories', 'dslc_string'), 'id' => 'categories', 'std' => '', 'type' => 'checkbox', 'choices' => $cats_choices), array('label' => __('Categories Operator', 'dslc_string'), 'id' => 'categories_operator', 'std' => 'IN', 'help' => __('<strong>IN</strong> - Posts must be in at least one chosen category.<br><strong>AND</strong> - Posts must be in all chosen categories.<br><strong>NOT IN</strong> Posts must not be in the chosen categories.', 'dslc_string'), 'type' => 'select', 'choices' => array(array('label' => __('IN', 'dslc_string'), 'value' => 'IN'), array('label' => __('AND', 'dslc_string'), 'value' => 'AND'), array('label' => __('NOT IN', 'dslc_string'), 'value' => 'NOT IN'))), array('label' => __('Order By', 'dslc_string'), 'id' => 'orderby', 'std' => 'date', 'type' => 'select', 'choices' => array(array('label' => __('Publish Date', 'dslc_string'), 'value' => 'date'), array('label' => __('Modified Date', 'dslc_string'), 'value' => 'modified'), array('label' => __('Random', 'dslc_string'), 'value' => 'rand'), array('label' => __('Alphabetic', 'dslc_string'), 'value' => 'title'), array('label' => __('Comment Count', 'dslc_string'), 'value' => 'comment_count'))), array('label' => __('Order', 'dslc_string'), 'id' => 'order', 'std' => 'DESC', 'type' => 'select', 'choices' => array(array('label' => __('Ascending', 'dslc_string'), 'value' => 'ASC'), array('label' => __('Descending', 'dslc_string'), 'value' => 'DESC'))), array('label' => __('Offset', 'dslc_string'), 'id' => 'offset', 'std' => '0', 'type' => 'text'), array('label' => __('Include (IDs)', 'dslc_string'), 'id' => 'query_post_in', 'std' => '', 'type' => 'text'), array('label' => __('Exclude (IDs)', 'dslc_string'), 'id' => 'query_post_not_in', 'std' => '', 'type' => 'text'), array('label' => __('Elements', 'dslc_string'), 'id' => 'elements', 'std' => '', 'type' => 'checkbox', 'choices' => array(array('label' => __('Heading', 'dslc_string'), 'value' => 'main_heading'), array('label' => __('Filters', 'dslc_string'), 'value' => 'filters')), 'section' => 'styling'), array('label' => __('Post Elements', 'dslc_string'), 'id' => 'post_elements', 'std' => 'thumbnail categories title', 'type' => 'checkbox', 'choices' => array(array('label' => __('Thumbnail', 'dslc_string'), 'value' => 'thumbnail'), array('label' => __('Title', 'dslc_string'), 'value' => 'title'), array('label' => __('Categories', 'dslc_string'), 'value' => 'categories'), array('label' => __('Excerpt', 'dslc_string'), 'value' => 'excerpt'), array('label' => __('Button', 'dslc_string'), 'value' => 'button')), 'section' => 'styling'), array('label' => __('Carousel Elements', 'dslc_string'), 'id' => 'carousel_elements', 'std' => 'arrows circles', 'type' => 'checkbox', 'choices' => array(array('label' => __('Arrows', 'dslc_string'), 'value' => 'arrows'), array('label' => __('Circles', 'dslc_string'), 'value' => 'circles')), 'section' => 'styling'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-projects', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Enable/Disable', 'dslc_string'), 'id' => 'separator_enabled', 'std' => 'enabled', 'type' => 'select', 'choices' => array(array('label' => __('Enabled', 'dslc_string'), 'value' => 'enabled'), array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled')), 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('Color', 'dslc_string'), 'id' => 'css_sep_border_color', 'std' => '#ededed', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('Height', 'dslc_string'), 'id' => 'css_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 0, 'max' => 300, 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('Thickness', 'dslc_string'), 'id' => 'css_sep_thickness', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-bottom-width', 'ext' => 'px', 'min' => 0, 'max' => 50, 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('Style', 'dslc_string'), 'id' => 'css_sep_style', 'std' => 'dashed', 'type' => 'select', 'choices' => array(array('label' => __('Invisible', 'dslc_string'), 'value' => 'none'), array('label' => __('Solid', 'dslc_string'), 'value' => 'solid'), array('label' => __('Dashed', 'dslc_string'), 'value' => 'dashed'), array('label' => __('Dotted', 'dslc_string'), 'value' => 'dotted')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('BG Color', 'dslc_string'), 'id' => 'css_thumbnail_bg_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_thumb_border_color', 'std' => '#e6e6e6', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_thumb_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Borders', 'dslc_string'), 'id' => 'css_thumb_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom'), array('label' => __('Left', 'dslc_string'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Border Radius - Top', 'dslc_string'), 'id' => 'css_thumbnail_border_radius_top', 'std' => '4', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner, .dslc-project-thumb img', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string'), 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'dslc_string'), 'id' => 'css_thumbnail_border_radius_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner, .dslc-project-thumb img', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_thumbnail_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Padding Horizontal', 'dslc_string'), 'id' => 'css_thumbnail_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Resize - Height', 'dslc_string'), 'id' => 'thumb_resize_height', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('thumbnail', 'dslc_string')), array('label' => __('Resize - Width', 'dslc_string'), 'id' => 'thumb_resize_width_manual', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('thumbnail', 'dslc_string')), array('label' => __('Resize - Width', 'dslc_string'), 'id' => 'thumb_resize_width', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('thumbnail', 'dslc_string'), 'visibility' => 'hidden'), array('label' => __('Width', 'dslc_string'), 'id' => 'thumb_width', 'std' => '100', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-thumb', 'affect_on_change_rule' => 'width', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string'), 'min' => 1, 'max' => 100, 'ext' => '%'), array('label' => __('Location', 'dslc_string'), 'id' => 'main_location', 'std' => 'bellow', 'type' => 'select', 'section' => 'styling', 'tab' => __('Main', 'dslc_string'), 'choices' => array(array('label' => __('Bellow Thumbnail', 'dslc_string'), 'value' => 'bellow'), array('label' => __('Inside Thumbnail ( hover )', 'dslc_string'), 'value' => 'inside'), array('label' => __('Inside Thumbnail ( always visible )', 'dslc_string'), 'value' => 'inside_visible'))), array('label' => __(' BG Color', 'dslc_string'), 'id' => 'css_main_bg_color', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_main_border_color', 'std' => '#e6e6e6', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_main_border_width', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'dslc_string')), array('label' => __('Borders', 'dslc_string'), 'id' => 'css_main_border_trbl', 'std' => 'right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom'), array('label' => __('Left', 'dslc_string'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Border Radius - Top', 'dslc_string'), 'id' => 'css_main_border_radius_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'tab' => __('Main', 'dslc_string'), 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'dslc_string'), 'id' => 'css_main_border_radius_bottom', 'std' => '4', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'tab' => __('Main', 'dslc_string'), 'ext' => 'px'), array('label' => __('Minimum Height', 'dslc_string'), 'id' => 'css_main_min_height', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'min-height', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'dslc_string'), 'min' => 0, 'max' => 500), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_main_padding_vertical', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'dslc_string')), array('label' => __('Padding Horizontal', 'dslc_string'), 'id' => 'css_main_padding_horizontal', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'dslc_string')), array('label' => __('Text Align', 'dslc_string'), 'id' => 'css_main_text_align', 'std' => 'center', 'type' => 'text_align', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'text-align', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Position', 'dslc_string'), 'id' => 'main_position', 'std' => 'center', 'type' => 'select', 'section' => 'styling', 'tab' => __('Main Inner', 'dslc_string'), 'choices' => array(array('label' => __('Top Left', 'dslc_string'), 'value' => 'topleft'), array('label' => __('Top Right', 'dslc_string'), 'value' => 'topright'), array('label' => __('Center', 'dslc_string'), 'value' => 'center'), array('label' => __('Bottom Left', 'dslc_string'), 'value' => 'bottomleft'), array('label' => __('Bottom Right', 'dslc_string'), 'value' => 'bottomright'))), array('label' => __('Margin', 'dslc_string'), 'id' => 'css_main_inner_margin', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main-inner', 'affect_on_change_rule' => 'margin', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main Inner', 'dslc_string')), array('label' => __('Width', 'dslc_string'), 'id' => 'css_main_inner_width', 'std' => '100', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main-inner', 'affect_on_change_rule' => 'width', 'section' => 'styling', 'ext' => '%', 'tab' => __('Main Inner', 'dslc_string')), array('label' => __('Color', 'dslc_string'), 'id' => 'css_title_color', 'std' => '#000000', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2 a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Color - Hover', 'dslc_string'), 'id' => 'css_title_color_hover', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2:hover a,.dslc-project-title h2 a:hover', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Font Size', 'dslc_string'), 'id' => 'css_title_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight', 'dslc_string'), 'id' => 'css_title_font_weight', 'std' => '700', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'dslc_string'), 'id' => 'css_title_font_family', 'std' => 'Open Sans', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Line Height', 'dslc_string'), 'id' => 'css_title_line_height', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_title_margin_bottom', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Text Transform', 'dslc_string'), 'id' => 'css_title_text_transform', 'std' => 'none', 'type' => 'select', 'choices' => array(array('label' => __('None', 'dslc_string'), 'value' => 'none'), array('label' => __('Capitalize', 'dslc_string'), 'value' => 'capitalize'), array('label' => __('Uppercase', 'dslc_string'), 'value' => 'uppercase'), array('label' => __('Lowercase', 'dslc_string'), 'value' => 'lowercase')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2', 'affect_on_change_rule' => 'text-transform', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Color', 'dslc_string'), 'id' => 'css_cats_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Categories', 'dslc_string')), array('label' => __('Font Size', 'dslc_string'), 'id' => 'css_cats_font_size', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Categories', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight', 'dslc_string'), 'id' => 'css_cats_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Categories', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'dslc_string'), 'id' => 'css_cats_font_family', 'std' => 'Droid Serif', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Categories', 'dslc_string')), array('label' => __('Font Style', 'dslc_string'), 'id' => 'css_cats_font_style', 'std' => 'italic', 'type' => 'select', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'font-style', 'section' => 'styling', 'tab' => __('Categories', 'dslc_string'), 'choices' => array(array('label' => __('Normal', 'dslc_string'), 'value' => 'normal'), array('label' => __('Italic', 'dslc_string'), 'value' => 'italic'))), array('label' => __('Line Height', 'dslc_string'), 'id' => 'css_cats_line_height', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Categories', 'dslc_string'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_cats_margin-bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Categories', 'dslc_string')), array('label' => __('Excerpt or Content', 'dslc_string'), 'id' => 'excerpt_or_content', 'std' => 'excerpt', 'type' => 'select', 'choices' => array(array('label' => __('Excerpt', 'dslc_string'), 'value' => 'excerpt'), array('label' => __('Content', 'dslc_string'), 'value' => 'content')), 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string')), array('label' => __('Border Top Color', 'dslc_string'), 'id' => 'css_excerpt_border_color', 'std' => '#e6e6e6', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'border-top-color', 'section' => 'styling', 'tab' => __('excerpt', 'dslc_string')), array('label' => __('Border Top Width', 'dslc_string'), 'id' => 'css_excerpt_border_width', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'border-top-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('excerpt', 'dslc_string')), array('label' => __('Border Top Style', 'dslc_string'), 'id' => 'css_excerpt_border_style', 'std' => 'solid', 'type' => 'select', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'border-top-style', 'section' => 'styling', 'choices' => array(array('label' => __('Solid', 'dslc_string'), 'value' => 'solid'), array('label' => __('Dashed', 'dslc_string'), 'value' => 'dashed'), array('label' => __('Dotted', 'dslc_string'), 'value' => 'dotted')), 'tab' => __('excerpt', 'dslc_string')), array('label' => __('Color', 'dslc_string'), 'id' => 'css_excerpt_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string')), array('label' => __('Font Size', 'dslc_string'), 'id' => 'css_excerpt_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight', 'dslc_string'), 'id' => 'css_excerpt_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'dslc_string'), 'id' => 'css_excerpt_font_family', 'std' => 'Open Sans', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string')), array('label' => __('Line Height', 'dslc_string'), 'id' => 'css_excerpt_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt, .dslc-project-excerpt p', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'excerpt_margin', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('excerpt', 'dslc_string')), array('label' => __('Max Length ( amount of words )', 'dslc_string'), 'id' => 'excerpt_length', 'std' => '20', 'type' => 'text', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string')), array('label' => __('Padding Top', 'dslc_string'), 'id' => 'css_excerpt_padding', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'padding-top', 'section' => 'styling', 'ext' => 'px', 'tab' => __('excerpt', 'dslc_string')), array('label' => __('Text', 'dslc_string'), 'id' => 'button_text', 'std' => 'VIEW PROJECT', 'type' => 'text', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('BG Color', 'dslc_string'), 'id' => 'css_button_bg_color', 'std' => '#5890e5', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('BG Color - Hover', 'dslc_string'), 'id' => 'css_button_bg_color_hover', 'std' => '#477ccc', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a:hover', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_button_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'tab' => __('Button', 'dslc_string'), 'ext' => 'px'), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_button_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Border Color - Hover', 'dslc_string'), 'id' => 'css_button_border_color_hover', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a:hover', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Border Radius', 'dslc_string'), 'id' => 'css_button_border_radius', 'std' => '3', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'border-radius', 'section' => 'styling', 'tab' => __('Button', 'dslc_string'), 'ext' => 'px'), array('label' => __('Color', 'dslc_string'), 'id' => 'css_button_color', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Color - Hover', 'dslc_string'), 'id' => 'css_button_color_hover', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a:hover', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Font Size', 'dslc_string'), 'id' => 'css_button_font_size', 'std' => '11', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Button', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight', 'dslc_string'), 'id' => 'css_button_font_weight', 'std' => '800', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Button', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'dslc_string'), 'id' => 'css_button_font_family', 'std' => 'Open Sans', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_button_padding_vertical', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Button', 'dslc_string')), array('label' => __('Padding Horizontal', 'dslc_string'), 'id' => 'css_button_padding_horizontal', 'std' => '16', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Button', 'dslc_string')), array('label' => __('Icon', 'dslc_string'), 'id' => 'button_icon_id', 'std' => '', 'type' => 'icon', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Icon - Color', 'dslc_string'), 'id' => 'css_button_icon_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a .dslc-icon', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Icon - Margin Right', 'dslc_string'), 'id' => 'css_button_icon_margin', 'std' => '5', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a .dslc-icon', 'affect_on_change_rule' => 'margin-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Button', 'dslc_string')), array('label' => __('Responsive Styling', 'dslc_string'), 'id' => 'css_res_t', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled'), array('label' => __('Enabled', 'dslc_string'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-projects', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Separator - Height', 'dslc_string'), 'id' => 'css_res_t_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 1, 'max' => 300, 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Thumbnail - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Thumbnail - Padding Vertical', 'dslc_string'), 'id' => 'css_res_t_thumbnail_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Thumbnail - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_t_thumbnail_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Main - Padding Vertical', 'dslc_string'), 'id' => 'css_res_t_main_padding_vertical', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Main - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_t_main_padding_horizontal', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Title - Font Size', 'dslc_string'), 'id' => 'css_res_t_title_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Line Height', 'dslc_string'), 'id' => 'css_res_t_title_line_height', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_title_margin_bottom', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Categories - Font Size', 'dslc_string'), 'id' => 'css_res_t_cats_font_size', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Categories - Line Height', 'dslc_string'), 'id' => 'css_res_t_cats_line_height', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Categories - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_cats_margin-bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Excerpt - Font Size', 'dslc_string'), 'id' => 'css_res_t_excerpt_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt - Line Height', 'dslc_string'), 'id' => 'css_res_t_excerpt_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt, .dslc-project-excerpt p', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_excerpt_margin', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Button - Font Size', 'dslc_string'), 'id' => 'css_res_t_button_font_size', 'std' => '11', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Button - Padding Vertical', 'dslc_string'), 'id' => 'css_res_t_button_padding_vertical', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Button - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_t_button_padding_horizontal', 'std' => '16', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Button Icon - Margin Right', 'dslc_string'), 'id' => 'css_res_t_button_icon_margin', 'std' => '5', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a .dslc-icon', 'affect_on_change_rule' => 'margin-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Responsive Styling', 'dslc_string'), 'id' => 'css_res_p', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled'), array('label' => __('Enabled', 'dslc_string'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('phone', 'dslc_string')), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-projects', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Separator - Height', 'dslc_string'), 'id' => 'css_res_p_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 1, 'max' => 300, 'section' => 'responsive', 'tab' => __('phone', 'dslc_string')), array('label' => __('Thumbnail - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Thumbnail - Padding Vertical', 'dslc_string'), 'id' => 'css_res_p_thumbnail_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Thumbnail - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_p_thumbnail_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Main - Padding Vertical', 'dslc_string'), 'id' => 'css_res_p_main_padding_vertical', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Main - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_p_main_padding_horizontal', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Title - Font Size', 'dslc_string'), 'id' => 'css_res_p_title_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Line Height', 'dslc_string'), 'id' => 'css_res_p_title_line_height', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_title_margin_bottom', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Categories - Font Size', 'dslc_string'), 'id' => 'css_res_p_cats_font_size', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Categories - Line Height', 'dslc_string'), 'id' => 'css_res_p_cats_line_height', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Categories - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_cats_margin-bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Excerpt - Font Size', 'dslc_string'), 'id' => 'css_res_p_excerpt_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt - Line Height', 'dslc_string'), 'id' => 'css_res_p_excerpt_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt, .dslc-project-excerpt p', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_excerpt_margin', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Button - Font Size', 'dslc_string'), 'id' => 'css_res_p_button_font_size', 'std' => '11', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Button - Padding Vertical', 'dslc_string'), 'id' => 'css_res_p_button_padding_vertical', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Button - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_p_button_padding_horizontal', 'std' => '16', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Button Icon - Margin Right', 'dslc_string'), 'id' => 'css_res_p_button_icon_margin', 'std' => '5', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a .dslc-icon', 'affect_on_change_rule' => 'margin-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('heading_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('filters_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_arrows_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_circles_options'));
Example #5
0
<?php

if (dslc_is_module_active('DSLC_Widgets')) {
    include DS_LIVE_COMPOSER_ABS . '/modules/widgets/functions.php';
}
class DSLC_Widgets extends DSLC_Module
{
    var $module_id;
    var $module_title;
    var $module_icon;
    var $module_category;
    function __construct()
    {
        $this->module_id = 'DSLC_Widgets';
        $this->module_title = __('Widgets', 'live-composer-page-builder');
        $this->module_icon = 'pencil';
        $this->module_category = 'elements';
    }
    function options()
    {
        $sidebars = dslc_get_option('sidebars', 'dslc_plugin_options_widgets_m');
        $sidebars_choices = array();
        $sidebars_choices[] = array('label' => __('Choose sidebar', 'live-composer-page-builder'), 'value' => 'not_set');
        if ($sidebars !== '') {
            $sidebars_array = explode(',', substr($sidebars, 0, -1));
            foreach ($sidebars_array as $sidebar) {
                $sidebar_ID = 'dslc_' . strtolower(str_replace(' ', '_', $sidebar));
                $sidebars_choices[] = array('label' => $sidebar, 'value' => $sidebar_ID);
            }
        }
        $dslc_options = array(array('label' => __('Show On', 'live-composer-page-builder'), 'id' => 'css_show_on', 'std' => 'desktop tablet phone', 'type' => 'checkbox', 'choices' => array(array('label' => __('Desktop', 'live-composer-page-builder'), 'value' => 'desktop'), array('label' => __('Tablet', 'live-composer-page-builder'), 'value' => 'tablet'), array('label' => __('Phone', 'live-composer-page-builder'), 'value' => 'phone'))), array('label' => __('Widgets', 'live-composer-page-builder'), 'id' => 'sidebar', 'std' => 'not_set', 'type' => 'select', 'choices' => $sidebars_choices, 'help' => __('You can register sidebars for this module in <br>WP Admin > Live Composer > Widgets Module.', 'live-composer-page-builder')), array('label' => __('Widgets Per Row', 'live-composer-page-builder'), 'id' => 'columns', 'std' => '3', 'type' => 'select', 'choices' => $this->shared_options('posts_per_row_choices')), array('label' => __('BG Color', 'live-composer-page-builder'), 'id' => 'css_widgets_bg_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widgets-wrap', 'affect_on_change_rule' => 'background-color', 'section' => 'styling'), array('label' => __('Border Color', 'live-composer-page-builder'), 'id' => 'css_widgets_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widgets-wrap', 'affect_on_change_rule' => 'border-color', 'section' => 'styling'), array('label' => __('Border Width', 'live-composer-page-builder'), 'id' => 'css_widgets_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widgets-wrap', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Borders', 'live-composer-page-builder'), 'id' => 'css_widgets_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'live-composer-page-builder'), 'value' => 'top'), array('label' => __('Right', 'live-composer-page-builder'), 'value' => 'right'), array('label' => __('Bottom', 'live-composer-page-builder'), 'value' => 'bottom'), array('label' => __('Left', 'live-composer-page-builder'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widgets-wrap', 'affect_on_change_rule' => 'border-style', 'section' => 'styling'), array('label' => __('Border Radius - Top', 'live-composer-page-builder'), 'id' => 'css_widgets_border_radius_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widgets-wrap', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'live-composer-page-builder'), 'id' => 'css_widgets_border_radius_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widgets-wrap', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Margin Left', 'live-composer-page-builder'), 'id' => 'css_margin_left', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widgets-wrap', 'affect_on_change_rule' => 'margin-left', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widgets-wrap', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Minimum Height', 'live-composer-page-builder'), 'id' => 'css_min_height', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widgets-wrap', 'affect_on_change_rule' => 'min-height', 'section' => 'styling', 'ext' => 'px', 'min' => 0, 'max' => 1000, 'increment' => 5), array('label' => __('Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_widgets_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widgets-wrap', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_widgets_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widgets-wrap', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px'), array('label' => __('BG Color', 'live-composer-page-builder'), 'id' => 'css_widget_bg_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-wrap', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('widget', 'live-composer-page-builder')), array('label' => __('Border Color', 'live-composer-page-builder'), 'id' => 'css_widget_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-wrap', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('widget', 'live-composer-page-builder')), array('label' => __('Border Width', 'live-composer-page-builder'), 'id' => 'css_widget_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-wrap', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('widget', 'live-composer-page-builder')), array('label' => __('Borders', 'live-composer-page-builder'), 'id' => 'css_widget_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'live-composer-page-builder'), 'value' => 'top'), array('label' => __('Right', 'live-composer-page-builder'), 'value' => 'right'), array('label' => __('Bottom', 'live-composer-page-builder'), 'value' => 'bottom'), array('label' => __('Left', 'live-composer-page-builder'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-wrap', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('widget', 'live-composer-page-builder')), array('label' => __('Border Radius - Top', 'live-composer-page-builder'), 'id' => 'css_widget_border_radius_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-wrap', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'ext' => 'px', 'tab' => __('widget', 'live-composer-page-builder')), array('label' => __('Border Radius - Bottom', 'live-composer-page-builder'), 'id' => 'css_widget_border_radius_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-wrap', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'ext' => 'px', 'tab' => __('widget', 'live-composer-page-builder')), array('label' => __('Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_widget_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-wrap', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('widget', 'live-composer-page-builder')), array('label' => __('Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_widget_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-wrap', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('widget', 'live-composer-page-builder')), array('label' => __('Spacing', 'live-composer-page-builder'), 'id' => 'css_widget_margin_bottom', 'std' => '30', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('widget', 'live-composer-page-builder')), array('label' => __('Border Color', 'live-composer-page-builder'), 'id' => 'css_title_border_color', 'std' => '#e5e5e5', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'border-bottom-color', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder')), array('label' => __('Border Width', 'live-composer-page-builder'), 'id' => 'css_title_border_width', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'border-bottom-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Title', 'live-composer-page-builder')), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_title_color', 'std' => '#222222', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder')), array('label' => __('Font Size', 'live-composer-page-builder'), 'id' => 'title_font_size', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Font Weight', 'live-composer-page-builder'), 'id' => 'css_title_font_weight', 'std' => '600', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'live-composer-page-builder'), 'id' => 'css_title_font_family', 'std' => 'Open Sans', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder')), array('label' => __('Letter Spacing', 'live-composer-page-builder'), 'id' => 'css_title_letter_spacing', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'letter-spacing', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder'), 'ext' => 'px', 'min' => -50, 'max' => 50), array('label' => __('Line Height', 'live-composer-page-builder'), 'id' => 'css_title_line_height', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_title_margin', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Padding Bottom', 'live-composer-page-builder'), 'id' => 'css_title_padding', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'padding-bottom', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Text Align', 'live-composer-page-builder'), 'id' => 'css_title_text_align', 'std' => 'left', 'type' => 'text_align', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'text-align', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder')), array('label' => __('Text Transform', 'live-composer-page-builder'), 'id' => 'css_title_text_transform', 'std' => 'none', 'type' => 'select', 'choices' => array(array('label' => __('None', 'live-composer-page-builder'), 'value' => 'none'), array('label' => __('Capitalize', 'live-composer-page-builder'), 'value' => 'capitalize'), array('label' => __('Uppercase', 'live-composer-page-builder'), 'value' => 'uppercase'), array('label' => __('Lowercase', 'live-composer-page-builder'), 'value' => 'lowercase')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'text-transform', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder')), array('label' => __('BG Color', 'live-composer-page-builder'), 'id' => 'css_title_inner_bg_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title-inner', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('title inner', 'live-composer-page-builder')), array('label' => __('Border Color', 'live-composer-page-builder'), 'id' => 'css_title_inner_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title-inner', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('title inner', 'live-composer-page-builder')), array('label' => __('Border Width', 'live-composer-page-builder'), 'id' => 'css_title_inner_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title-inner', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('title inner', 'live-composer-page-builder')), array('label' => __('Borders', 'live-composer-page-builder'), 'id' => 'css_title_inner_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'live-composer-page-builder'), 'value' => 'top'), array('label' => __('Right', 'live-composer-page-builder'), 'value' => 'right'), array('label' => __('Bottom', 'live-composer-page-builder'), 'value' => 'bottom'), array('label' => __('Left', 'live-composer-page-builder'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title-inner', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('title inner', 'live-composer-page-builder')), array('label' => __('Border Radius - Top', 'live-composer-page-builder'), 'id' => 'css_title_inner_border_radius_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title-inner', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'ext' => 'px', 'tab' => __('title inner', 'live-composer-page-builder')), array('label' => __('Border Radius - Bottom', 'live-composer-page-builder'), 'id' => 'css_title_inner_border_radius_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title-inner', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'ext' => 'px', 'tab' => __('title inner', 'live-composer-page-builder')), array('label' => __('Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_title_inner_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('title inner', 'live-composer-page-builder')), array('label' => __('Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_title_inner_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('title inner', 'live-composer-page-builder')), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_main_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('content', 'live-composer-page-builder')), array('label' => __('Font Size', 'live-composer-page-builder'), 'id' => 'css_main_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('content', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Font Weight', 'live-composer-page-builder'), 'id' => 'css_main_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('content', 'live-composer-page-builder'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'live-composer-page-builder'), 'id' => 'css_main_font_family', 'std' => 'Open Sans', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('content', 'live-composer-page-builder')), array('label' => __('Line Height', 'live-composer-page-builder'), 'id' => 'css_main_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('content', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Link - Color', 'live-composer-page-builder'), 'id' => 'css_link_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('content', 'live-composer-page-builder')), array('label' => __('Link - Hover - Color', 'live-composer-page-builder'), 'id' => 'css_link_color_hover', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget a:hover', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('content', 'live-composer-page-builder')), array('label' => __('Link - Font Weight', 'live-composer-page-builder'), 'id' => 'css_link_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget a', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('content', 'live-composer-page-builder'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Text Align', 'live-composer-page-builder'), 'id' => 'css_main_text_align', 'std' => 'left', 'type' => 'text_align', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget', 'affect_on_change_rule' => 'text-align', 'section' => 'styling', 'tab' => __('Content', 'live-composer-page-builder')), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_ul_margin_bottom', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget ul', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('content lists', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Margin Left', 'live-composer-page-builder'), 'id' => 'css_ul_margin_left', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget ul', 'affect_on_change_rule' => 'margin-left', 'section' => 'styling', 'tab' => __('content lists', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_ul_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget ul', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'tab' => __('content lists', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_ul_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget ul', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('content lists', 'live-composer-page-builder')), array('label' => __('Style', 'live-composer-page-builder'), 'id' => 'css_ul_style', 'std' => 'disc', 'type' => 'select', 'choices' => array(array('label' => __('Armenian', 'live-composer-page-builder'), 'value' => 'armenian'), array('label' => __('Circle', 'live-composer-page-builder'), 'value' => 'circle'), array('label' => __('cjk-ideographic', 'live-composer-page-builder'), 'value' => 'cjk-ideographic'), array('label' => __('Decimal', 'live-composer-page-builder'), 'value' => 'decimal'), array('label' => __('Decimal Leading Zero', 'live-composer-page-builder'), 'value' => 'decimal-leading-zero'), array('label' => __('Hebrew', 'live-composer-page-builder'), 'value' => 'hebrew'), array('label' => __('Hiragana', 'live-composer-page-builder'), 'value' => 'hiragana'), array('label' => __('Hiragana Iroha', 'live-composer-page-builder'), 'value' => 'hiragana-iroha'), array('label' => __('Katakana', 'live-composer-page-builder'), 'value' => 'katakana'), array('label' => __('Katakana Iroha', 'live-composer-page-builder'), 'value' => 'katakana-iroha'), array('label' => __('Lower Alpha', 'live-composer-page-builder'), 'value' => 'lower-alpha'), array('label' => __('Lower Greek', 'live-composer-page-builder'), 'value' => 'lower-greek'), array('label' => __('Lower Latin', 'live-composer-page-builder'), 'value' => 'lower-latin'), array('label' => __('Lower Roman', 'live-composer-page-builder'), 'value' => 'lower-roman'), array('label' => __('None', 'live-composer-page-builder'), 'value' => 'none'), array('label' => __('Upper Alpha', 'live-composer-page-builder'), 'value' => 'upper-alpha'), array('label' => __('Upper Latin', 'live-composer-page-builder'), 'value' => 'upper-latin'), array('label' => __('Upper Roman', 'live-composer-page-builder'), 'value' => 'upper-roman'), array('label' => __('Inherit', 'live-composer-page-builder'), 'value' => 'inherit')), 'section' => 'styling', 'tab' => __('content lists', 'live-composer-page-builder'), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget ul', 'affect_on_change_rule' => 'list-style-type'), array('label' => __('Item - BG Color', 'live-composer-page-builder'), 'id' => 'css_ul_li_bg_color', 'std' => 'rgba( 255, 255, 255, 0 )', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget li', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('content lists', 'live-composer-page-builder')), array('label' => __('Item - Border Color', 'live-composer-page-builder'), 'id' => 'css_ul_li_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget li', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('content lists', 'live-composer-page-builder')), array('label' => __('Item - Border Width', 'live-composer-page-builder'), 'id' => 'css_ul_li_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget li', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('content lists', 'live-composer-page-builder')), array('label' => __('Item - Borders', 'live-composer-page-builder'), 'id' => 'css_ul_li_borders', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'live-composer-page-builder'), 'value' => 'top'), array('label' => __('Right', 'live-composer-page-builder'), 'value' => 'right'), array('label' => __('Bottom', 'live-composer-page-builder'), 'value' => 'bottom'), array('label' => __('Left', 'live-composer-page-builder'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget li', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('content lists', 'live-composer-page-builder')), array('label' => __('Item - Border Radius', 'live-composer-page-builder'), 'id' => 'css_ul_li_bradius', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget li', 'affect_on_change_rule' => 'border-radius', 'section' => 'styling', 'ext' => 'px', 'tab' => __('content lists', 'live-composer-page-builder')), array('label' => __('Item - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_ul_li_margin_bottom', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget ul li', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('content lists', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Item - Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_ul_li_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget ul li', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'tab' => __('content lists', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Item - Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_ul_li_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget ul li', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('content lists', 'live-composer-page-builder')), array('label' => __('Responsive Styling', 'live-composer-page-builder'), 'id' => 'css_res_t', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'live-composer-page-builder'), 'value' => 'disabled'), array('label' => __('Enabled', 'live-composer-page-builder'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_t_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widgets-wrap', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_res_t_widgets_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widgets-wrap', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_res_t_widgets_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widgets-wrap', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Widget - Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_res_t_widget_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-wrap', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Widget - Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_res_t_widget_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-wrap', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Title - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_t_title_font_size', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Title - Line Height', 'live-composer-page-builder'), 'id' => 'css_res_t_title_line_height', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Title - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_t_title_margin', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Title - Padding Bottom', 'live-composer-page-builder'), 'id' => 'css_res_t_title_padding', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'padding-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Content - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_t_main_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Content - Line Height', 'live-composer-page-builder'), 'id' => 'css_res_t_main_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Responsive Styling', 'live-composer-page-builder'), 'id' => 'css_res_p', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'live-composer-page-builder'), 'value' => 'disabled'), array('label' => __('Enabled', 'live-composer-page-builder'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_p_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widgets-wrap', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_res_p_widgets_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widgets-wrap', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_res_p_widgets_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widgets-wrap', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Widget - Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_res_p_widget_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-wrap', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Widget - Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_res_p_widget_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-wrap', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Title - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_p_title_font_size', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Title - Line Height', 'live-composer-page-builder'), 'id' => 'css_res_p_title_line_height', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Title - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_p_title_margin', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Title - Padding Bottom', 'live-composer-page-builder'), 'id' => 'css_res_p_title_padding', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget-title', 'affect_on_change_rule' => 'padding-bottom', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Content - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_p_main_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Content - Line Height', 'live-composer-page-builder'), 'id' => 'css_res_p_main_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-widget', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'));
Example #6
0
<?php

if (dslc_is_module_active('DSLC_Staff')) {
    include DS_LIVE_COMPOSER_ABS . '/modules/staff/functions.php';
}
class DSLC_Staff extends DSLC_Module
{
    var $module_id;
    var $module_title;
    var $module_icon;
    var $module_category;
    function __construct()
    {
        $this->module_id = 'DSLC_Staff';
        $this->module_title = __('Staff', 'dslc_string');
        $this->module_icon = 'user';
        $this->module_category = 'posts';
    }
    function options()
    {
        $cats = get_terms('dslc_staff_cats');
        $cats_choices = array();
        foreach ($cats as $cat) {
            $cats_choices[] = array('label' => $cat->name, 'value' => $cat->slug);
        }
        $dslc_options = array(array('label' => __('Show On', 'dslc_string'), 'id' => 'css_show_on', 'std' => 'desktop tablet phone', 'type' => 'checkbox', 'choices' => array(array('label' => __('Desktop', 'dslc_string'), 'value' => 'desktop'), array('label' => __('Tablet', 'dslc_string'), 'value' => 'tablet'), array('label' => __('Phone', 'dslc_string'), 'value' => 'phone'))), array('label' => __('Link', 'dslc_string'), 'id' => 'link', 'std' => 'enabled', 'type' => 'select', 'choices' => array(array('label' => __('Link to staff member page', 'dslc_string'), 'value' => 'enabled'), array('label' => __('Do NOT link to staff member page', 'dslc_string'), 'value' => 'disabled'))), array('label' => __('Type', 'dslc_string'), 'id' => 'type', 'std' => 'grid', 'type' => 'select', 'choices' => array(array('label' => __('Grid', 'dslc_string'), 'value' => 'grid'), array('label' => __('Masonry Grid', 'dslc_string'), 'value' => 'masonry'), array('label' => __('Carousel', 'dslc_string'), 'value' => 'carousel'))), array('label' => __('Posts Per Page', 'dslc_string'), 'id' => 'amount', 'std' => '4', 'type' => 'text'), array('label' => __('Pagination', 'dslc_string'), 'id' => 'pagination_type', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled'), array('label' => __('Numbered', 'dslc_string'), 'value' => 'numbered'), array('label' => __('Prev/Next', 'dslc_string'), 'value' => 'prevnext'))), array('label' => __('Items Per Row', 'dslc_string'), 'id' => 'columns', 'std' => '3', 'type' => 'select', 'choices' => $this->shared_options('posts_per_row_choices')), array('label' => __('Categories', 'dslc_string'), 'id' => 'categories', 'std' => '', 'type' => 'checkbox', 'choices' => $cats_choices), array('label' => __('Categories Operator', 'dslc_string'), 'id' => 'categories_operator', 'std' => 'IN', 'help' => __('<strong>IN</strong> - Posts must be in at least one chosen category.<br><strong>AND</strong> - Posts must be in all chosen categories.<br><strong>NOT IN</strong> Posts must not be in the chosen categories.', 'dslc_string'), 'type' => 'select', 'choices' => array(array('label' => __('IN', 'dslc_string'), 'value' => 'IN'), array('label' => __('AND', 'dslc_string'), 'value' => 'AND'), array('label' => __('NOT IN', 'dslc_string'), 'value' => 'NOT IN'))), array('label' => __('Order By', 'dslc_string'), 'id' => 'orderby', 'std' => 'date', 'type' => 'select', 'choices' => array(array('label' => __('Publish Date', 'dslc_string'), 'value' => 'date'), array('label' => __('Modified Date', 'dslc_string'), 'value' => 'modified'), array('label' => __('Random', 'dslc_string'), 'value' => 'rand'), array('label' => __('Alphabetic', 'dslc_string'), 'value' => 'title'), array('label' => __('Comment Count', 'dslc_string'), 'value' => 'comment_count'))), array('label' => __('Order', 'dslc_string'), 'id' => 'order', 'std' => 'DESC', 'type' => 'select', 'choices' => array(array('label' => __('Ascending', 'dslc_string'), 'value' => 'ASC'), array('label' => __('Descending', 'dslc_string'), 'value' => 'DESC'))), array('label' => __('Offset', 'dslc_string'), 'id' => 'offset', 'std' => '0', 'type' => 'text'), array('label' => __('Include (IDs)', 'dslc_string'), 'id' => 'query_post_in', 'std' => '', 'type' => 'text'), array('label' => __('Exclude (IDs)', 'dslc_string'), 'id' => 'query_post_not_in', 'std' => '', 'type' => 'text'), array('label' => __('Social - Link Behaviour', 'dslc_string'), 'id' => 'social_link_target', 'std' => '_self', 'type' => 'select', 'choices' => array(array('label' => __('Open in same tab', 'dslc_string'), 'value' => '_self'), array('label' => __('Open in new tab', 'dslc_string'), 'value' => '_blank')), 'tab' => __('Other', 'dslc_string')), array('label' => __('Elements', 'dslc_string'), 'id' => 'elements', 'std' => '', 'type' => 'checkbox', 'choices' => array(array('label' => __('Heading', 'dslc_string'), 'value' => 'main_heading'), array('label' => __('Filters', 'dslc_string'), 'value' => 'filters')), 'section' => 'styling'), array('label' => __('Post Elements', 'dslc_string'), 'id' => 'post_elements', 'std' => 'thumbnail social title position excerpt', 'type' => 'checkbox', 'choices' => array(array('label' => __('Thumbnail', 'dslc_string'), 'value' => 'thumbnail'), array('label' => __('Social Links', 'dslc_string'), 'value' => 'social'), array('label' => __('Title', 'dslc_string'), 'value' => 'title'), array('label' => __('Position', 'dslc_string'), 'value' => 'position'), array('label' => __('Excerpt', 'dslc_string'), 'value' => 'excerpt')), 'section' => 'styling'), array('label' => __('Carousel Elements', 'dslc_string'), 'id' => 'carousel_elements', 'std' => 'arrows circles', 'type' => 'checkbox', 'choices' => array(array('label' => __('Arrows', 'dslc_string'), 'value' => 'arrows'), array('label' => __('Circles', 'dslc_string'), 'value' => 'circles')), 'section' => 'styling'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Minimum Height', 'dslc_string'), 'id' => 'css_min_height', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff', 'affect_on_change_rule' => 'min-height', 'section' => 'styling', 'ext' => 'px', 'min' => 0, 'max' => 1000, 'increment' => 5), array('label' => __('Enable/Disable', 'dslc_string'), 'id' => 'separator_enabled', 'std' => 'enabled', 'type' => 'select', 'choices' => array(array('label' => __('Enabled', 'dslc_string'), 'value' => 'enabled'), array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled')), 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('Color', 'dslc_string'), 'id' => 'css_sep_border_color', 'std' => '#ededed', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('Height', 'dslc_string'), 'id' => 'css_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 0, 'max' => 300, 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('Thickness', 'dslc_string'), 'id' => 'css_sep_thickness', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-bottom-width', 'ext' => 'px', 'min' => 0, 'max' => 50, 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('Style', 'dslc_string'), 'id' => 'css_sep_style', 'std' => 'dashed', 'type' => 'select', 'choices' => array(array('label' => __('Invisible', 'dslc_string'), 'value' => 'none'), array('label' => __('Solid', 'dslc_string'), 'value' => 'solid'), array('label' => __('Dashed', 'dslc_string'), 'value' => 'dashed'), array('label' => __('Dotted', 'dslc_string'), 'value' => 'dotted')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('BG Color', 'dslc_string'), 'id' => 'css_thumbnail_bg_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-thumb', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_thumb_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-thumb-inner', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_thumb_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-thumb-inner', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Borders', 'dslc_string'), 'id' => 'css_thumb_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom'), array('label' => __('Left', 'dslc_string'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-thumb-inner', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Border Radius - Top', 'dslc_string'), 'id' => 'css_thumbnail_border_radius_top', 'std' => '4', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-thumb-inner, .dslc-staff-member-thumb img', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string'), 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'dslc_string'), 'id' => 'css_thumbnail_border_radius_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-thumb-inner, .dslc-staff-member-thumb img', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_thumbnail_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-thumb-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Padding Horizontal', 'dslc_string'), 'id' => 'css_thumbnail_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-thumb-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Resize - Height', 'dslc_string'), 'id' => 'thumb_resize_height', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('thumbnail', 'dslc_string')), array('label' => __('Resize - Width', 'dslc_string'), 'id' => 'thumb_resize_width_manual', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('thumbnail', 'dslc_string')), array('label' => __('Resize - Width', 'dslc_string'), 'id' => 'thumb_resize_width', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('thumbnail', 'dslc_string'), 'visibility' => 'hidden'), array('label' => __('Align', 'dslc_string'), 'id' => 'css_social_align', 'std' => 'center', 'type' => 'text_align', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social', 'affect_on_change_rule' => 'text-align', 'section' => 'styling', 'tab' => __('Social', 'dslc_string')), array('label' => __('BG Color', 'dslc_string'), 'id' => 'css_social_bg_color', 'std' => '#4f87db', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Social', 'dslc_string')), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_social_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Social', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_social_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Social', 'dslc_string')), array('label' => __('Borders', 'dslc_string'), 'id' => 'css_social_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom'), array('label' => __('Left', 'dslc_string'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Social', 'dslc_string')), array('label' => __('Border Radius - Top', 'dslc_string'), 'id' => 'css_social_border_radius_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'tab' => __('Social', 'dslc_string'), 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'dslc_string'), 'id' => 'css_social_border_radius_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'tab' => __('Social', 'dslc_string'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_social_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Social', 'dslc_string')), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_social_padding_vertical', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Social', 'dslc_string')), array('label' => __('Padding Horizontal', 'dslc_string'), 'id' => 'css_social_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Social', 'dslc_string')), array('label' => __('Icon - Color', 'dslc_string'), 'id' => 'css_social_color', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Social', 'dslc_string')), array('label' => __('Icon - Size', 'dslc_string'), 'id' => 'css_social_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social a', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Social', 'dslc_string'), 'ext' => 'px'), array('label' => __('Location', 'dslc_string'), 'id' => 'main_location', 'std' => 'bellow', 'type' => 'select', 'section' => 'styling', 'tab' => __('Main', 'dslc_string'), 'choices' => array(array('label' => __('Bellow Thumbnail', 'dslc_string'), 'value' => 'bellow'), array('label' => __('Inside Thumbnail ( hover )', 'dslc_string'), 'value' => 'inside'), array('label' => __('Inside Thumbnail ( always visible )', 'dslc_string'), 'value' => 'inside_visible'))), array('label' => __(' BG Color', 'dslc_string'), 'id' => 'css_main_bg_color', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-main', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_main_border_color', 'std' => '#e8e8e8', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-main', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_main_border_width', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-main', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'dslc_string')), array('label' => __('Borders', 'dslc_string'), 'id' => 'css_main_border_trbl', 'std' => 'right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom'), array('label' => __('Left', 'dslc_string'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-main', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Border Radius - Top', 'dslc_string'), 'id' => 'css_main_border_radius_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-main', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'tab' => __('Main', 'dslc_string'), 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'dslc_string'), 'id' => 'css_main_border_radius_bottom', 'std' => '4', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-main', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'tab' => __('Main', 'dslc_string'), 'ext' => 'px'), array('label' => __('Minimum Height', 'dslc_string'), 'id' => 'css_main_min_height', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-main', 'affect_on_change_rule' => 'min-height', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'dslc_string'), 'min' => 0, 'max' => 500), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_main_padding_vertical', 'std' => '31', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'dslc_string')), array('label' => __('Padding Horizontal', 'dslc_string'), 'id' => 'css_main_padding_horizontal', 'std' => '36', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'dslc_string')), array('label' => __('Text Align', 'dslc_string'), 'id' => 'css_main_text_align', 'std' => 'center', 'type' => 'text_align', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-main', 'affect_on_change_rule' => 'text-align', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Position', 'dslc_string'), 'id' => 'main_position', 'std' => 'center', 'type' => 'select', 'section' => 'styling', 'tab' => __('Main Inner', 'dslc_string'), 'choices' => array(array('label' => __('Top Left', 'dslc_string'), 'value' => 'topleft'), array('label' => __('Top Right', 'dslc_string'), 'value' => 'topright'), array('label' => __('Center', 'dslc_string'), 'value' => 'center'), array('label' => __('Bottom Left', 'dslc_string'), 'value' => 'bottomleft'), array('label' => __('Bottom Right', 'dslc_string'), 'value' => 'bottomright'))), array('label' => __('Margin', 'dslc_string'), 'id' => 'css_main_inner_margin', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-main-inner', 'affect_on_change_rule' => 'margin', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main Inner', 'dslc_string')), array('label' => __('Width', 'dslc_string'), 'id' => 'css_main_inner_width', 'std' => '100', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-main-inner', 'affect_on_change_rule' => 'width', 'section' => 'styling', 'ext' => '%', 'tab' => __('Main Inner', 'dslc_string')), array('label' => __('Color', 'dslc_string'), 'id' => 'css_title_color', 'std' => '#3d3d3d', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-title h2', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Color - Hover', 'dslc_string'), 'id' => 'css_title_color_hover', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-title h2:hover', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Font Size', 'dslc_string'), 'id' => 'css_title_font_size', 'std' => '14', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-title h2', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight', 'dslc_string'), 'id' => 'css_title_font_weight', 'std' => '900', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-title h2', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'dslc_string'), 'id' => 'css_title_font_family', 'std' => 'Lato', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-title h2', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Line Height', 'dslc_string'), 'id' => 'css_title_line_height', 'std' => '14', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-title h2', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_title_margin_bottom', 'std' => '23', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Text Transform', 'dslc_string'), 'id' => 'css_title_text_transform', 'std' => 'none', 'type' => 'select', 'choices' => array(array('label' => __('None', 'dslc_string'), 'value' => 'none'), array('label' => __('Capitalize', 'dslc_string'), 'value' => 'capitalize'), array('label' => __('Uppercase', 'dslc_string'), 'value' => 'uppercase'), array('label' => __('Lowercase', 'dslc_string'), 'value' => 'lowercase')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-title h2', 'affect_on_change_rule' => 'text-transform', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_position_border_color', 'std' => '#e5e5e5', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-position', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Position', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_position_border_width', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-position', 'affect_on_change_rule' => 'border-top-width,border-bottom-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Position', 'dslc_string')), array('label' => __('Borders', 'dslc_string'), 'id' => 'css_position_border_trbl', 'std' => 'top bottom', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom'), array('label' => __('Left', 'dslc_string'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-position', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Position', 'dslc_string')), array('label' => __('Color', 'dslc_string'), 'id' => 'css_position_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-position', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Position', 'dslc_string')), array('label' => __('Font Size', 'dslc_string'), 'id' => 'css_position_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-position', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Position', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight', 'dslc_string'), 'id' => 'css_position_font_weight', 'std' => '200', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-position', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Position', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'dslc_string'), 'id' => 'css_position_font_family', 'std' => 'Bitter', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-position', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Position', 'dslc_string')), array('label' => __('Font Style', 'dslc_string'), 'id' => 'css_position_font_style', 'std' => 'italic', 'type' => 'select', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-position', 'affect_on_change_rule' => 'font-style', 'section' => 'styling', 'tab' => __('Position', 'dslc_string'), 'choices' => array(array('label' => __('Normal', 'dslc_string'), 'value' => 'normal'), array('label' => __('Italic', 'dslc_string'), 'value' => 'italic'))), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_position_margin_bottom', 'std' => '20', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-position', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Position', 'dslc_string'), 'ext' => 'px'), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_position_padding_vertical', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-position', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Position', 'dslc_string')), array('label' => __('Excerpt or Content', 'dslc_string'), 'id' => 'excerpt_or_content', 'std' => 'excerpt', 'type' => 'select', 'choices' => array(array('label' => __('Excerpt', 'dslc_string'), 'value' => 'excerpt'), array('label' => __('Content', 'dslc_string'), 'value' => 'content')), 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string')), array('label' => __('Color', 'dslc_string'), 'id' => 'css_excerpt_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-excerpt', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string')), array('label' => __('Font Size', 'dslc_string'), 'id' => 'css_excerpt_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight', 'dslc_string'), 'id' => 'css_excerpt_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-excerpt', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'dslc_string'), 'id' => 'css_excerpt_font_family', 'std' => 'Lato', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-excerpt', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string')), array('label' => __('Line Height', 'dslc_string'), 'id' => 'css_excerpt_line_height', 'std' => '23', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-excerpt', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string'), 'ext' => 'px'), array('label' => __('Max Length ( amount of words )', 'dslc_string'), 'id' => 'excerpt_length', 'std' => '20', 'type' => 'text', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string')), array('label' => __('Responsive Styling', 'dslc_string'), 'id' => 'css_res_t', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled'), array('label' => __('Enabled', 'dslc_string'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Separator - Height', 'dslc_string'), 'id' => 'css_res_t_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 1, 'max' => 300, 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Thumbnail - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Thumbnail - Padding Vertical', 'dslc_string'), 'id' => 'css_res_t_thumbnail_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-thumb-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Thumbnail - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_t_thumbnail_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-thumb-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Social - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_social_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Social - Padding Vertical', 'dslc_string'), 'id' => 'css_res_t_social_padding_vertical', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Social - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_t_social_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Social Icon - Size', 'dslc_string'), 'id' => 'css_res_t_social_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Main - Padding Vertical', 'dslc_string'), 'id' => 'css_res_t_main_padding_vertical', 'std' => '31', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Main - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_t_main_padding_horizontal', 'std' => '36', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Title - Font Size', 'dslc_string'), 'id' => 'css_res_t_title_font_size', 'std' => '14', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-title h2', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Line Height', 'dslc_string'), 'id' => 'css_res_t_title_line_height', 'std' => '14', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-title h2', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_title_margin_bottom', 'std' => '23', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Position - Font Size', 'dslc_string'), 'id' => 'css_res_t_position_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-position', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Position - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_position_margin_bottom', 'std' => '20', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-position', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Position - Padding Vertical', 'dslc_string'), 'id' => 'css_res_t_position_padding_vertical', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-position', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Excerpt - Font Size', 'dslc_string'), 'id' => 'css_res_t_excerpt_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt - Line Height', 'dslc_string'), 'id' => 'css_res_t_excerpt_line_height', 'std' => '23', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-excerpt', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Responsive Styling', 'dslc_string'), 'id' => 'css_res_p', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled'), array('label' => __('Enabled', 'dslc_string'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('phone', 'dslc_string')), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Separator - Height', 'dslc_string'), 'id' => 'css_res_p_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 1, 'max' => 300, 'section' => 'responsive', 'tab' => __('phone', 'dslc_string')), array('label' => __('Thumbnail - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Thumbnail - Padding Vertical', 'dslc_string'), 'id' => 'css_res_p_thumbnail_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-thumb-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Thumbnail - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_p_thumbnail_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-thumb-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Social - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_social_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Social - Padding Vertical', 'dslc_string'), 'id' => 'css_res_p_social_padding_vertical', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Social - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_p_social_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Social Icon - Size', 'dslc_string'), 'id' => 'css_res_p_social_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-social a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Main - Padding Vertical', 'dslc_string'), 'id' => 'css_res_p_main_padding_vertical', 'std' => '31', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Main - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_p_main_padding_horizontal', 'std' => '36', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Title - Font Size', 'dslc_string'), 'id' => 'css_res_p_title_font_size', 'std' => '14', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-title h2', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Line Height', 'dslc_string'), 'id' => 'css_res_p_title_line_height', 'std' => '14', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-title h2', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_title_margin_bottom', 'std' => '23', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Position - Font Size', 'dslc_string'), 'id' => 'css_res_p_position_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-position', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Position - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_position_margin_bottom', 'std' => '20', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-position', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Position - Padding Vertical', 'dslc_string'), 'id' => 'css_res_p_position_padding_vertical', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-position', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Excerpt - Font Size', 'dslc_string'), 'id' => 'css_res_p_excerpt_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt - Line Height', 'dslc_string'), 'id' => 'css_res_p_excerpt_line_height', 'std' => '23', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-staff-member-excerpt', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('heading_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('filters_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_arrows_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_circles_options'));
/**
 * Generate CSS - Module
 */
function dslc_module_gen_css($atts, $settings_raw)
{
    $settings = maybe_unserialize(base64_decode($settings_raw));
    // If it's an array
    if (is_array($settings)) {
        // The ID of the module
        $module_id = $settings['module_id'];
        // Check if module exists
        if (!dslc_is_module_active($module_id)) {
            return;
        }
        // If class does not exists
        if (!class_exists($module_id)) {
            return;
        }
        // Instanciate the module class
        $module_instance = new $module_id();
        // Get array of options
        $options_arr = $module_instance->options();
        // Load preset options if preset supplied
        $settings = apply_filters('dslc_filter_settings', $settings);
        // Transform image ID to URL
        global $dslc_var_image_option_bckp;
        $dslc_var_image_option_bckp = array();
        foreach ($options_arr as $option_arr) {
            if ($option_arr['type'] == 'image') {
                if (isset($settings[$option_arr['id']]) && !empty($settings[$option_arr['id']]) && is_numeric($settings[$option_arr['id']])) {
                    $dslc_var_image_option_bckp[$option_arr['id']] = $settings[$option_arr['id']];
                    $image_info = wp_get_attachment_image_src($settings[$option_arr['id']], 'full');
                    $settings[$option_arr['id']] = $image_info[0];
                }
            }
            // Fix css_custom value ( issue when default changed programmatically )
            if ($option_arr['id'] == 'css_custom' && $module_id == 'DSLC_Text_Simple' && !isset($settings['css_custom'])) {
                $settings['css_custom'] = $option_arr['std'];
            }
        }
        // Generate custom CSS
        if (($module_id == 'DSLC_TP_Content' || $module_id == 'DSLC_Html') && !isset($settings['css_custom'])) {
            $css_output = '';
        } elseif (isset($settings['css_custom']) && $settings['css_custom'] == 'disabled') {
            $css_output = '';
        } else {
            $css_output = dslc_generate_custom_css($options_arr, $settings);
        }
    }
}
Example #8
0
<?php

if (dslc_is_module_active('DSLC_Testimonials')) {
    include DS_LIVE_COMPOSER_ABS . '/modules/testimonials/functions.php';
}
class DSLC_Testimonials extends DSLC_Module
{
    var $module_id;
    var $module_title;
    var $module_icon;
    var $module_category;
    function __construct()
    {
        $this->module_id = 'DSLC_Testimonials';
        $this->module_title = __('Testimonials', 'live-composer-page-builder');
        $this->module_icon = 'quote-right';
        $this->module_category = 'posts';
    }
    function options()
    {
        $cats = get_terms('dslc_testimonials_cats');
        $cats_choices = array();
        foreach ($cats as $cat) {
            $cats_choices[] = array('label' => $cat->name, 'value' => $cat->slug);
        }
        $dslc_options = array(array('label' => __('Show On', 'live-composer-page-builder'), 'id' => 'css_show_on', 'std' => 'desktop tablet phone', 'type' => 'checkbox', 'choices' => array(array('label' => __('Desktop', 'live-composer-page-builder'), 'value' => 'desktop'), array('label' => __('Tablet', 'live-composer-page-builder'), 'value' => 'tablet'), array('label' => __('Phone', 'live-composer-page-builder'), 'value' => 'phone'))), array('label' => __('Type', 'live-composer-page-builder'), 'id' => 'type', 'std' => 'grid', 'type' => 'select', 'choices' => array(array('label' => __('Grid', 'live-composer-page-builder'), 'value' => 'grid'), array('label' => __('Masonry Grid', 'live-composer-page-builder'), 'value' => 'masonry'), array('label' => __('Carousel', 'live-composer-page-builder'), 'value' => 'carousel'))), array('label' => __('Posts Per Page', 'live-composer-page-builder'), 'id' => 'amount', 'std' => '8', 'type' => 'text'), array('label' => __('Pagination', 'live-composer-page-builder'), 'id' => 'pagination_type', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'live-composer-page-builder'), 'value' => 'disabled'), array('label' => __('Numbered', 'live-composer-page-builder'), 'value' => 'numbered'), array('label' => __('Prev/Next', 'live-composer-page-builder'), 'value' => 'prevnext'), array('label' => __('Load More', 'live-composer-page-builder'), 'value' => 'loadmore'))), array('label' => __('Posts Per Row', 'live-composer-page-builder'), 'id' => 'columns', 'std' => '3', 'type' => 'select', 'choices' => $this->shared_options('posts_per_row_choices')), array('label' => __('Categories', 'live-composer-page-builder'), 'id' => 'categories', 'std' => '', 'type' => 'checkbox', 'choices' => $cats_choices), array('label' => __('Categories Operator', 'live-composer-page-builder'), 'id' => 'categories_operator', 'std' => 'IN', 'help' => __('<strong>IN</strong> - Posts must be in at least one chosen category.<br><strong>AND</strong> - Posts must be in all chosen categories.<br><strong>NOT IN</strong> Posts must not be in the chosen categories.', 'live-composer-page-builder'), 'type' => 'select', 'choices' => array(array('label' => __('IN', 'live-composer-page-builder'), 'value' => 'IN'), array('label' => __('AND', 'live-composer-page-builder'), 'value' => 'AND'), array('label' => __('NOT IN', 'live-composer-page-builder'), 'value' => 'NOT IN'))), array('label' => __('Order By', 'live-composer-page-builder'), 'id' => 'orderby', 'std' => 'date', 'type' => 'select', 'choices' => array(array('label' => __('Publish Date', 'live-composer-page-builder'), 'value' => 'date'), array('label' => __('Modified Date', 'live-composer-page-builder'), 'value' => 'modified'), array('label' => __('Random', 'live-composer-page-builder'), 'value' => 'rand'), array('label' => __('Alphabetic', 'live-composer-page-builder'), 'value' => 'title'), array('label' => __('Comment Count', 'live-composer-page-builder'), 'value' => 'comment_count'))), array('label' => __('Order', 'live-composer-page-builder'), 'id' => 'order', 'std' => 'DESC', 'type' => 'select', 'choices' => array(array('label' => __('Ascending', 'live-composer-page-builder'), 'value' => 'ASC'), array('label' => __('Descending', 'live-composer-page-builder'), 'value' => 'DESC'))), array('label' => __('Offset', 'live-composer-page-builder'), 'id' => 'offset', 'std' => '0', 'type' => 'text'), array('label' => __('Include (IDs)', 'live-composer-page-builder'), 'id' => 'query_post_in', 'std' => '', 'type' => 'text'), array('label' => __('Exclude (IDs)', 'live-composer-page-builder'), 'id' => 'query_post_not_in', 'std' => '', 'type' => 'text'), array('label' => __('Elements', 'live-composer-page-builder'), 'id' => 'elements', 'std' => '', 'type' => 'checkbox', 'choices' => array(array('label' => __('Heading', 'live-composer-page-builder'), 'value' => 'main_heading'), array('label' => __('Filters', 'live-composer-page-builder'), 'value' => 'filters')), 'section' => 'styling'), array('label' => __('Post Elements', 'live-composer-page-builder'), 'id' => 'post_elements', 'std' => 'quote avatar name position', 'type' => 'checkbox', 'choices' => array(array('label' => __('Quote', 'live-composer-page-builder'), 'value' => 'quote'), array('label' => __('Avatar', 'live-composer-page-builder'), 'value' => 'avatar'), array('label' => __('Name', 'live-composer-page-builder'), 'value' => 'name'), array('label' => __('Position', 'live-composer-page-builder'), 'value' => 'position')), 'section' => 'styling'), array('label' => __('Carousel Elements', 'live-composer-page-builder'), 'id' => 'carousel_elements', 'std' => 'arrows circles', 'type' => 'checkbox', 'choices' => array(array('label' => __('Arrows', 'live-composer-page-builder'), 'value' => 'arrows'), array('label' => __('Circles', 'live-composer-page-builder'), 'value' => 'circles')), 'section' => 'styling'), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonials', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Minimum Height', 'live-composer-page-builder'), 'id' => 'css_min_height', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonials', 'affect_on_change_rule' => 'min-height', 'section' => 'styling', 'ext' => 'px', 'min' => 0, 'max' => 1000, 'increment' => 5), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_sep_border_color', 'std' => '#ededed', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Row Separator', 'live-composer-page-builder')), array('label' => __('Height', 'live-composer-page-builder'), 'id' => 'css_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 0, 'max' => 300, 'section' => 'styling', 'tab' => __('Row Separator', 'live-composer-page-builder')), array('label' => __('Thickness', 'live-composer-page-builder'), 'id' => 'css_sep_thickness', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-bottom-width', 'ext' => 'px', 'min' => 0, 'max' => 50, 'section' => 'styling', 'tab' => __('Row Separator', 'live-composer-page-builder')), array('label' => __('Style', 'live-composer-page-builder'), 'id' => 'css_sep_style', 'std' => 'dashed', 'type' => 'select', 'choices' => array(array('label' => __('Invisible', 'live-composer-page-builder'), 'value' => 'none'), array('label' => __('Solid', 'live-composer-page-builder'), 'value' => 'solid'), array('label' => __('Dashed', 'live-composer-page-builder'), 'value' => 'dashed'), array('label' => __('Dotted', 'live-composer-page-builder'), 'value' => 'dotted')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Row Separator', 'live-composer-page-builder')), array('label' => __('BG Color', 'live-composer-page-builder'), 'id' => 'css_main_bg_color', 'std' => '#5890e5', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-main', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('BG Image', 'live-composer-page-builder'), 'id' => 'css_main_bg_img', 'std' => '', 'type' => 'image', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-main', 'affect_on_change_rule' => 'background-image', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('BG Image Repeat', 'live-composer-page-builder'), 'id' => 'css_main_bg_img_repeat', 'std' => 'repeat', 'type' => 'select', 'choices' => array(array('label' => __('Repeat', 'live-composer-page-builder'), 'value' => 'repeat'), array('label' => __('Repeat Horizontal', 'live-composer-page-builder'), 'value' => 'repeat-x'), array('label' => __('Repeat Vertical', 'live-composer-page-builder'), 'value' => 'repeat-y'), array('label' => __('Do NOT Repeat', 'live-composer-page-builder'), 'value' => 'no-repeat')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-main', 'affect_on_change_rule' => 'background-repeat', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('BG Image Attachment', 'live-composer-page-builder'), 'id' => 'css_main_bg_img_attch', 'std' => 'scroll', 'type' => 'select', 'choices' => array(array('label' => __('Scroll', 'live-composer-page-builder'), 'value' => 'scroll'), array('label' => __('Fixed', 'live-composer-page-builder'), 'value' => 'fixed')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-main', 'affect_on_change_rule' => 'background-attachment', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('BG Image Position', 'live-composer-page-builder'), 'id' => 'css_main_bg_img_pos', 'std' => 'top left', 'type' => 'select', 'choices' => array(array('label' => __('Top Left', 'live-composer-page-builder'), 'value' => 'left top'), array('label' => __('Top Right', 'live-composer-page-builder'), 'value' => 'right top'), array('label' => __('Top Center', 'live-composer-page-builder'), 'value' => 'Center Top'), array('label' => __('Center Left', 'live-composer-page-builder'), 'value' => 'left center'), array('label' => __('Center Right', 'live-composer-page-builder'), 'value' => 'right center'), array('label' => __('Center', 'live-composer-page-builder'), 'value' => 'center center'), array('label' => __('Bottom Left', 'live-composer-page-builder'), 'value' => 'left bottom'), array('label' => __('Bottom Right', 'live-composer-page-builder'), 'value' => 'right bottom'), array('label' => __('Bottom Center', 'live-composer-page-builder'), 'value' => 'center bottom')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-main', 'affect_on_change_rule' => 'background-position', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Border Color', 'live-composer-page-builder'), 'id' => 'css_main_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-main', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Border Width', 'live-composer-page-builder'), 'id' => 'css_main_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-main', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Borders', 'live-composer-page-builder'), 'id' => 'css_main_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'live-composer-page-builder'), 'value' => 'top'), array('label' => __('Right', 'live-composer-page-builder'), 'value' => 'right'), array('label' => __('Bottom', 'live-composer-page-builder'), 'value' => 'bottom'), array('label' => __('Left', 'live-composer-page-builder'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-main', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Border Radius - Top', 'live-composer-page-builder'), 'id' => 'css_main_border_radius_top', 'std' => '4', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-main', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'live-composer-page-builder'), 'id' => 'css_main_border_radius_bottom', 'std' => '4', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-main', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_main_padding_vertical', 'std' => '24', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_main_padding_horizontal', 'std' => '30', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Border Color', 'live-composer-page-builder'), 'id' => 'css_quote_border_color', 'std' => '#83adec', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('quote', 'live-composer-page-builder')), array('label' => __('Border Width', 'live-composer-page-builder'), 'id' => 'css_quote_border_width', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('quote', 'live-composer-page-builder')), array('label' => __('Borders', 'live-composer-page-builder'), 'id' => 'css_quote_border_trbl', 'std' => 'bottom', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'live-composer-page-builder'), 'value' => 'top'), array('label' => __('Right', 'live-composer-page-builder'), 'value' => 'right'), array('label' => __('Bottom', 'live-composer-page-builder'), 'value' => 'bottom'), array('label' => __('Left', 'live-composer-page-builder'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('quote', 'live-composer-page-builder')), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_quote_color', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('quote', 'live-composer-page-builder')), array('label' => __('Font Size', 'live-composer-page-builder'), 'id' => 'css_quote_font_size', 'std' => '17', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('quote', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Font Weight', 'live-composer-page-builder'), 'id' => 'css_quote_font_weight', 'std' => '700', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('quote', 'live-composer-page-builder'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'live-composer-page-builder'), 'id' => 'css_quote_font_family', 'std' => 'Roboto', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('quote', 'live-composer-page-builder')), array('label' => __('Line Height', 'live-composer-page-builder'), 'id' => 'css_quote_line_height', 'std' => '29', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('quote', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_quote_margin', 'std' => '18', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('quote', 'live-composer-page-builder')), array('label' => __('Padding Bottom', 'live-composer-page-builder'), 'id' => 'css_quote_padding_bottom', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('quote', 'live-composer-page-builder')), array('label' => __('Padding Top', 'live-composer-page-builder'), 'id' => 'css_quote_padding_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'padding-top', 'section' => 'styling', 'ext' => 'px', 'tab' => __('quote', 'live-composer-page-builder')), array('label' => __('Text Align', 'live-composer-page-builder'), 'id' => 'css_quote_text_align', 'std' => 'left', 'type' => 'text_align', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'text-align', 'section' => 'styling', 'tab' => __('quote', 'live-composer-page-builder')), array('label' => __('Position', 'live-composer-page-builder'), 'id' => 'author_pos', 'std' => 'inside bottom', 'type' => 'select', 'section' => 'styling', 'tab' => __('author', 'live-composer-page-builder'), 'choices' => array(array('label' => __('Inside Bottom', 'live-composer-page-builder'), 'value' => 'inside bottom'), array('label' => __('Inside Top', 'live-composer-page-builder'), 'value' => 'inside top'), array('label' => __('Outside Bottom', 'live-composer-page-builder'), 'value' => 'outside bottom'), array('label' => __('Outside Top', 'live-composer-page-builder'), 'value' => 'outside top'), array('label' => __('Left', 'live-composer-page-builder'), 'value' => 'outside left'), array('label' => __('Right', 'live-composer-page-builder'), 'value' => 'outside right'))), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_author_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('author', 'live-composer-page-builder')), array('label' => __('Margin Top', 'live-composer-page-builder'), 'id' => 'css_author_margin_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author', 'affect_on_change_rule' => 'margin-top', 'section' => 'styling', 'ext' => 'px', 'tab' => __('author', 'live-composer-page-builder')), array('label' => __('Margin Left', 'live-composer-page-builder'), 'id' => 'css_author_margin_left', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author', 'affect_on_change_rule' => 'margin-left', 'section' => 'styling', 'ext' => 'px', 'tab' => __('author', 'live-composer-page-builder'), 'min' => -100), array('label' => __('Margin Right', 'live-composer-page-builder'), 'id' => 'css_author_margin_right', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author', 'affect_on_change_rule' => 'margin-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('author', 'live-composer-page-builder'), 'min' => -100), array('label' => __('BG Color', 'live-composer-page-builder'), 'id' => 'css_avatar_bg_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-avatar', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('avatar', 'live-composer-page-builder')), array('label' => __('Border Color', 'live-composer-page-builder'), 'id' => 'css_avatar_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-avatar', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('avatar', 'live-composer-page-builder')), array('label' => __('Border Width', 'live-composer-page-builder'), 'id' => 'css_avatar_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-avatar', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('avatar', 'live-composer-page-builder')), array('label' => __('Borders', 'live-composer-page-builder'), 'id' => 'css_avatar_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'live-composer-page-builder'), 'value' => 'top'), array('label' => __('Right', 'live-composer-page-builder'), 'value' => 'right'), array('label' => __('Bottom', 'live-composer-page-builder'), 'value' => 'bottom'), array('label' => __('Left', 'live-composer-page-builder'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-avatar', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('avatar', 'live-composer-page-builder')), array('label' => __('Border Radius', 'live-composer-page-builder'), 'id' => 'css_avatar_border_radius_top', 'std' => '100', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-avatar img, .dslc-testimonial-author-avatar', 'affect_on_change_rule' => 'border-radius', 'section' => 'styling', 'tab' => __('avatar', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Margin Right', 'live-composer-page-builder'), 'id' => 'css_avatar_margin_right', 'std' => '20', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-avatar', 'affect_on_change_rule' => 'margin-right', 'section' => 'styling', 'tab' => __('avatar', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Padding', 'live-composer-page-builder'), 'id' => 'css_avatar_padding', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-avatar', 'affect_on_change_rule' => 'padding', 'section' => 'styling', 'ext' => 'px', 'tab' => __('avatar', 'live-composer-page-builder')), array('label' => __('Size', 'live-composer-page-builder'), 'id' => 'css_avatar_size', 'std' => '55', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-avatar img', 'affect_on_change_rule' => 'width', 'section' => 'styling', 'tab' => __('avatar', 'live-composer-page-builder'), 'min' => 1, 'max' => 100, 'ext' => 'px'), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_name_color', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-name', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('name', 'live-composer-page-builder')), array('label' => __('Font Size', 'live-composer-page-builder'), 'id' => 'css_name_font_size', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-name', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('name', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Font Weight', 'live-composer-page-builder'), 'id' => 'css_name_font_weight', 'std' => '700', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-name', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('name', 'live-composer-page-builder'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'live-composer-page-builder'), 'id' => 'css_name_font_family', 'std' => 'Roboto', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-name', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('name', 'live-composer-page-builder')), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_name_margin_bottom', 'std' => '8', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-name', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('name', 'live-composer-page-builder')), array('label' => __('Margin Top', 'live-composer-page-builder'), 'id' => 'css_name_margin_top', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-name', 'affect_on_change_rule' => 'margin-top', 'section' => 'styling', 'ext' => 'px', 'tab' => __('name', 'live-composer-page-builder')), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_position_color', 'std' => '#cddef7', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-position', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('position', 'live-composer-page-builder')), array('label' => __('Font Size', 'live-composer-page-builder'), 'id' => 'css_position_font_size', 'std' => '11', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-position', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('position', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Font Weight', 'live-composer-page-builder'), 'id' => 'css_position_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-position', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('position', 'live-composer-page-builder'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'live-composer-page-builder'), 'id' => 'css_position_font_family', 'std' => 'Bitter', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-position', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('position', 'live-composer-page-builder')), array('label' => __('Line Height', 'live-composer-page-builder'), 'id' => 'css_position_lheight', 'std' => '1.1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-position', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('position', 'live-composer-page-builder'), 'increment' => '0.05', 'max' => 3), array('label' => __('Responsive Styling', 'live-composer-page-builder'), 'id' => 'css_res_t', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'live-composer-page-builder'), 'value' => 'disabled'), array('label' => __('Enabled', 'live-composer-page-builder'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_t_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonials', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Separator - Height', 'live-composer-page-builder'), 'id' => 'css_res_t_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 1, 'max' => 300, 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Main - Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_res_t_main_padding_vertical', 'std' => '24', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Main - Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_res_t_main_padding_horizontal', 'std' => '30', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Quote - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_t_quote_font_size', 'std' => '17', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Quote - Line Height', 'live-composer-page-builder'), 'id' => 'css_res_t_quote_line_height', 'std' => '29', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Quote - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_t_quote_margin', 'std' => '18', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Quote - Padding Bottom', 'live-composer-page-builder'), 'id' => 'css_res_t_quote_padding_bottom', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Quote - Padding Top', 'live-composer-page-builder'), 'id' => 'css_res_t_quote_padding_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'padding-top', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Author - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_t_author_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Author - Margin Top', 'live-composer-page-builder'), 'id' => 'css_res_t_author_margin_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author', 'affect_on_change_rule' => 'margin-top', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Author - Margin Left', 'live-composer-page-builder'), 'id' => 'css_res_t_author_margin_left', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author', 'affect_on_change_rule' => 'margin-left', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder'), 'min' => -100), array('label' => __('Author - Margin Right', 'live-composer-page-builder'), 'id' => 'css_res_t_author_margin_right', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author', 'affect_on_change_rule' => 'margin-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder'), 'min' => -100), array('label' => __('Avatar - Margin Right', 'live-composer-page-builder'), 'id' => 'css_res_t_avatar_margin_right', 'std' => '20', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-avatar', 'affect_on_change_rule' => 'margin-right', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Avatar - Padding', 'live-composer-page-builder'), 'id' => 'css_res_t_avatar_padding', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-avatar', 'affect_on_change_rule' => 'padding', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Avatar - Size', 'live-composer-page-builder'), 'id' => 'css_res_t_avatar_size', 'std' => '55', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-avatar img', 'affect_on_change_rule' => 'width', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'min' => 1, 'max' => 100, 'ext' => 'px'), array('label' => __('Name - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_t_name_font_size', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-name', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Name - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_t_name_margin_bottom', 'std' => '8', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-name', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Name - Margin Top', 'live-composer-page-builder'), 'id' => 'css_res_t_name_margin_top', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-name', 'affect_on_change_rule' => 'margin-top', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Position - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_t_position_font_size', 'std' => '11', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-position', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Responsive Styling', 'live-composer-page-builder'), 'id' => 'css_res_p', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'live-composer-page-builder'), 'value' => 'disabled'), array('label' => __('Enabled', 'live-composer-page-builder'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_p_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonials', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Separator - Height', 'live-composer-page-builder'), 'id' => 'css_res_p_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 1, 'max' => 300, 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Main - Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_res_p_main_padding_vertical', 'std' => '24', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Main - Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_res_p_main_padding_horizontal', 'std' => '30', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Quote - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_p_quote_font_size', 'std' => '17', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Quote - Line Height', 'live-composer-page-builder'), 'id' => 'css_res_p_quote_line_height', 'std' => '29', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Quote - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_p_quote_margin', 'std' => '18', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Quote - Padding Bottom', 'live-composer-page-builder'), 'id' => 'css_res_p_quote_padding_bottom', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Quote - Padding Top', 'live-composer-page-builder'), 'id' => 'css_res_p_quote_padding_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-quote', 'affect_on_change_rule' => 'padding-top', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Author - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_p_author_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Author - Margin Top', 'live-composer-page-builder'), 'id' => 'css_res_p_author_margin_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author', 'affect_on_change_rule' => 'margin-top', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Author - Margin Left', 'live-composer-page-builder'), 'id' => 'css_res_p_author_margin_left', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author', 'affect_on_change_rule' => 'margin-left', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder'), 'min' => -100), array('label' => __('Author - Margin Right', 'live-composer-page-builder'), 'id' => 'css_res_p_author_margin_right', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author', 'affect_on_change_rule' => 'margin-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder'), 'min' => -100), array('label' => __('Avatar - Margin Right', 'live-composer-page-builder'), 'id' => 'css_res_p_avatar_margin_right', 'std' => '20', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-avatar', 'affect_on_change_rule' => 'margin-right', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Avatar - Padding', 'live-composer-page-builder'), 'id' => 'css_res_p_avatar_padding', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-avatar', 'affect_on_change_rule' => 'padding', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Avatar - Size', 'live-composer-page-builder'), 'id' => 'css_res_p_avatar_size', 'std' => '55', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-avatar img', 'affect_on_change_rule' => 'width', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'min' => 1, 'max' => 100, 'ext' => 'px'), array('label' => __('Name - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_p_name_font_size', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-name', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Name - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_p_name_margin_bottom', 'std' => '8', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-name', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Name - Margin Top', 'live-composer-page-builder'), 'id' => 'css_res_p_name_margin_top', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-name', 'affect_on_change_rule' => 'margin-top', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Position - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_p_position_font_size', 'std' => '11', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-testimonial-author-position', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('heading_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('filters_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_arrows_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_circles_options'));
Example #9
0
<?php

if (dslc_is_module_active('AS_Projects')) {
    include DS_LIVE_COMPOSER_ABS . '/as_custom/modules/as-projects/functions.php';
}
class AS_Projects extends DSLC_Module
{
    var $module_id;
    var $module_title;
    var $module_icon;
    var $module_category;
    function __construct()
    {
        $this->module_id = 'AS_Projects';
        $this->module_title = __('AS - Projects', 'dslc_string');
        $this->module_icon = 'th';
        $this->module_category = 'as - posts';
    }
    function options()
    {
        $cats = get_terms('dslc_projects_cats');
        $cats_choices = array();
        foreach ($cats as $cat) {
            $cats_choices[] = array('label' => $cat->name, 'value' => $cat->slug);
        }
        $dslc_options = array(array('label' => __('Show On', 'dslc_string'), 'id' => 'css_show_on', 'std' => 'desktop tablet phone', 'type' => 'checkbox', 'choices' => array(array('label' => __('Desktop', 'dslc_string'), 'value' => 'desktop'), array('label' => __('Tablet', 'dslc_string'), 'value' => 'tablet'), array('label' => __('Phone', 'dslc_string'), 'value' => 'phone'))), array('label' => __('Link', 'dslc_string'), 'id' => 'link', 'std' => 'permalink', 'type' => 'select', 'help' => __('<strong>Link to project page</strong> links to the project page on this website.<br><strong>Link to custom project URL</strong> links to the URL set in the project options.', 'dslc_string'), 'choices' => array(array('label' => __('Link to project page', 'dslc_string'), 'value' => 'permalink'), array('label' => __('Link to custom project URL', 'dslc_string'), 'value' => 'custom'))), array('label' => __('Link Target', 'dslc_string'), 'id' => 'link_target', 'std' => '_self', 'type' => 'select', 'choices' => array(array('label' => __('Same tab', 'dslc_string'), 'value' => '_self'), array('label' => __('New tab', 'dslc_string'), 'value' => '_blank'))), array('label' => __('Type', 'dslc_string'), 'id' => 'type', 'std' => 'grid', 'type' => 'select', 'choices' => array(array('label' => __('Grid', 'dslc_string'), 'value' => 'grid'), array('label' => __('Masonry Grid', 'dslc_string'), 'value' => 'masonry'), array('label' => __('Carousel', 'dslc_string'), 'value' => 'carousel'))), array('label' => __('Posts Per Page', 'dslc_string'), 'id' => 'amount', 'std' => '8', 'type' => 'text'), array('label' => __('Pagination', 'dslc_string'), 'id' => 'pagination_type', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled'), array('label' => __('Numbered', 'dslc_string'), 'value' => 'numbered'), array('label' => __('Prev/Next', 'dslc_string'), 'value' => 'prevnext'))), array('label' => __('Posts Per Row', 'dslc_string'), 'id' => 'columns', 'std' => '3', 'type' => 'select', 'choices' => $this->shared_options('posts_per_row_choices')), array('label' => __('Categories', 'dslc_string'), 'id' => 'categories', 'std' => '', 'type' => 'checkbox', 'choices' => $cats_choices), array('label' => __('Categories Operator', 'dslc_string'), 'id' => 'categories_operator', 'std' => 'IN', 'help' => __('<strong>IN</strong> - Posts must be in at least one chosen category.<br><strong>AND</strong> - Posts must be in all chosen categories.<br><strong>NOT IN</strong> Posts must not be in the chosen categories.', 'dslc_string'), 'type' => 'select', 'choices' => array(array('label' => __('IN', 'dslc_string'), 'value' => 'IN'), array('label' => __('AND', 'dslc_string'), 'value' => 'AND'), array('label' => __('NOT IN', 'dslc_string'), 'value' => 'NOT IN'))), array('label' => __('Order By', 'dslc_string'), 'id' => 'orderby', 'std' => 'date', 'type' => 'select', 'choices' => array(array('label' => __('Publish Date', 'dslc_string'), 'value' => 'date'), array('label' => __('Modified Date', 'dslc_string'), 'value' => 'modified'), array('label' => __('Random', 'dslc_string'), 'value' => 'rand'), array('label' => __('Alphabetic', 'dslc_string'), 'value' => 'title'), array('label' => __('Comment Count', 'dslc_string'), 'value' => 'comment_count'))), array('label' => __('Order', 'dslc_string'), 'id' => 'order', 'std' => 'DESC', 'type' => 'select', 'choices' => array(array('label' => __('Ascending', 'dslc_string'), 'value' => 'ASC'), array('label' => __('Descending', 'dslc_string'), 'value' => 'DESC'))), array('label' => __('Offset', 'dslc_string'), 'id' => 'offset', 'std' => '0', 'type' => 'text'), array('label' => __('Include (IDs)', 'dslc_string'), 'id' => 'query_post_in', 'std' => '', 'type' => 'text'), array('label' => __('Exclude (IDs)', 'dslc_string'), 'id' => 'query_post_not_in', 'std' => '', 'type' => 'text'), array('label' => __('Elements', 'dslc_string'), 'id' => 'elements', 'std' => '', 'type' => 'checkbox', 'choices' => array(array('label' => __('Heading', 'dslc_string'), 'value' => 'main_heading'), array('label' => __('Filters', 'dslc_string'), 'value' => 'filters')), 'section' => 'styling'), array('label' => __('Post Elements', 'dslc_string'), 'id' => 'post_elements', 'std' => 'thumbnail categories title icon_link', 'type' => 'checkbox', 'choices' => array(array('label' => __('Thumbnail', 'dslc_string'), 'value' => 'thumbnail'), array('label' => __('Title', 'dslc_string'), 'value' => 'title'), array('label' => __('Categories', 'dslc_string'), 'value' => 'categories'), array('label' => __('Icon', 'dslc_string'), 'value' => 'icon_link')), 'section' => 'styling'), array('label' => __('Carousel Elements', 'dslc_string'), 'id' => 'carousel_elements', 'std' => 'arrows circles', 'type' => 'checkbox', 'choices' => array(array('label' => __('Arrows', 'dslc_string'), 'value' => 'arrows'), array('label' => __('Circles', 'dslc_string'), 'value' => 'circles')), 'section' => 'styling'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-projects', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Item Margin Bottom', 'dslc_string'), 'id' => 'css_margin_bottom_item', 'std' => '30', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Enable/Disable', 'dslc_string'), 'id' => 'separator_enabled', 'std' => 'enabled', 'type' => 'select', 'choices' => array(array('label' => __('Enabled', 'dslc_string'), 'value' => 'enabled'), array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled')), 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('Color', 'dslc_string'), 'id' => 'css_sep_border_color', 'std' => '#ededed', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('Height', 'dslc_string'), 'id' => 'css_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 0, 'max' => 300, 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('Style', 'dslc_string'), 'id' => 'css_sep_style', 'std' => 'dashed', 'type' => 'select', 'choices' => array(array('label' => __('Invisible', 'dslc_string'), 'value' => 'none'), array('label' => __('Solid', 'dslc_string'), 'value' => 'solid'), array('label' => __('Dashed', 'dslc_string'), 'value' => 'dashed'), array('label' => __('Dotted', 'dslc_string'), 'value' => 'dotted')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('BG Color', 'dslc_string'), 'id' => 'css_thumbnail_bg_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_thumb_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_thumb_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Borders', 'dslc_string'), 'id' => 'css_thumb_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom'), array('label' => __('Left', 'dslc_string'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Border Radius - Top', 'dslc_string'), 'id' => 'css_thumbnail_border_radius_top', 'std' => '', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner, .dslc-project-thumb img', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string'), 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'dslc_string'), 'id' => 'css_thumbnail_border_radius_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner, .dslc-project-thumb img', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_thumbnail_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Padding Horizontal', 'dslc_string'), 'id' => 'css_thumbnail_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Resize - Height', 'dslc_string'), 'id' => 'thumb_resize_height', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('thumbnail', 'dslc_string')), array('label' => __('Resize - Width', 'dslc_string'), 'id' => 'thumb_resize_width_manual', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('thumbnail', 'dslc_string')), array('label' => __('Resize - Width', 'dslc_string'), 'id' => 'thumb_resize_width', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('thumbnail', 'dslc_string'), 'visibility' => 'hidden'), array('label' => __('Width', 'dslc_string'), 'id' => 'thumb_width', 'std' => '100', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-thumb', 'affect_on_change_rule' => 'width', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string'), 'min' => 1, 'max' => 100, 'ext' => '%'), array('label' => __(' BG Color', 'dslc_string'), 'id' => 'css_main_bg_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __(' BG Color - Hover', 'dslc_string'), 'id' => 'css_main_bg_color_hover', 'std' => 'rgba(40, 43, 48, 0.8)', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main:hover', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Duration when hover(ms)', 'dslc_string'), 'id' => 'css_main_bg_color_duration_hover', 'std' => '300', 'type' => 'text', 'refresh_on_change' => true, 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_main_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_main_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'dslc_string')), array('label' => __('Borders', 'dslc_string'), 'id' => 'css_main_border_trbl', 'std' => 'right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom'), array('label' => __('Left', 'dslc_string'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Border Radius - Top', 'dslc_string'), 'id' => 'css_main_border_radius_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'tab' => __('Main', 'dslc_string'), 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'dslc_string'), 'id' => 'css_main_border_radius_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'tab' => __('Main', 'dslc_string'), 'ext' => 'px'), array('label' => __('Minimum Height', 'dslc_string'), 'id' => 'css_main_min_height', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'min-height', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'dslc_string'), 'min' => 0, 'max' => 500), array('label' => __('Color', 'dslc_string'), 'id' => 'css_title_color', 'std' => '#fff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2 a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Color - Hover', 'dslc_string'), 'id' => 'css_title_color_hover', 'std' => '#00b9cf', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2:hover a,.dslc-project-title h2 a:hover', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Font Size', 'dslc_string'), 'id' => 'css_title_font_size', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight', 'dslc_string'), 'id' => 'css_title_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Weight tag Span', 'dslc_string'), 'id' => 'css_title_font_weight_span', 'std' => '700', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2 span,.dslc-project-title h2 a span', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'dslc_string'), 'id' => 'css_title_font_family', 'std' => 'Raleway', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Line Height', 'dslc_string'), 'id' => 'css_title_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Letter Spacing', 'dslc_string'), 'id' => 'css_title_letter_spacing', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'letter-spacing', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Text Transform', 'dslc_string'), 'id' => 'css_title_text_transform', 'std' => 'none', 'type' => 'select', 'choices' => array(array('label' => __('None', 'dslc_string'), 'value' => 'none'), array('label' => __('Capitalize', 'dslc_string'), 'value' => 'capitalize'), array('label' => __('Uppercase', 'dslc_string'), 'value' => 'uppercase'), array('label' => __('Lowercase', 'dslc_string'), 'value' => 'lowercase')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2', 'affect_on_change_rule' => 'text-transform', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_title_margin_bottom', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Color', 'dslc_string'), 'id' => 'css_cats_color', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Categories', 'dslc_string')), array('label' => __('Font Size', 'dslc_string'), 'id' => 'css_cats_font_size', 'std' => '14', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Categories', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight', 'dslc_string'), 'id' => 'css_cats_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Categories', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'dslc_string'), 'id' => 'css_cats_font_family', 'std' => 'Bitter', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Categories', 'dslc_string')), array('label' => __('Line Height', 'dslc_string'), 'id' => 'css_cats_line_height', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Categories', 'dslc_string'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_cats_margin-bottom', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Categories', 'dslc_string')), array('label' => __('BG Color', 'dslc_string'), 'id' => 'css_button_bg_color', 'std' => '#333333', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-project-custom .as-zoom-img-project,.as-project-custom .as-link-to-project', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Icon', 'dslc_string')), array('label' => __('BG Color - Hover', 'dslc_string'), 'id' => 'css_button_bg_color_hover', 'std' => '#00b9cf', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-project-custom .as-zoom-img-project:hover,.as-project-custom .as-link-to-project:hover', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Icon', 'dslc_string')), array('label' => __('Border Radius', 'dslc_string'), 'id' => 'css_button_border_radius', 'std' => '100', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-project-custom .as-zoom-img-project,.as-project-custom .as-link-to-project', 'affect_on_change_rule' => 'border-radius', 'section' => 'styling', 'tab' => __('Icon', 'dslc_string'), 'ext' => 'px'), array('label' => __('Color', 'dslc_string'), 'id' => 'css_button_color', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-project-custom .as-zoom-img-project,.as-project-custom .as-link-to-project', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Icon', 'dslc_string')), array('label' => __('Color - Hover', 'dslc_string'), 'id' => 'css_button_color_hover', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-project-custom .as-zoom-img-project:hover,.as-project-custom .as-link-to-project:hover', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Icon', 'dslc_string')), array('label' => __('Ajax Projects', 'dslc_string'), 'id' => 'as_ajax_projects', 'std' => 1, 'type' => 'select', 'choices' => array(array('label' => __('Use Ajax Portfolio', 'dslc_string'), 'value' => 1), array('label' => __('Normal Link', 'dslc_string'), 'value' => 0)), 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Position Ajax Projects', 'dslc_string'), 'id' => 'as_ajax_projects_position', 'std' => 'bottom', 'type' => 'select', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom')), 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Ajax Content Margin Bottom', 'dslc_string'), 'id' => 'as_ajax_projects_margin_bottom', 'std' => '35', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '#as_portfolio_content', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Color of Navigation', 'dslc_string'), 'id' => 'as_ajax_projects_nav_color', 'std' => 'rgb(44, 62, 79)', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-portfolio-ajax-wrapper .as-port-control span.as-btn-text-ajax-prj', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Font Family of Nav', 'dslc_string'), 'id' => 'as_ajax_projects_nav_font_family', 'std' => 'Raleway', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-portfolio-ajax-wrapper .as-port-control span.as-btn-text-ajax-prj', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Font Weight of Nav', 'dslc_string'), 'id' => 'as_ajax_projects_nav_font_weight', 'std' => '700', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-portfolio-ajax-wrapper .as-port-control span.as-btn-text-ajax-prj', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Size of Nav', 'dslc_string'), 'id' => 'as_ajax_projects_nav_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-portfolio-ajax-wrapper .as-port-control span.as-btn-text-ajax-prj', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Nav Margin Bottom', 'dslc_string'), 'id' => 'as_ajax_projects_nav_margin_bottom', 'std' => '30', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-portfolio-ajax-wrapper .as-port-control', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Color of Title', 'dslc_string'), 'id' => 'as_ajax_projects_title_color', 'std' => 'rgb(89, 89, 89)', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-title', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Font Family of Title', 'dslc_string'), 'id' => 'as_ajax_projects_title_font_family', 'std' => 'Raleway', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-title', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Line Height of Title', 'dslc_string'), 'id' => 'as_ajax_projects_title_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-title', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight of Title', 'dslc_string'), 'id' => 'as_ajax_projects_title_font_weight', 'std' => '600', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-title', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Size of Title', 'dslc_string'), 'id' => 'as_ajax_projects_title_font_size', 'std' => '30', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-title', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Text Transform', 'dslc_string'), 'id' => 'as_ajax_projects_title_text_transform', 'std' => 'uppercase', 'type' => 'select', 'choices' => array(array('label' => __('None', 'dslc_string'), 'value' => 'none'), array('label' => __('Capitalize', 'dslc_string'), 'value' => 'capitalize'), array('label' => __('Uppercase', 'dslc_string'), 'value' => 'uppercase'), array('label' => __('Lowercase', 'dslc_string'), 'value' => 'lowercase')), 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-title', 'affect_on_change_rule' => 'text-transform', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Letter Spacing', 'dslc_string'), 'id' => 'as_ajax_projects_title_letter_spacing', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-title', 'affect_on_change_rule' => 'letter-spacing', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title Margin Bottom', 'dslc_string'), 'id' => 'as_ajax_projects_title_margin_bottom', 'std' => '35', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title Align', 'dslc_string'), 'id' => 'as_ajax_projects_title_text_align', 'std' => 'center', 'type' => 'select', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper', 'affect_on_change_rule' => 'text-align', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'choices' => array(array('label' => __('Left', 'dslc_string'), 'value' => 'left'), array('label' => __('Center', 'dslc_string'), 'value' => 'center'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Justify', 'dslc_string'), 'value' => 'justify'))), array('label' => __('Color of Category', 'dslc_string'), 'id' => 'as_ajax_projects_category_color', 'std' => 'rgb(131, 131, 131)', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-category', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Font Family of Category', 'dslc_string'), 'id' => 'as_ajax_projects_category_font_family', 'std' => 'Bitter', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-category', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Line Height of Category', 'dslc_string'), 'id' => 'as_ajax_projects_category_line_height', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-category', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight of Category', 'dslc_string'), 'id' => 'as_ajax_projects_category_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-category', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Size of Category', 'dslc_string'), 'id' => 'as_ajax_projects_category_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-category', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Text Transform', 'dslc_string'), 'id' => 'as_ajax_projects_category_text_transform', 'std' => 'uppercase', 'type' => 'select', 'choices' => array(array('label' => __('None', 'dslc_string'), 'value' => 'none'), array('label' => __('Capitalize', 'dslc_string'), 'value' => 'capitalize'), array('label' => __('Uppercase', 'dslc_string'), 'value' => 'uppercase'), array('label' => __('Lowercase', 'dslc_string'), 'value' => 'lowercase')), 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-category', 'affect_on_change_rule' => 'text-transform', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Letter Spacing', 'dslc_string'), 'id' => 'as_ajax_projects_category_letter_spacing', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-category', 'affect_on_change_rule' => 'letter-spacing', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Category Margin Bottom', 'dslc_string'), 'id' => 'as_ajax_projects_category_margin_bottom .as-port-ajax-category', 'std' => '35', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-category', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Color of Excerpt', 'dslc_string'), 'id' => 'as_ajax_projects_excerpt_color', 'std' => 'rgb(76, 76, 76)', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-port-ajax-data .as-port-ajax-excerpt', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Font Family of Excerpt', 'dslc_string'), 'id' => 'as_ajax_projects_excerpt_font_family', 'std' => 'Raleway', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-port-ajax-data .as-port-ajax-excerpt', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Line Height of Excerpt', 'dslc_string'), 'id' => 'as_ajax_projects_excerpt_line_height', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-port-ajax-data .as-port-ajax-excerpt', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight of Excerpt', 'dslc_string'), 'id' => 'as_ajax_projects_excerpt_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-port-ajax-data .as-port-ajax-excerpt', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Size of Excerpt', 'dslc_string'), 'id' => 'as_ajax_projects_excerpt_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-port-ajax-data .as-port-ajax-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Text Transform Excerpt', 'dslc_string'), 'id' => 'as_ajax_projects_excerpt_text_transform', 'std' => 'none', 'type' => 'select', 'choices' => array(array('label' => __('None', 'dslc_string'), 'value' => 'none'), array('label' => __('Capitalize', 'dslc_string'), 'value' => 'capitalize'), array('label' => __('Uppercase', 'dslc_string'), 'value' => 'uppercase'), array('label' => __('Lowercase', 'dslc_string'), 'value' => 'lowercase')), 'refresh_on_change' => false, 'affect_on_change_el' => '.as-port-ajax-data .as-port-ajax-excerpt', 'affect_on_change_rule' => 'text-transform', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Letter Spacing Excerpt', 'dslc_string'), 'id' => 'as_ajax_projects_excerpt_letter_spacing', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-port-ajax-data .as-port-ajax-excerpt', 'affect_on_change_rule' => 'letter-spacing', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Responsive Styling', 'dslc_string'), 'id' => 'css_res_t', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled'), array('label' => __('Enabled', 'dslc_string'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-projects', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Separator - Height', 'dslc_string'), 'id' => 'css_res_t_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 1, 'max' => 300, 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Thumbnail - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Thumbnail - Padding Vertical', 'dslc_string'), 'id' => 'css_res_t_thumbnail_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Thumbnail - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_t_thumbnail_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Main - Padding Vertical', 'dslc_string'), 'id' => 'css_res_t_main_padding_vertical', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Main - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_t_main_padding_horizontal', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Title - Font Size', 'dslc_string'), 'id' => 'css_res_t_title_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Line Height', 'dslc_string'), 'id' => 'css_res_t_title_line_height', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_title_margin_bottom', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Categories - Font Size', 'dslc_string'), 'id' => 'css_res_t_cats_font_size', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Categories - Line Height', 'dslc_string'), 'id' => 'css_res_t_cats_line_height', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Categories - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_cats_margin-bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Excerpt - Font Size', 'dslc_string'), 'id' => 'css_res_t_excerpt_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt - Line Height', 'dslc_string'), 'id' => 'css_res_t_excerpt_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt, .dslc-project-excerpt p', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_excerpt_margin', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Button - Font Size', 'dslc_string'), 'id' => 'css_res_t_button_font_size', 'std' => '11', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Button - Padding Vertical', 'dslc_string'), 'id' => 'css_res_t_button_padding_vertical', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Button - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_t_button_padding_horizontal', 'std' => '16', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Button Icon - Margin Right', 'dslc_string'), 'id' => 'css_res_t_button_icon_margin', 'std' => '5', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a .dslc-icon', 'affect_on_change_rule' => 'margin-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Responsive Styling', 'dslc_string'), 'id' => 'css_res_p', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled'), array('label' => __('Enabled', 'dslc_string'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('phone', 'dslc_string')), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-projects', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Separator - Height', 'dslc_string'), 'id' => 'css_res_p_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 1, 'max' => 300, 'section' => 'responsive', 'tab' => __('phone', 'dslc_string')), array('label' => __('Thumbnail - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Thumbnail - Padding Vertical', 'dslc_string'), 'id' => 'css_res_p_thumbnail_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Thumbnail - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_p_thumbnail_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Main - Padding Vertical', 'dslc_string'), 'id' => 'css_res_p_main_padding_vertical', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Main - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_p_main_padding_horizontal', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Title - Font Size', 'dslc_string'), 'id' => 'css_res_p_title_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Line Height', 'dslc_string'), 'id' => 'css_res_p_title_line_height', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_title_margin_bottom', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Categories - Font Size', 'dslc_string'), 'id' => 'css_res_p_cats_font_size', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Categories - Line Height', 'dslc_string'), 'id' => 'css_res_p_cats_line_height', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Categories - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_cats_margin-bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Excerpt - Font Size', 'dslc_string'), 'id' => 'css_res_p_excerpt_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt - Line Height', 'dslc_string'), 'id' => 'css_res_p_excerpt_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt, .dslc-project-excerpt p', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_excerpt_margin', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Button - Font Size', 'dslc_string'), 'id' => 'css_res_p_button_font_size', 'std' => '11', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Button - Padding Vertical', 'dslc_string'), 'id' => 'css_res_p_button_padding_vertical', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Button - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_p_button_padding_horizontal', 'std' => '16', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Button Icon - Margin Right', 'dslc_string'), 'id' => 'css_res_p_button_icon_margin', 'std' => '5', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a .dslc-icon', 'affect_on_change_rule' => 'margin-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('heading_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('filters_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_arrows_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_circles_options'));
Example #10
0
<?php

if (dslc_is_module_active('DSLC_Galleries')) {
    include DS_LIVE_COMPOSER_ABS . '/modules/galleries/functions.php';
}
class DSLC_Galleries extends DSLC_Module
{
    var $module_id;
    var $module_title;
    var $module_icon;
    var $module_category;
    function __construct()
    {
        $this->module_id = 'DSLC_Galleries';
        $this->module_title = __('Galleries', 'dslc_string');
        $this->module_icon = 'picture';
        $this->module_category = 'posts';
    }
    function options()
    {
        $cats = get_terms('dslc_galleries_cats');
        $cats_choices = array();
        foreach ($cats as $cat) {
            $cats_choices[] = array('label' => $cat->name, 'value' => $cat->slug);
        }
        $dslc_options = array(array('label' => __('Show On', 'dslc_string'), 'id' => 'css_show_on', 'std' => 'desktop tablet phone', 'type' => 'checkbox', 'choices' => array(array('label' => __('Desktop', 'dslc_string'), 'value' => 'desktop'), array('label' => __('Tablet', 'dslc_string'), 'value' => 'tablet'), array('label' => __('Phone', 'dslc_string'), 'value' => 'phone'))), array('label' => __('Type', 'dslc_string'), 'id' => 'type', 'std' => 'masonry', 'type' => 'select', 'choices' => array(array('label' => __('Grid', 'dslc_string'), 'value' => 'grid'), array('label' => __('Masonry Grid', 'dslc_string'), 'value' => 'masonry'), array('label' => __('Carousel', 'dslc_string'), 'value' => 'carousel'))), array('label' => __('Orientation', 'dslc_string'), 'id' => 'orientation', 'std' => 'vertical', 'type' => 'select', 'choices' => array(array('label' => __('Vertical', 'dslc_string'), 'value' => 'vertical'), array('label' => __('Horizontal', 'dslc_string'), 'value' => 'horizontal'))), array('label' => __('Posts Per Page', 'dslc_string'), 'id' => 'amount', 'std' => '8', 'type' => 'text'), array('label' => __('Pagination', 'dslc_string'), 'id' => 'pagination_type', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled'), array('label' => __('Numbered', 'dslc_string'), 'value' => 'numbered'), array('label' => __('Prev/Next', 'dslc_string'), 'value' => 'prevnext'))), array('label' => __('Posts Per Row', 'dslc_string'), 'id' => 'columns', 'std' => '3', 'type' => 'select', 'choices' => $this->shared_options('posts_per_row_choices')), array('label' => __('Categories', 'dslc_string'), 'id' => 'categories', 'std' => '', 'type' => 'checkbox', 'choices' => $cats_choices), array('label' => __('Categories Operator', 'dslc_string'), 'id' => 'categories_operator', 'std' => 'IN', 'help' => __('<strong>IN</strong> - Posts must be in at least one chosen category.<br><strong>AND</strong> - Posts must be in all chosen categories.<br><strong>NOT IN</strong> Posts must not be in the chosen categories.', 'dslc_string'), 'type' => 'select', 'choices' => array(array('label' => __('IN', 'dslc_string'), 'value' => 'IN'), array('label' => __('AND', 'dslc_string'), 'value' => 'AND'), array('label' => __('NOT IN', 'dslc_string'), 'value' => 'NOT IN'))), array('label' => __('Order By', 'dslc_string'), 'id' => 'orderby', 'std' => 'date', 'type' => 'select', 'choices' => array(array('label' => __('Publish Date', 'dslc_string'), 'value' => 'date'), array('label' => __('Modified Date', 'dslc_string'), 'value' => 'modified'), array('label' => __('Random', 'dslc_string'), 'value' => 'rand'), array('label' => __('Alphabetic', 'dslc_string'), 'value' => 'title'), array('label' => __('Comment Count', 'dslc_string'), 'value' => 'comment_count'))), array('label' => __('Order', 'dslc_string'), 'id' => 'order', 'std' => 'DESC', 'type' => 'select', 'choices' => array(array('label' => __('Ascending', 'dslc_string'), 'value' => 'ASC'), array('label' => __('Descending', 'dslc_string'), 'value' => 'DESC'))), array('label' => __('Offset', 'dslc_string'), 'id' => 'offset', 'std' => '0', 'type' => 'text'), array('label' => __('Include (IDs)', 'dslc_string'), 'id' => 'query_post_in', 'std' => '', 'type' => 'text'), array('label' => __('Exclude (IDs)', 'dslc_string'), 'id' => 'query_post_not_in', 'std' => '', 'type' => 'text'), array('label' => __('Thumbnail - Link Behaviour', 'dslc_string'), 'id' => 'thumb_link_behaviour', 'std' => 'regular', 'type' => 'select', 'choices' => array(array('label' => __('Normal', 'dslc_string'), 'value' => 'regular'), array('label' => __('Lightbox', 'dslc_string'), 'value' => 'lightbox')), 'tab' => __('other', 'dslc_string')), array('label' => __('Title - Link Behaviour', 'dslc_string'), 'id' => 'title_link_behaviour', 'std' => 'regular', 'type' => 'select', 'choices' => array(array('label' => __('Normal', 'dslc_string'), 'value' => 'regular'), array('label' => __('Lightbox', 'dslc_string'), 'value' => 'lightbox')), 'tab' => __('other', 'dslc_string')), array('label' => __('Elements', 'dslc_string'), 'id' => 'elements', 'std' => '', 'type' => 'checkbox', 'choices' => array(array('label' => __('Heading', 'dslc_string'), 'value' => 'main_heading'), array('label' => __('Filters', 'dslc_string'), 'value' => 'filters')), 'section' => 'styling'), array('label' => __('Post Elements', 'dslc_string'), 'id' => 'post_elements', 'std' => 'thumbnail count title separator excerpt', 'type' => 'checkbox', 'choices' => array(array('label' => __('Thumbnail', 'dslc_string'), 'value' => 'thumbnail'), array('label' => __('Count', 'dslc_string'), 'value' => 'count'), array('label' => __('Title', 'dslc_string'), 'value' => 'title'), array('label' => __('Separator', 'dslc_string'), 'value' => 'separator'), array('label' => __('Excerpt', 'dslc_string'), 'value' => 'excerpt'), array('label' => __('Button', 'dslc_string'), 'value' => 'button')), 'section' => 'styling'), array('label' => __('Carousel Elements', 'dslc_string'), 'id' => 'carousel_elements', 'std' => 'arrows circles', 'type' => 'checkbox', 'choices' => array(array('label' => __('Arrows', 'dslc_string'), 'value' => 'arrows'), array('label' => __('Circles', 'dslc_string'), 'value' => 'circles')), 'section' => 'styling'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-galleries', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Minimum Height', 'dslc_string'), 'id' => 'css_min_height', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-galleries', 'affect_on_change_rule' => 'min-height', 'section' => 'styling', 'ext' => 'px', 'min' => 0, 'max' => 1000, 'increment' => 5), array('label' => __('Enable/Disable', 'dslc_string'), 'id' => 'separator_enabled', 'std' => 'enabled', 'type' => 'select', 'choices' => array(array('label' => __('Enabled', 'dslc_string'), 'value' => 'enabled'), array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled')), 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('Color', 'dslc_string'), 'id' => 'css_sep_border_color', 'std' => '#ededed', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('Height', 'dslc_string'), 'id' => 'css_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 0, 'max' => 300, 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('Thickness', 'dslc_string'), 'id' => 'css_sep_thickness', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-bottom-width', 'ext' => 'px', 'min' => 0, 'max' => 50, 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('Style', 'dslc_string'), 'id' => 'css_sep_style', 'std' => 'dashed', 'type' => 'select', 'choices' => array(array('label' => __('Invisible', 'dslc_string'), 'value' => 'none'), array('label' => __('Solid', 'dslc_string'), 'value' => 'solid'), array('label' => __('Dashed', 'dslc_string'), 'value' => 'dashed'), array('label' => __('Dotted', 'dslc_string'), 'value' => 'dotted')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('BG Color', 'dslc_string'), 'id' => 'css_thumbnail_bg_color', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_thumb_border_color', 'std' => '#dbdbdb', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb-inner', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_thumb_border_width', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb-inner', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Borders', 'dslc_string'), 'id' => 'css_thumb_border_trbl', 'std' => 'top right left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom'), array('label' => __('Left', 'dslc_string'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb-inner', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Border Radius - Top', 'dslc_string'), 'id' => 'css_thumbnail_border_radius_top', 'std' => '3', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb-inner, .dslc-gallery-thumb img', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string'), 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'dslc_string'), 'id' => 'css_thumbnail_border_radius_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb-inner, .dslc-gallery-thumb img', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_thumbnail_padding_vertical', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Padding Horizontal', 'dslc_string'), 'id' => 'css_thumbnail_padding_horizontal', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Resize - Height', 'dslc_string'), 'id' => 'thumb_resize_height', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('thumbnail', 'dslc_string')), array('label' => __('Resize - Width', 'dslc_string'), 'id' => 'thumb_resize_width_manual', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('thumbnail', 'dslc_string')), array('label' => __('Resize - Width', 'dslc_string'), 'id' => 'thumb_resize_width', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('thumbnail', 'dslc_string'), 'visibility' => 'hidden'), array('label' => __('Width', 'dslc_string'), 'id' => 'thumb_width', 'std' => '100', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-thumb', 'affect_on_change_rule' => 'width', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string'), 'min' => 1, 'max' => 100, 'ext' => '%'), array('label' => __('BG Color', 'dslc_string'), 'id' => 'css_count_bg_color', 'std' => '#0f54bd', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-bg', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Count', 'dslc_string')), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_count_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-bg', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Count', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_count_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-bg', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Count', 'dslc_string')), array('label' => __('Borders', 'dslc_string'), 'id' => 'css_count_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom'), array('label' => __('Left', 'dslc_string'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-bg', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Count', 'dslc_string')), array('label' => __('Border Radius', 'dslc_string'), 'id' => 'css_count_border_radius', 'std' => '100', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-bg', 'affect_on_change_rule' => 'border-radius', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Count', 'dslc_string')), array('label' => __('Margin', 'dslc_string'), 'id' => 'css_count_margin', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count', 'affect_on_change_rule' => 'margin', 'section' => 'styling', 'tab' => __('Count', 'dslc_string'), 'ext' => 'px'), array('label' => __('Opacity', 'dslc_string'), 'id' => 'css_count_bg_opacity', 'std' => '0.6', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-bg', 'affect_on_change_rule' => 'opacity', 'section' => 'styling', 'tab' => __('Count', 'dslc_string'), 'min' => 0, 'max' => 1, 'increment' => 0.01), array('label' => __('Position', 'dslc_string'), 'id' => 'count_pos', 'std' => 'center', 'type' => 'select', 'section' => 'styling', 'tab' => __('Count', 'dslc_string'), 'choices' => array(array('label' => __('Top Left', 'dslc_string'), 'value' => 'topleft'), array('label' => __('Top Right', 'dslc_string'), 'value' => 'topright'), array('label' => __('Center', 'dslc_string'), 'value' => 'center'), array('label' => __('Bottom Left', 'dslc_string'), 'value' => 'bottomleft'), array('label' => __('Bottom Right', 'dslc_string'), 'value' => 'bottomright'))), array('label' => __('Padding', 'dslc_string'), 'id' => 'css_count_padding', 'std' => '20', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count', 'affect_on_change_rule' => 'padding', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Count', 'dslc_string')), array('label' => __('Count - Color', 'dslc_string'), 'id' => 'css_count_num_color', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-num', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Count', 'dslc_string')), array('label' => __('Count - Font Size', 'dslc_string'), 'id' => 'css_count_num_font_size', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-num', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Count', 'dslc_string'), 'ext' => 'px'), array('label' => __('Count - Font Weight', 'dslc_string'), 'id' => 'css_count_num_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-num', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Count', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Count - Font Family', 'dslc_string'), 'id' => 'css_count_num_color_font_family', 'std' => 'Roboto', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-num', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Count', 'dslc_string')), array('label' => __('Count - Margin Bottom', 'dslc_string'), 'id' => 'css_count_num_margin_bottom', 'std' => '8', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-num', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Count', 'dslc_string'), 'ext' => 'px'), array('label' => __('Text', 'dslc_string'), 'id' => 'count_text', 'std' => 'IMAGES', 'type' => 'text', 'section' => 'styling', 'tab' => __('Count', 'dslc_string')), array('label' => __('Text - Color', 'dslc_string'), 'id' => 'css_count_txt_color', 'std' => '#fff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-txt', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Count', 'dslc_string')), array('label' => __('Text - Font Size', 'dslc_string'), 'id' => 'css_count_txt_font_size', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-txt', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Count', 'dslc_string'), 'ext' => 'px'), array('label' => __('Text - Font Weight', 'dslc_string'), 'id' => 'css_count_txt_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-txt', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Count', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Text - Font Family', 'dslc_string'), 'id' => 'css_count_txt_color_font_family', 'std' => 'Bitter', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-txt', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Count', 'dslc_string')), array('label' => __('Location', 'dslc_string'), 'id' => 'main_location', 'std' => 'bellow', 'type' => 'select', 'section' => 'styling', 'tab' => __('Main', 'dslc_string'), 'choices' => array(array('label' => __('Bellow Thumbnail', 'dslc_string'), 'value' => 'bellow'), array('label' => __('Inside Thumbnail ( hover )', 'dslc_string'), 'value' => 'inside'), array('label' => __('Inside Thumbnail ( always visible )', 'dslc_string'), 'value' => 'inside_visible'))), array('label' => __('BG Color', 'dslc_string'), 'id' => 'css_main_bg_color', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-main', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_main_border_color', 'std' => '#dbdbdb', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-main', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_main_border_width', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-main', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'dslc_string')), array('label' => __('Borders', 'dslc_string'), 'id' => 'css_main_border_trbl', 'std' => 'right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom'), array('label' => __('Left', 'dslc_string'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-main', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Border Radius - Top', 'dslc_string'), 'id' => 'css_main_border_radius_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-main', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'tab' => __('Main', 'dslc_string'), 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'dslc_string'), 'id' => 'css_main_border_radius_bottom', 'std' => '3', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-main', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'tab' => __('Main', 'dslc_string'), 'ext' => 'px'), array('label' => __('Minimum Height', 'dslc_string'), 'id' => 'css_main_min_height', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-main', 'affect_on_change_rule' => 'min-height', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'dslc_string'), 'min' => 0, 'max' => 500), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_main_padding_vertical', 'std' => '20', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'dslc_string')), array('label' => __('Padding Horizontal', 'dslc_string'), 'id' => 'css_main_padding_horizontal', 'std' => '35', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'dslc_string')), array('label' => __('Text Align', 'dslc_string'), 'id' => 'css_main_text_align', 'std' => 'center', 'type' => 'text_align', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-main', 'affect_on_change_rule' => 'text-align', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Position', 'dslc_string'), 'id' => 'main_position', 'std' => 'center', 'type' => 'select', 'section' => 'styling', 'tab' => __('Main Inner', 'dslc_string'), 'choices' => array(array('label' => __('Top Left', 'dslc_string'), 'value' => 'topleft'), array('label' => __('Top Right', 'dslc_string'), 'value' => 'topright'), array('label' => __('Center', 'dslc_string'), 'value' => 'center'), array('label' => __('Bottom Left', 'dslc_string'), 'value' => 'bottomleft'), array('label' => __('Bottom Right', 'dslc_string'), 'value' => 'bottomright'))), array('label' => __('Margin', 'dslc_string'), 'id' => 'css_main_inner_margin', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-main-inner', 'affect_on_change_rule' => 'margin', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main Inner', 'dslc_string')), array('label' => __('Width', 'dslc_string'), 'id' => 'css_main_inner_width', 'std' => '100', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-main-inner', 'affect_on_change_rule' => 'width', 'section' => 'styling', 'ext' => '%', 'tab' => __('Main Inner', 'dslc_string')), array('label' => __('Color', 'dslc_string'), 'id' => 'css_title_color', 'std' => '#7d7d7d', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-title h2 a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Color - Hover', 'dslc_string'), 'id' => 'css_title_color_hover', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-title h2:hover a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Font Size', 'dslc_string'), 'id' => 'css_title_font_size', 'std' => '18', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-title h2,.dslc-gallery-title h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight', 'dslc_string'), 'id' => 'css_title_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-title h2,.dslc-gallery-title h2 a', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'dslc_string'), 'id' => 'css_title_font_family', 'std' => 'Raleway', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-title h2,.dslc-gallery-title h2 a', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Line Height', 'dslc_string'), 'id' => 'title_line_height', 'std' => '24', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-title h2,.dslc-gallery-title h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_title_margin_bottom', 'std' => '18', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Text Transform', 'dslc_string'), 'id' => 'css_title_text_transform', 'std' => 'none', 'type' => 'select', 'choices' => array(array('label' => __('None', 'dslc_string'), 'value' => 'none'), array('label' => __('Capitalize', 'dslc_string'), 'value' => 'capitalize'), array('label' => __('Uppercase', 'dslc_string'), 'value' => 'uppercase'), array('label' => __('Lowercase', 'dslc_string'), 'value' => 'lowercase')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-title h2', 'affect_on_change_rule' => 'text-transform', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Color', 'dslc_string'), 'id' => 'css_sep_color', 'std' => '#e3e3e3', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-sep', 'affect_on_change_rule' => 'border-bottom-color', 'section' => 'styling', 'tab' => __('Separator', 'dslc_string')), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_sep_margin_bottom', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-sep', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Separator', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt or Content', 'dslc_string'), 'id' => 'excerpt_or_content', 'std' => 'excerpt', 'type' => 'select', 'choices' => array(array('label' => __('Excerpt', 'dslc_string'), 'value' => 'excerpt'), array('label' => __('Content', 'dslc_string'), 'value' => 'content')), 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string')), array('label' => __('Color', 'dslc_string'), 'id' => 'css_excerpt_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-excerpt', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string')), array('label' => __('Font Size', 'dslc_string'), 'id' => 'css_excerpt_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight', 'dslc_string'), 'id' => 'css_excerpt_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-excerpt', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'dslc_string'), 'id' => 'css_excerpt_font_family', 'std' => 'Open Sans', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-excerpt', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string')), array('label' => __('Line Height', 'dslc_string'), 'id' => 'css_excerpt_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-excerpt', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_excerpt_mbottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-excerpt', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string'), 'ext' => 'px'), array('label' => __('Max Length ( amount of words )', 'dslc_string'), 'id' => 'excerpt_length', 'std' => '25', 'type' => 'text', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string')), array('label' => __('Align', 'dslc_string'), 'id' => 'css_button_align', 'std' => 'inherit', 'type' => 'text_align', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-read-more', 'affect_on_change_rule' => 'text-align', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Text', 'dslc_string'), 'id' => 'button_text', 'std' => 'CONTINUE READING', 'type' => 'text', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('BG Color', 'dslc_string'), 'id' => 'css_button_bg_color', 'std' => '#5890e5', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-read-more a', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('BG Color - Hover', 'dslc_string'), 'id' => 'css_button_bg_color_hover', 'std' => '#4b7bc2', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-read-more a:hover', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_button_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-read-more a', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'tab' => __('Button', 'dslc_string'), 'ext' => 'px'), array('label' => __('Borders', 'dslc_string'), 'id' => 'css_button_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom'), array('label' => __('Left', 'dslc_string'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-read-more a', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_button_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-read-more a', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Border Color - Hover', 'dslc_string'), 'id' => 'css_button_border_color_hover', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-read-more a:hover', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Border Radius', 'dslc_string'), 'id' => 'css_button_border_radius', 'std' => '3', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-read-more a', 'affect_on_change_rule' => 'border-radius', 'section' => 'styling', 'tab' => __('Button', 'dslc_string'), 'ext' => 'px'), array('label' => __('Color', 'dslc_string'), 'id' => 'css_button_color', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-read-more a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Color - Hover', 'dslc_string'), 'id' => 'css_button_color_hover', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-read-more a:hover', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Font Size', 'dslc_string'), 'id' => 'css_button_font_size', 'std' => '11', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-read-more a', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Button', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight', 'dslc_string'), 'id' => 'css_button_font_weight', 'std' => '800', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-read-more a', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Button', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'dslc_string'), 'id' => 'css_button_font_family', 'std' => 'Lato', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-read-more a', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_button_padding_vertical', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-read-more a', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Button', 'dslc_string')), array('label' => __('Padding Horizontal', 'dslc_string'), 'id' => 'css_button_padding_horizontal', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-read-more a', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Button', 'dslc_string')), array('label' => __('Icon', 'dslc_string'), 'id' => 'button_icon_id', 'std' => '', 'type' => 'icon', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Icon - Color', 'dslc_string'), 'id' => 'css_button_icon_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-read-more a .dslc-icon', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Icon - Hover - Color', 'dslc_string'), 'id' => 'css_button_icon_color_hover', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-read-more a:hover .dslc-icon', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Icon - Margin Right', 'dslc_string'), 'id' => 'css_button_icon_margin', 'std' => '5', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-read-more a .dslc-icon', 'affect_on_change_rule' => 'margin-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Button', 'dslc_string')), array('label' => __('Responsive Styling', 'dslc_string'), 'id' => 'css_res_t', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled'), array('label' => __('Enabled', 'dslc_string'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-galleries', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Row Separator - Height', 'dslc_string'), 'id' => 'css_res_t_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 1, 'max' => 300, 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Thumbnail - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Thumbnail - Padding Vertical', 'dslc_string'), 'id' => 'css_res_t_thumbnail_padding_vertical', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Thumbnail - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_t_thumbnail_padding_horizontal', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Count Margin', 'dslc_string'), 'id' => 'css_res_t_count_margin', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count', 'affect_on_change_rule' => 'margin', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Count Padding', 'dslc_string'), 'id' => 'css_res_t_count_padding', 'std' => '20', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count', 'affect_on_change_rule' => 'padding', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Count Num - Font Size', 'dslc_string'), 'id' => 'css_res_t_count_num_font_size', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-num', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Count Num - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_count_num_margin_bottom', 'std' => '8', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-num', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Count Text - Font Size', 'dslc_string'), 'id' => 'css_res_t_count_txt_font_size', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-txt', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Main - Padding Vertical', 'dslc_string'), 'id' => 'css_res_t_main_padding_vertical', 'std' => '20', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Main - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_t_main_padding_horizontal', 'std' => '35', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Title - Font Size', 'dslc_string'), 'id' => 'css_res_t_title_font_size', 'std' => '18', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-title h2,.dslc-gallery-title h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Line Height', 'dslc_string'), 'id' => 'css_res_t_title_line_height', 'std' => '24', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-title h2,.dslc-gallery-title h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_title_margin_bottom', 'std' => '18', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Separator - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_sep_margin_bottom', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-sep', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt - Font Size', 'dslc_string'), 'id' => 'css_res_t_excerpt_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt - Line Height', 'dslc_string'), 'id' => 'css_res_t_excerpt_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-excerpt', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Responsive Styling', 'dslc_string'), 'id' => 'css_res_p', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled'), array('label' => __('Enabled', 'dslc_string'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('phone', 'dslc_string')), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-galleries', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Row Separator - Height', 'dslc_string'), 'id' => 'css_res_p_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 1, 'max' => 300, 'section' => 'responsive', 'tab' => __('phone', 'dslc_string')), array('label' => __('Thumbnail - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Thumbnail - Padding Vertical', 'dslc_string'), 'id' => 'css_res_p_thumbnail_padding_vertical', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Thumbnail - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_p_thumbnail_padding_horizontal', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Count Margin', 'dslc_string'), 'id' => 'css_res_p_count_margin', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count', 'affect_on_change_rule' => 'margin', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Count Padding', 'dslc_string'), 'id' => 'css_res_p_count_padding', 'std' => '20', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count', 'affect_on_change_rule' => 'padding', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Count Num - Font Size', 'dslc_string'), 'id' => 'css_res_p_count_num_font_size', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-num', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Count Num - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_count_num_margin_bottom', 'std' => '8', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-num', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Count Text - Font Size', 'dslc_string'), 'id' => 'css_res_p_count_txt_font_size', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-thumb .dslc-gallery-images-count-txt', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Main - Padding Vertical', 'dslc_string'), 'id' => 'css_res_p_main_padding_vertical', 'std' => '20', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Main - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_p_main_padding_horizontal', 'std' => '35', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Title - Font Size', 'dslc_string'), 'id' => 'css_res_p_title_font_size', 'std' => '18', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-title h2,.dslc-gallery-title h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Line Height', 'dslc_string'), 'id' => 'css_res_p_title_line_height', 'std' => '24', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-title h2,.dslc-gallery-title h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_title_margin_bottom', 'std' => '18', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Separator - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_sep_margin_bottom', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-sep', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt - Font Size', 'dslc_string'), 'id' => 'css_res_p_excerpt_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt - Line Height', 'dslc_string'), 'id' => 'css_res_p_excerpt_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-gallery-excerpt', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('heading_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('filters_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_arrows_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_circles_options'));
Example #11
0
<?php

if (dslc_is_module_active('DSLC_Navigation')) {
    include DS_LIVE_COMPOSER_ABS . '/modules/navigation/functions.php';
}
class DSLC_Navigation extends DSLC_Module
{
    var $module_id;
    var $module_title;
    var $module_icon;
    var $module_category;
    function __construct()
    {
        $this->module_id = 'DSLC_Navigation';
        $this->module_title = __('Navigation', 'live-composer-page-builder');
        $this->module_icon = 'link';
        $this->module_category = 'elements';
    }
    function options()
    {
        $locs = get_registered_nav_menus();
        $loc_choices = array();
        $loc_choices[] = array('label' => __('Choose Navigation', 'live-composer-page-builder'), 'value' => 'not_set');
        if (!empty($locs)) {
            foreach ($locs as $loc_ID => $loc_label) {
                $loc_choices[] = array('label' => $loc_label, 'value' => $loc_ID);
            }
        }
        $dslc_options = array(array('label' => __('Show On', 'live-composer-page-builder'), 'id' => 'css_show_on', 'std' => 'desktop tablet phone', 'type' => 'checkbox', 'choices' => array(array('label' => __('Desktop', 'live-composer-page-builder'), 'value' => 'desktop'), array('label' => __('Tablet', 'live-composer-page-builder'), 'value' => 'tablet'), array('label' => __('Phone', 'live-composer-page-builder'), 'value' => 'phone'))), array('label' => __('Navigation', 'live-composer-page-builder'), 'id' => 'location', 'std' => 'not_set', 'type' => 'select', 'choices' => $loc_choices, 'help' => __('The locations from the theme will be shown here but you can register your own in <br>WP Admin > Live Composer > Navigation.', 'live-composer-page-builder')), array('label' => __('Align', 'live-composer-page-builder'), 'id' => 'css_main_align', 'std' => 'right', 'type' => 'text_align', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation', 'affect_on_change_rule' => 'text-align', 'section' => 'styling'), array('label' => __('BG Color', 'live-composer-page-builder'), 'id' => 'css_main_bg_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation-inner', 'affect_on_change_rule' => 'background-color', 'section' => 'styling'), array('label' => __('BG Image', 'live-composer-page-builder'), 'id' => 'css_main_bg_img', 'std' => '', 'type' => 'image', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation-inner', 'affect_on_change_rule' => 'background-image', 'section' => 'styling'), array('label' => __('BG Image Repeat', 'live-composer-page-builder'), 'id' => 'css_main_bg_img_repeat', 'std' => 'repeat', 'type' => 'select', 'choices' => array(array('label' => __('Repeat', 'live-composer-page-builder'), 'value' => 'repeat'), array('label' => __('Repeat Horizontal', 'live-composer-page-builder'), 'value' => 'repeat-x'), array('label' => __('Repeat Vertical', 'live-composer-page-builder'), 'value' => 'repeat-y'), array('label' => __('Do NOT Repeat', 'live-composer-page-builder'), 'value' => 'no-repeat')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation-inner', 'affect_on_change_rule' => 'background-repeat', 'section' => 'styling'), array('label' => __('BG Image Attachment', 'live-composer-page-builder'), 'id' => 'css_main_bg_img_attch', 'std' => 'scroll', 'type' => 'select', 'choices' => array(array('label' => __('Scroll', 'live-composer-page-builder'), 'value' => 'scroll'), array('label' => __('Fixed', 'live-composer-page-builder'), 'value' => 'fixed')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation-inner', 'affect_on_change_rule' => 'background-attachment', 'section' => 'styling'), array('label' => __('BG Image Position', 'live-composer-page-builder'), 'id' => 'css_main_bg_img_pos', 'std' => 'top left', 'type' => 'select', 'choices' => array(array('label' => __('Top Left', 'live-composer-page-builder'), 'value' => 'left top'), array('label' => __('Top Right', 'live-composer-page-builder'), 'value' => 'right top'), array('label' => __('Top Center', 'live-composer-page-builder'), 'value' => 'Center Top'), array('label' => __('Center Left', 'live-composer-page-builder'), 'value' => 'left center'), array('label' => __('Center Right', 'live-composer-page-builder'), 'value' => 'right center'), array('label' => __('Center', 'live-composer-page-builder'), 'value' => 'center center'), array('label' => __('Bottom Left', 'live-composer-page-builder'), 'value' => 'left bottom'), array('label' => __('Bottom Right', 'live-composer-page-builder'), 'value' => 'right bottom'), array('label' => __('Bottom Center', 'live-composer-page-builder'), 'value' => 'center bottom')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation-inner', 'affect_on_change_rule' => 'background-position', 'section' => 'styling'), array('label' => __('Border Color', 'live-composer-page-builder'), 'id' => 'css_main_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation-inner', 'affect_on_change_rule' => 'border-color', 'section' => 'styling'), array('label' => __('Border Width', 'live-composer-page-builder'), 'id' => 'css_main_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation-inner', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Borders', 'live-composer-page-builder'), 'id' => 'css_main_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'live-composer-page-builder'), 'value' => 'top'), array('label' => __('Right', 'live-composer-page-builder'), 'value' => 'right'), array('label' => __('Bottom', 'live-composer-page-builder'), 'value' => 'bottom'), array('label' => __('Left', 'live-composer-page-builder'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation-inner', 'affect_on_change_rule' => 'border-style', 'section' => 'styling'), array('label' => __('Border Radius - Top', 'live-composer-page-builder'), 'id' => 'css_main_border_radius_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation-inner', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'live-composer-page-builder'), 'id' => 'css_main_border_radius_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation-inner', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation-inner', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Minimum Height', 'live-composer-page-builder'), 'id' => 'css_min_height', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation-inner', 'affect_on_change_rule' => 'min-height', 'section' => 'styling', 'ext' => 'px', 'min' => 0, 'max' => 1000, 'increment' => 5), array('label' => __('Orientation', 'live-composer-page-builder'), 'id' => 'nav_orientation', 'std' => 'horizontal', 'type' => 'select', 'choices' => array(array('label' => __('Horizontal', 'live-composer-page-builder'), 'value' => 'horizontal'), array('label' => __('Vertical', 'live-composer-page-builder'), 'value' => 'vertical')), 'section' => 'styling'), array('label' => __('Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_main_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_main_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px'), array('label' => __('BG Color', 'live-composer-page-builder'), 'id' => 'css_item_bg_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li > a', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('BG Color - Hover', 'live-composer-page-builder'), 'id' => 'css_item_bg_color_hover', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li > a:hover', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('BG Color - Active', 'live-composer-page-builder'), 'id' => 'css_item_bg_color_active', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li.current-menu-item > a', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('Border Color', 'live-composer-page-builder'), 'id' => 'css_item_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li > a', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('Border Color - Hover', 'live-composer-page-builder'), 'id' => 'css_item_border_color_hover', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li > a:hover', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('Border Color - Active', 'live-composer-page-builder'), 'id' => 'css_item_border_color_active', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li.current-menu-item > a', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('Border Width', 'live-composer-page-builder'), 'id' => 'css_item_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li > a', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('Borders', 'live-composer-page-builder'), 'id' => 'css_item_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'live-composer-page-builder'), 'value' => 'top'), array('label' => __('Right', 'live-composer-page-builder'), 'value' => 'right'), array('label' => __('Bottom', 'live-composer-page-builder'), 'value' => 'bottom'), array('label' => __('Left', 'live-composer-page-builder'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li > a', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('Border Radius - Top', 'live-composer-page-builder'), 'id' => 'css_item_border_radius_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li > a', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'ext' => 'px', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('Border Radius - Bottom', 'live-composer-page-builder'), 'id' => 'css_item_border_radius_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li > a', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'ext' => 'px', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_item_color', 'std' => '#555555', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li > a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('Color - Hover', 'live-composer-page-builder'), 'id' => 'css_item_color_hover', 'std' => '#fd4970', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li > a:hover', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('Color - Active', 'live-composer-page-builder'), 'id' => 'css_item_color_active', 'std' => '#fd4970', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li.current-menu-item > a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('Font Size', 'live-composer-page-builder'), 'id' => 'css_item_font_size', 'std' => '14', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li > a', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Font Weight', 'live-composer-page-builder'), 'id' => 'css_item_font_weight', 'std' => '700', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li > a', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'live-composer-page-builder'), 'id' => 'css_item_font_family', 'std' => 'Montserrat', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li > a', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('Letter Spacing', 'live-composer-page-builder'), 'id' => 'css_item_letter_spacing', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li > a', 'affect_on_change_rule' => 'letter-spacing', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder'), 'ext' => 'px', 'min' => -50, 'max' => 50), array('label' => __('Line Height', 'live-composer-page-builder'), 'id' => 'css_item_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li > a', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_item_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li > a', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_item_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li > a', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('Text Transform', 'live-composer-page-builder'), 'id' => 'css_item_text_transform', 'std' => 'none', 'type' => 'select', 'choices' => array(array('label' => __('None', 'live-composer-page-builder'), 'value' => 'none'), array('label' => __('Capitalize', 'live-composer-page-builder'), 'value' => 'capitalize'), array('label' => __('Uppercase', 'live-composer-page-builder'), 'value' => 'uppercase'), array('label' => __('Lowercase', 'live-composer-page-builder'), 'value' => 'lowercase')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li > a', 'affect_on_change_rule' => 'text-transform', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('Spacing', 'live-composer-page-builder'), 'id' => 'css_item_spacing', 'std' => '40', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu > li', 'affect_on_change_rule' => 'margin-left,margin-top', 'section' => 'styling', 'ext' => 'px', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('Chevron - Enable/Disable', 'live-composer-page-builder'), 'id' => 'css_item_chevron_display', 'std' => 'none', 'type' => 'select', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation-arrow', 'affect_on_change_rule' => 'display', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder'), 'choices' => array(array('label' => __('Enabled', 'live-composer-page-builder'), 'value' => 'inline-block'), array('label' => __('Disabled', 'live-composer-page-builder'), 'value' => 'none'))), array('label' => __('Chevron - Color', 'live-composer-page-builder'), 'id' => 'css_item_chevron_color', 'std' => '#555555', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation-arrow', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder')), array('label' => __('Chevron - Size', 'live-composer-page-builder'), 'id' => 'css_item_chevron_size', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation-arrow', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Chevron - Spacing', 'live-composer-page-builder'), 'id' => 'css_item_chevron_spacing', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation-arrow', 'affect_on_change_rule' => 'margin-left', 'section' => 'styling', 'tab' => __('item', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Align', 'live-composer-page-builder'), 'id' => 'css_subnav_align', 'std' => 'left', 'type' => 'text_align', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul', 'affect_on_change_rule' => 'text-align', 'section' => 'styling', 'tab' => __('subnav', 'live-composer-page-builder')), array('label' => __('BG Color', 'live-composer-page-builder'), 'id' => 'css_subnav_bg_color', 'std' => '#fff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('subnav', 'live-composer-page-builder')), array('label' => __('BG Image', 'live-composer-page-builder'), 'id' => 'css_subnav_bg_img', 'std' => '', 'type' => 'image', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul', 'affect_on_change_rule' => 'background-image', 'section' => 'styling', 'tab' => __('subnav', 'live-composer-page-builder')), array('label' => __('BG Image Repeat', 'live-composer-page-builder'), 'id' => 'css_subnav_bg_img_repeat', 'std' => 'repeat', 'type' => 'select', 'choices' => array(array('label' => __('Repeat', 'live-composer-page-builder'), 'value' => 'repeat'), array('label' => __('Repeat Horizontal', 'live-composer-page-builder'), 'value' => 'repeat-x'), array('label' => __('Repeat Vertical', 'live-composer-page-builder'), 'value' => 'repeat-y'), array('label' => __('Do NOT Repeat', 'live-composer-page-builder'), 'value' => 'no-repeat')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul', 'affect_on_change_rule' => 'background-repeat', 'section' => 'styling', 'tab' => __('subnav', 'live-composer-page-builder')), array('label' => __('BG Image Attachment', 'live-composer-page-builder'), 'id' => 'css_subnav_bg_img_attch', 'std' => 'scroll', 'type' => 'select', 'choices' => array(array('label' => __('Scroll', 'live-composer-page-builder'), 'value' => 'scroll'), array('label' => __('Fixed', 'live-composer-page-builder'), 'value' => 'fixed')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul', 'affect_on_change_rule' => 'background-attachment', 'section' => 'styling', 'tab' => __('subnav', 'live-composer-page-builder')), array('label' => __('BG Image Position', 'live-composer-page-builder'), 'id' => 'css_subnav_bg_img_pos', 'std' => 'top left', 'type' => 'select', 'choices' => array(array('label' => __('Top Left', 'live-composer-page-builder'), 'value' => 'left top'), array('label' => __('Top Right', 'live-composer-page-builder'), 'value' => 'right top'), array('label' => __('Top Center', 'live-composer-page-builder'), 'value' => 'Center Top'), array('label' => __('Center Left', 'live-composer-page-builder'), 'value' => 'left center'), array('label' => __('Center Right', 'live-composer-page-builder'), 'value' => 'right center'), array('label' => __('Center', 'live-composer-page-builder'), 'value' => 'center center'), array('label' => __('Bottom Left', 'live-composer-page-builder'), 'value' => 'left bottom'), array('label' => __('Bottom Right', 'live-composer-page-builder'), 'value' => 'right bottom'), array('label' => __('Bottom Center', 'live-composer-page-builder'), 'value' => 'center bottom')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul', 'affect_on_change_rule' => 'background-position', 'section' => 'styling', 'tab' => __('subnav', 'live-composer-page-builder')), array('label' => __('Border Color', 'live-composer-page-builder'), 'id' => 'css_subnav_border_color', 'std' => '#ededed', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('subnav', 'live-composer-page-builder')), array('label' => __('Border Width', 'live-composer-page-builder'), 'id' => 'css_subnav_border_width', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('subnav', 'live-composer-page-builder')), array('label' => __('Borders', 'live-composer-page-builder'), 'id' => 'css_subnav_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'live-composer-page-builder'), 'value' => 'top'), array('label' => __('Right', 'live-composer-page-builder'), 'value' => 'right'), array('label' => __('Bottom', 'live-composer-page-builder'), 'value' => 'bottom'), array('label' => __('Left', 'live-composer-page-builder'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('subnav', 'live-composer-page-builder')), array('label' => __('Border Radius - Top', 'live-composer-page-builder'), 'id' => 'css_subnav_border_radius_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'ext' => 'px', 'tab' => __('subnav', 'live-composer-page-builder')), array('label' => __('Border Radius - Bottom', 'live-composer-page-builder'), 'id' => 'css_subnav_border_radius_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'ext' => 'px', 'tab' => __('subnav', 'live-composer-page-builder')), array('label' => __('Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_subnav_padding_vertical', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('subnav', 'live-composer-page-builder')), array('label' => __('Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_subnav_padding_horizontal', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('subnav', 'live-composer-page-builder')), array('label' => __('BG Color', 'live-composer-page-builder'), 'id' => 'css_subnav_item_bg_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li a', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('subnav item', 'live-composer-page-builder')), array('label' => __('BG Color - Hover', 'live-composer-page-builder'), 'id' => 'css_subnav_item_bg_color_hover', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li a:hover', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('subnav item', 'live-composer-page-builder')), array('label' => __('BG Color - Active', 'live-composer-page-builder'), 'id' => 'css_subnav_item_bg_color_active', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li.current-menu-item > a', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('subnav item', 'live-composer-page-builder')), array('label' => __('Border Color', 'live-composer-page-builder'), 'id' => 'css_subnav_item_border_color', 'std' => '#ededed', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li a', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('subnav item', 'live-composer-page-builder')), array('label' => __('Border Color - Hover', 'live-composer-page-builder'), 'id' => 'css_subnav_item_border_color_hover', 'std' => '#ededed', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li > a:hover', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('subnav item', 'live-composer-page-builder')), array('label' => __('Border Color - Active', 'live-composer-page-builder'), 'id' => 'css_subnav_item_border_color_active', 'std' => '#ededed', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li.current-menu-item > a', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('subnav item', 'live-composer-page-builder')), array('label' => __('Border Width', 'live-composer-page-builder'), 'id' => 'css_subnav_item_border_width', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li a', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('subnav item', 'live-composer-page-builder')), array('label' => __('Borders', 'live-composer-page-builder'), 'id' => 'css_subnav_item_border_trbl', 'std' => 'bottom', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'live-composer-page-builder'), 'value' => 'top'), array('label' => __('Right', 'live-composer-page-builder'), 'value' => 'right'), array('label' => __('Bottom', 'live-composer-page-builder'), 'value' => 'bottom'), array('label' => __('Left', 'live-composer-page-builder'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li a', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('subnav item', 'live-composer-page-builder')), array('label' => __('Border Radius - Top', 'live-composer-page-builder'), 'id' => 'css_subnav_item_border_radius_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li a', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'ext' => 'px', 'tab' => __('subnav item', 'live-composer-page-builder')), array('label' => __('Border Radius - Bottom', 'live-composer-page-builder'), 'id' => 'css_subnav_item_border_radius_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li a', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'ext' => 'px', 'tab' => __('subnav item', 'live-composer-page-builder')), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_subnav_item_color', 'std' => '#555555', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('subnav item', 'live-composer-page-builder')), array('label' => __('Color - Hover', 'live-composer-page-builder'), 'id' => 'css_subnav_item_color_hover', 'std' => '#fd4970', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li a:hover', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('subnav item', 'live-composer-page-builder')), array('label' => __('Color - Active', 'live-composer-page-builder'), 'id' => 'css_subnav_item_color_active', 'std' => '#fd4970', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li.current-menu-item > a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('subnav item', 'live-composer-page-builder')), array('label' => __('Font Size', 'live-composer-page-builder'), 'id' => 'css_subnav_item_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li a', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('subnav item', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Font Weight', 'live-composer-page-builder'), 'id' => 'css_subnav_item_font_weight', 'std' => '700', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li a', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('subnav item', 'live-composer-page-builder'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'live-composer-page-builder'), 'id' => 'css_subnav_item_font_family', 'std' => 'Montserrat', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li a', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('subnav item', 'live-composer-page-builder')), array('label' => __('Letter Spacing', 'live-composer-page-builder'), 'id' => 'css_subnav_item_letter_spacing', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li a', 'affect_on_change_rule' => 'letter-spacing', 'section' => 'styling', 'tab' => __('subnav item', 'live-composer-page-builder'), 'ext' => 'px', 'min' => -50, 'max' => 50), array('label' => __('Line Height', 'live-composer-page-builder'), 'id' => 'css_subnav_item_line_height', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li a', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('subnav item', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_subnav_item_padding_vertical', 'std' => '17', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li a', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('subnav item', 'live-composer-page-builder')), array('label' => __('Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_subnav_item_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li a', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('subnav item', 'live-composer-page-builder')), array('label' => __('Text Transform', 'live-composer-page-builder'), 'id' => 'css_subnav_item_text_transform', 'std' => 'none', 'type' => 'select', 'choices' => array(array('label' => __('None', 'live-composer-page-builder'), 'value' => 'none'), array('label' => __('Capitalize', 'live-composer-page-builder'), 'value' => 'capitalize'), array('label' => __('Uppercase', 'live-composer-page-builder'), 'value' => 'uppercase'), array('label' => __('Lowercase', 'live-composer-page-builder'), 'value' => 'lowercase')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-navigation .menu ul li a', 'affect_on_change_rule' => 'text-transform', 'section' => 'styling', 'tab' => __('subnav item', 'live-composer-page-builder')), array('label' => __('Responsive Styling', 'live-composer-page-builder'), 'id' => 'css_res_t', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'live-composer-page-builder'), 'value' => 'disabled'), array('label' => __('Enabled', 'live-composer-page-builder'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Align', 'live-composer-page-builder'), 'id' => 'css_res_t_align', 'std' => 'right', 'type' => 'text_align', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-mobile-navigation', 'affect_on_change_rule' => 'text-align', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_res_t_color', 'std' => '#555', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-mobile-navigation-hook', 'affect_on_change_rule' => 'color', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Margin Top', 'live-composer-page-builder'), 'id' => 'css_res_t_margin_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-mobile-navigation', 'affect_on_change_rule' => 'margin-top', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Size', 'live-composer-page-builder'), 'id' => 'css_res_t_size', 'std' => '24', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-mobile-navigation-hook', 'affect_on_change_rule' => 'font-size, line-height', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Responsive Styling', 'live-composer-page-builder'), 'id' => 'css_res_p', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'live-composer-page-builder'), 'value' => 'disabled'), array('label' => __('Enabled', 'live-composer-page-builder'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Align', 'live-composer-page-builder'), 'id' => 'css_res_p_align', 'std' => 'right', 'type' => 'text_align', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-mobile-navigation', 'affect_on_change_rule' => 'text-align', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_res_p_color', 'std' => '#555', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-mobile-navigation-hook', 'affect_on_change_rule' => 'color', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Margin Top', 'live-composer-page-builder'), 'id' => 'css_res_p_margin_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-mobile-navigation', 'affect_on_change_rule' => 'margin-top', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Size', 'live-composer-page-builder'), 'id' => 'css_res_p_size', 'std' => '24', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-mobile-navigation-hook', 'affect_on_change_rule' => 'font-size, line-height', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'));
        $dslc_options = array_merge($dslc_options, $this->presets_options());
        return apply_filters('dslc_module_options', $dslc_options, $this->module_id);
Example #12
0
<?php

if (dslc_is_module_active('AS_timeline')) {
    include DS_LIVE_COMPOSER_ABS . '/as_custom/modules/as-timeline/functions.php';
}
class AS_Timeline extends DSLC_Module
{
    var $module_id;
    var $module_title;
    var $module_icon;
    var $module_category;
    var $handle_like;
    function __construct()
    {
        $this->module_id = 'AS_Timeline';
        $this->module_title = __('Timeline', 'dslc_string');
        $this->module_icon = 'history';
        $this->module_category = 'as - Timeline';
        $this->handle_like = 'accordion';
    }
    function options()
    {
        $cats = get_terms('dslc_timeline_cats');
        $cats_choices = array();
        foreach ($cats as $cat) {
            $cats_choices[] = array('label' => $cat->name, 'value' => $cat->slug);
        }
        $dslc_options = array(array('label' => __('Show On', 'dslc_string'), 'id' => 'css_show_on', 'std' => 'desktop tablet phone', 'type' => 'checkbox', 'choices' => array(array('label' => __('Desktop', 'dslc_string'), 'value' => 'desktop'), array('label' => __('Tablet', 'dslc_string'), 'value' => 'tablet'), array('label' => __('Phone', 'dslc_string'), 'value' => 'phone'))), array('label' => __('Open by default', 'dslc_string'), 'id' => 'open_by_default', 'std' => '1', 'type' => 'text'), array('label' => __('Categories', 'dslc_string'), 'id' => 'as_categories', 'std' => '', 'type' => 'checkbox', 'choices' => $cats_choices), array('label' => __('Order By', 'dslc_string'), 'id' => 'as_orderby', 'std' => 'date', 'type' => 'select', 'choices' => array(array('label' => __('Publish Date', 'dslc_string'), 'value' => 'date'), array('label' => __('Modified Date', 'dslc_string'), 'value' => 'modified'), array('label' => __('Random', 'dslc_string'), 'value' => 'rand'), array('label' => __('Alphabetic', 'dslc_string'), 'value' => 'title'), array('label' => __('Comment Count', 'dslc_string'), 'value' => 'comment_count'))), array('label' => __('Order', 'dslc_string'), 'id' => 'as_orders', 'std' => 'DESC', 'type' => 'select', 'choices' => array(array('label' => __('Ascending', 'dslc_string'), 'value' => 'ASC'), array('label' => __('Descending', 'dslc_string'), 'value' => 'DESC'))), array('label' => __('Post Elements', 'dslc_string'), 'id' => 'as_post_elements', 'std' => 'thumbnail categories title', 'type' => 'checkbox', 'choices' => array(array('label' => __('Thumbnail', 'dslc_string'), 'value' => 'thumbnail'), array('label' => __('Title', 'dslc_string'), 'value' => 'title'), array('label' => __('Categories', 'dslc_string'), 'value' => 'categories'), array('label' => __('Excerpt', 'dslc_string'), 'value' => 'excerpt'), array('label' => __('Button', 'dslc_string'), 'value' => 'button')), 'section' => 'styling'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-timeline', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'min' => 0, 'max' => 100), array('label' => __('Minimum Height', 'dslc_string'), 'id' => 'css_min_height', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-timeline', 'affect_on_change_rule' => 'min-height', 'section' => 'styling', 'ext' => 'px', 'min' => 1400, 'max' => 2000, 'increment' => 5), array('label' => __('BG Color', 'dslc_string'), 'id' => 'css_thumbnail_bg_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-thumb img', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_thumb_border_color', 'std' => '#e6e6e6', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-thumb img', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_thumb_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-thumb img ', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Borders', 'dslc_string'), 'id' => 'css_thumb_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom'), array('label' => __('Left', 'dslc_string'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-thumb, img', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Border Radius - Top', 'dslc_string'), 'id' => 'css_thumbnail_border_radius_top', 'std' => '4', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-thumb img', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string'), 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'dslc_string'), 'id' => 'css_thumbnail_border_radius_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-thumb img', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-thumb img', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_thumbnail_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-thumb img', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Padding Horizontal', 'dslc_string'), 'id' => 'css_thumbnail_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-thumb img', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('BG Color', 'dslc_string'), 'id' => 'css_title_bg_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('title', 'dslc_string')), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_title_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('title', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_title_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('title', 'dslc_string')), array('label' => __('Borders', 'dslc_string'), 'id' => 'css_title_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom'), array('label' => __('Left', 'dslc_string'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('title', 'dslc_string')), array('label' => __('Color', 'dslc_string'), 'id' => 'css_title_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('title', 'dslc_string')), array('label' => __('Font Size', 'dslc_string'), 'id' => 'css_title_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight', 'dslc_string'), 'id' => 'css_title_font_weight', 'std' => '700', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('title', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'dslc_string'), 'id' => 'css_title_font_family', 'std' => 'Open Sans', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('title', 'dslc_string')), array('label' => __('Line Height', 'dslc_string'), 'id' => 'css_title_lheight', 'std' => '16', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_title_padding_vertical', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('title', 'dslc_string')), array('label' => __('Padding Horizontal', 'dslc_string'), 'id' => 'css_title_padding_horizontal', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('title', 'dslc_string')), array('label' => __('BG Color', 'dslc_string'), 'id' => 'css_content_bg_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner p', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('content', 'dslc_string')), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_content_border_color', 'std' => '#e8e8e8', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner p', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('content', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_content_border_width', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner p', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('content', 'dslc_string')), array('label' => __('Borders', 'dslc_string'), 'id' => 'css_content_border_trbl', 'std' => 'right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom'), array('label' => __('Left', 'dslc_string'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner p', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('content', 'dslc_string')), array('label' => __('Color', 'dslc_string'), 'id' => 'css_content_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner p', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('content', 'dslc_string')), array('label' => __('Font Size', 'dslc_string'), 'id' => 'css_content_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner p', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('content', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight', 'dslc_string'), 'id' => 'css_content_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner p', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('content', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'dslc_string'), 'id' => 'css_content_font_family', 'std' => 'Open Sans', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner p', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('content', 'dslc_string')), array('label' => __('Line Height', 'dslc_string'), 'id' => 'css_content_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner p', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('content', 'dslc_string'), 'ext' => 'px'), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_content_padding_vertical', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner p', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('content', 'dslc_string')), array('label' => __('Padding Horizontal', 'dslc_string'), 'id' => 'css_content_padding_horizontal', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner p', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('content', 'dslc_string')), array('label' => __('Responsive Styling', 'dslc_string'), 'id' => 'css_res_t', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled'), array('label' => __('Enabled', 'dslc_string'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-timeline', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_res_t_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-timeline', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Padding Horizontal', 'dslc_string'), 'id' => 'css_res_t_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-timeline', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Font Size', 'dslc_string'), 'id' => 'css_res_t_title_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Line Height', 'dslc_string'), 'id' => 'css_res_t_title_lheight', 'std' => '16', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Padding Vertical', 'dslc_string'), 'id' => 'css_res_t_title_padding_vertical', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_t_title_padding_horizontal', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Content - Font Size', 'dslc_string'), 'id' => 'css_res_t_content_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner pt', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Content - Line Height', 'dslc_string'), 'id' => 'css_res_t_content_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner p', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Content - Padding Vertical', 'dslc_string'), 'id' => 'css_res_t_content_padding_vertical', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner p', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Content - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_t_content_padding_horizontal', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner p', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Responsive Styling', 'dslc_string'), 'id' => 'css_res_p', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled'), array('label' => __('Enabled', 'dslc_string'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('phone', 'dslc_string')), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-timeline', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_res_p_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-timeline', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Padding Horizontal', 'dslc_string'), 'id' => 'css_res_p_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-timeline', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Font Size', 'dslc_string'), 'id' => 'css_res_p_title_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Line Height', 'dslc_string'), 'id' => 'css_res_p_title_lheight', 'std' => '16', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Padding Vertical', 'dslc_string'), 'id' => 'css_res_p_title_padding_vertical', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_p_title_padding_horizontal', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-timeline-content h2 a', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Content - Font Size', 'dslc_string'), 'id' => 'css_res_p_content_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner p', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Content - Line Height', 'dslc_string'), 'id' => 'css_res_p_content_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner p', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Content - Padding Vertical', 'dslc_string'), 'id' => 'css_res_p_content_padding_vertical', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner p', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Content - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_p_content_padding_horizontal', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '#dslc-theme-content-inner p', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('heading_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('filters_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_arrows_options'));
Example #13
0
<?php

if (dslc_is_module_active('Heli_Projects')) {
    include DS_LIVE_COMPOSER_ABS . '/heli_custom/modules/heli-projects/functions.php';
}
class Heli_Projects extends DSLC_Module
{
    var $module_id;
    var $module_title;
    var $module_icon;
    var $module_category;
    function __construct()
    {
        $this->module_id = 'Heli_Projects';
        $this->module_title = __('AS - Projects', 'dslc_string');
        $this->module_icon = 'th';
        $this->module_category = 'as - posts';
    }
    function options()
    {
        $cats = get_terms('dslc_projects_cats');
        $cats_choices = array();
        foreach ($cats as $cat) {
            $cats_choices[] = array('label' => $cat->name, 'value' => $cat->slug);
        }
        $dslc_options = array(array('label' => __('Show On', 'dslc_string'), 'id' => 'css_show_on', 'std' => 'desktop tablet phone', 'type' => 'checkbox', 'choices' => array(array('label' => __('Desktop', 'dslc_string'), 'value' => 'desktop'), array('label' => __('Tablet', 'dslc_string'), 'value' => 'tablet'), array('label' => __('Phone', 'dslc_string'), 'value' => 'phone'))), array('label' => __('Link', 'dslc_string'), 'id' => 'link', 'std' => 'permalink', 'type' => 'select', 'help' => __('<strong>Link to project page</strong> links to the project page on this website.<br><strong>Link to custom project URL</strong> links to the URL set in the project options.', 'dslc_string'), 'choices' => array(array('label' => __('Link to project page', 'dslc_string'), 'value' => 'permalink'), array('label' => __('Link to custom project URL', 'dslc_string'), 'value' => 'custom'))), array('label' => __('Link Target', 'dslc_string'), 'id' => 'link_target', 'std' => '_self', 'type' => 'select', 'choices' => array(array('label' => __('Same tab', 'dslc_string'), 'value' => '_self'), array('label' => __('New tab', 'dslc_string'), 'value' => '_blank'))), array('label' => __('Type', 'dslc_string'), 'id' => 'type', 'std' => 'grid', 'type' => 'select', 'choices' => array(array('label' => __('Grid', 'dslc_string'), 'value' => 'grid'), array('label' => __('Masonry Grid', 'dslc_string'), 'value' => 'masonry'), array('label' => __('Carousel', 'dslc_string'), 'value' => 'carousel'))), array('label' => __('Orientation', 'dslc_string'), 'id' => 'orientation', 'std' => 'vertical', 'type' => 'select', 'choices' => array(array('label' => __('Vertical', 'dslc_string'), 'value' => 'vertical'), array('label' => __('Horizontal', 'dslc_string'), 'value' => 'horizontal'))), array('label' => __('Posts Per Page', 'dslc_string'), 'id' => 'amount', 'std' => '8', 'type' => 'text'), array('label' => __('Pagination', 'dslc_string'), 'id' => 'pagination_type', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled'), array('label' => __('Numbered', 'dslc_string'), 'value' => 'numbered'), array('label' => __('Prev/Next', 'dslc_string'), 'value' => 'prevnext'))), array('label' => __('Posts Per Row', 'dslc_string'), 'id' => 'columns', 'std' => '3', 'type' => 'select', 'choices' => $this->shared_options('posts_per_row_choices')), array('label' => __('Categories', 'dslc_string'), 'id' => 'categories', 'std' => '', 'type' => 'checkbox', 'choices' => $cats_choices), array('label' => __('Categories Operator', 'dslc_string'), 'id' => 'categories_operator', 'std' => 'IN', 'help' => __('<strong>IN</strong> - Posts must be in at least one chosen category.<br><strong>AND</strong> - Posts must be in all chosen categories.<br><strong>NOT IN</strong> Posts must not be in the chosen categories.', 'dslc_string'), 'type' => 'select', 'choices' => array(array('label' => __('IN', 'dslc_string'), 'value' => 'IN'), array('label' => __('AND', 'dslc_string'), 'value' => 'AND'), array('label' => __('NOT IN', 'dslc_string'), 'value' => 'NOT IN'))), array('label' => __('Order By', 'dslc_string'), 'id' => 'orderby', 'std' => 'date', 'type' => 'select', 'choices' => array(array('label' => __('Publish Date', 'dslc_string'), 'value' => 'date'), array('label' => __('Modified Date', 'dslc_string'), 'value' => 'modified'), array('label' => __('Random', 'dslc_string'), 'value' => 'rand'), array('label' => __('Alphabetic', 'dslc_string'), 'value' => 'title'), array('label' => __('Comment Count', 'dslc_string'), 'value' => 'comment_count'))), array('label' => __('Order', 'dslc_string'), 'id' => 'order', 'std' => 'DESC', 'type' => 'select', 'choices' => array(array('label' => __('Ascending', 'dslc_string'), 'value' => 'ASC'), array('label' => __('Descending', 'dslc_string'), 'value' => 'DESC'))), array('label' => __('Offset', 'dslc_string'), 'id' => 'offset', 'std' => '0', 'type' => 'text'), array('label' => __('Include (IDs)', 'dslc_string'), 'id' => 'query_post_in', 'std' => '', 'type' => 'text'), array('label' => __('Exclude (IDs)', 'dslc_string'), 'id' => 'query_post_not_in', 'std' => '', 'type' => 'text'), array('label' => __('Elements', 'dslc_string'), 'id' => 'elements', 'std' => '', 'type' => 'checkbox', 'choices' => array(array('label' => __('Heading', 'dslc_string'), 'value' => 'main_heading'), array('label' => __('Filters', 'dslc_string'), 'value' => 'filters')), 'section' => 'styling'), array('label' => __('Post Elements', 'dslc_string'), 'id' => 'post_elements', 'std' => 'thumbnail categories title', 'type' => 'checkbox', 'choices' => array(array('label' => __('Thumbnail', 'dslc_string'), 'value' => 'thumbnail'), array('label' => __('Title', 'dslc_string'), 'value' => 'title'), array('label' => __('Categories', 'dslc_string'), 'value' => 'categories'), array('label' => __('Excerpt', 'dslc_string'), 'value' => 'excerpt'), array('label' => __('Button', 'dslc_string'), 'value' => 'button')), 'section' => 'styling'), array('label' => __('Carousel Elements', 'dslc_string'), 'id' => 'carousel_elements', 'std' => 'arrows circles', 'type' => 'checkbox', 'choices' => array(array('label' => __('Arrows', 'dslc_string'), 'value' => 'arrows'), array('label' => __('Circles', 'dslc_string'), 'value' => 'circles')), 'section' => 'styling'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-projects', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Item Margin Bottom', 'dslc_string'), 'id' => 'css_margin_bottom_item', 'std' => '30', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Enable/Disable', 'dslc_string'), 'id' => 'separator_enabled', 'std' => 'enabled', 'type' => 'select', 'choices' => array(array('label' => __('Enabled', 'dslc_string'), 'value' => 'enabled'), array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled')), 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('Color', 'dslc_string'), 'id' => 'css_sep_border_color', 'std' => '#ededed', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('Height', 'dslc_string'), 'id' => 'css_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 0, 'max' => 300, 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('Style', 'dslc_string'), 'id' => 'css_sep_style', 'std' => 'dashed', 'type' => 'select', 'choices' => array(array('label' => __('Invisible', 'dslc_string'), 'value' => 'none'), array('label' => __('Solid', 'dslc_string'), 'value' => 'solid'), array('label' => __('Dashed', 'dslc_string'), 'value' => 'dashed'), array('label' => __('Dotted', 'dslc_string'), 'value' => 'dotted')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Row Separator', 'dslc_string')), array('label' => __('BG Color', 'dslc_string'), 'id' => 'css_thumbnail_bg_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_thumb_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_thumb_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Borders', 'dslc_string'), 'id' => 'css_thumb_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom'), array('label' => __('Left', 'dslc_string'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Border Radius - Top', 'dslc_string'), 'id' => 'css_thumbnail_border_radius_top', 'std' => '', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner, .dslc-project-thumb img', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string'), 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'dslc_string'), 'id' => 'css_thumbnail_border_radius_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner, .dslc-project-thumb img', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_thumbnail_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Padding Horizontal', 'dslc_string'), 'id' => 'css_thumbnail_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'dslc_string')), array('label' => __('Resize - Height', 'dslc_string'), 'id' => 'thumb_resize_height', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('thumbnail', 'dslc_string')), array('label' => __('Resize - Width', 'dslc_string'), 'id' => 'thumb_resize_width_manual', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('thumbnail', 'dslc_string')), array('label' => __('Resize - Width', 'dslc_string'), 'id' => 'thumb_resize_width', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('thumbnail', 'dslc_string'), 'visibility' => 'hidden'), array('label' => __('Width', 'dslc_string'), 'id' => 'thumb_width', 'std' => '100', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-thumb', 'affect_on_change_rule' => 'width', 'section' => 'styling', 'tab' => __('Thumbnail', 'dslc_string'), 'min' => 1, 'max' => 100, 'ext' => '%'), array('label' => __('Location', 'dslc_string'), 'id' => 'main_location', 'std' => 'bellow', 'type' => 'select', 'section' => 'styling', 'tab' => __('Main', 'dslc_string'), 'choices' => array(array('label' => __('Bellow Thumbnail', 'dslc_string'), 'value' => 'bellow'), array('label' => __('Inside Thumbnail ( hover )', 'dslc_string'), 'value' => 'inside'), array('label' => __('Inside Thumbnail ( always visible )', 'dslc_string'), 'value' => 'inside_visible'))), array('label' => __('Animation When Hover', 'dslc_string'), 'id' => 'main_animation_hover', 'std' => 'none', 'type' => 'select', 'section' => 'styling', 'tab' => __('Main', 'dslc_string'), 'choices' => array(array('label' => __('None', 'dslc_string'), 'value' => 'none'), array('label' => __('Lily Effect', 'dslc_string'), 'value' => 'effect-lily'), array('label' => __('Sadie Effect', 'dslc_string'), 'value' => 'effect-sadie'), array('label' => __('Layla Effect', 'dslc_string'), 'value' => 'effect-layla'), array('label' => __('Oscar Effect', 'dslc_string'), 'value' => 'effect-oscar'), array('label' => __('Marley Effect', 'dslc_string'), 'value' => 'effect-marley'), array('label' => __('Ruby Effect', 'dslc_string'), 'value' => 'effect-ruby'), array('label' => __('Roxy Effect', 'dslc_string'), 'value' => 'effect-roxy'), array('label' => __('Bubba Effect', 'dslc_string'), 'value' => 'effect-bubba'), array('label' => __('Romeo Effect', 'dslc_string'), 'value' => 'effect-romeo'), array('label' => __('Sarah Effect', 'dslc_string'), 'value' => 'effect-sarah'), array('label' => __('Chico Effect', 'dslc_string'), 'value' => 'effect-chico'))), array('label' => __(' BG Color', 'dslc_string'), 'id' => 'css_main_bg_color', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_main_border_color', 'std' => '#e6e6e6', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_main_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'dslc_string')), array('label' => __('Borders', 'dslc_string'), 'id' => 'css_main_border_trbl', 'std' => 'right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom'), array('label' => __('Left', 'dslc_string'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Main', 'dslc_string')), array('label' => __('Border Radius - Top', 'dslc_string'), 'id' => 'css_main_border_radius_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'tab' => __('Main', 'dslc_string'), 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'dslc_string'), 'id' => 'css_main_border_radius_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'tab' => __('Main', 'dslc_string'), 'ext' => 'px'), array('label' => __('Minimum Height', 'dslc_string'), 'id' => 'css_main_min_height', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'min-height', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'dslc_string'), 'min' => 0, 'max' => 500), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_main_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'dslc_string')), array('label' => __('Padding Horizontal', 'dslc_string'), 'id' => 'css_main_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'dslc_string')), array('label' => __('Text Align', 'dslc_string'), 'id' => 'css_main_text_align', 'std' => 'center', 'type' => 'select', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'text-align', 'section' => 'styling', 'tab' => __('Main', 'dslc_string'), 'choices' => array(array('label' => __('Left', 'dslc_string'), 'value' => 'left'), array('label' => __('Center', 'dslc_string'), 'value' => 'center'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Justify', 'dslc_string'), 'value' => 'justify'))), array('label' => __('Position', 'dslc_string'), 'id' => 'main_position', 'std' => 'center', 'type' => 'select', 'section' => 'styling', 'tab' => __('Main Inner', 'dslc_string'), 'choices' => array(array('label' => __('None', 'dslc_string'), 'value' => 'none-position'), array('label' => __('Top Left', 'dslc_string'), 'value' => 'topleft'), array('label' => __('Top Right', 'dslc_string'), 'value' => 'topright'), array('label' => __('Center', 'dslc_string'), 'value' => 'center'), array('label' => __('Bottom Left', 'dslc_string'), 'value' => 'bottomleft'), array('label' => __('Bottom Right', 'dslc_string'), 'value' => 'bottomright'))), array('label' => __('Margin', 'dslc_string'), 'id' => 'css_main_inner_margin', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main-inner', 'affect_on_change_rule' => 'margin', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main Inner', 'dslc_string')), array('label' => __('Width', 'dslc_string'), 'id' => 'css_main_inner_width', 'std' => '100', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main-inner', 'affect_on_change_rule' => 'width', 'section' => 'styling', 'ext' => '%', 'tab' => __('Main Inner', 'dslc_string')), array('label' => __('Color', 'dslc_string'), 'id' => 'css_title_color', 'std' => '#fff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2 a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Color - Hover', 'dslc_string'), 'id' => 'css_title_color_hover', 'std' => 'rgb(248, 191, 59)', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2:hover a,.dslc-project-title h2 a:hover', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Font Size', 'dslc_string'), 'id' => 'css_title_font_size', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight', 'dslc_string'), 'id' => 'css_title_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Weight tag Span', 'dslc_string'), 'id' => 'css_title_font_weight_span', 'std' => '700', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2 span,.dslc-project-title h2 a span', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'dslc_string'), 'id' => 'css_title_font_family', 'std' => 'Oswald', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Line Height', 'dslc_string'), 'id' => 'css_title_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Letter Spacing', 'dslc_string'), 'id' => 'css_title_letter_spacing', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'letter-spacing', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Text Transform', 'dslc_string'), 'id' => 'css_title_text_transform', 'std' => 'none', 'type' => 'select', 'choices' => array(array('label' => __('None', 'dslc_string'), 'value' => 'none'), array('label' => __('Capitalize', 'dslc_string'), 'value' => 'capitalize'), array('label' => __('Uppercase', 'dslc_string'), 'value' => 'uppercase'), array('label' => __('Lowercase', 'dslc_string'), 'value' => 'lowercase')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2', 'affect_on_change_rule' => 'text-transform', 'section' => 'styling', 'tab' => __('Title', 'dslc_string')), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_title_margin_bottom', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Title', 'dslc_string'), 'ext' => 'px'), array('label' => __('Color', 'dslc_string'), 'id' => 'css_cats_color', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Categories', 'dslc_string')), array('label' => __('Font Size', 'dslc_string'), 'id' => 'css_cats_font_size', 'std' => '14', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Categories', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight', 'dslc_string'), 'id' => 'css_cats_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Categories', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'dslc_string'), 'id' => 'css_cats_font_family', 'std' => 'Bitter', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Categories', 'dslc_string')), array('label' => __('Line Height', 'dslc_string'), 'id' => 'css_cats_line_height', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Categories', 'dslc_string'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_cats_margin-bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Categories', 'dslc_string')), array('label' => __('Excerpt or Content', 'dslc_string'), 'id' => 'excerpt_or_content', 'std' => 'excerpt', 'type' => 'select', 'choices' => array(array('label' => __('Excerpt', 'dslc_string'), 'value' => 'excerpt'), array('label' => __('Content', 'dslc_string'), 'value' => 'content')), 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string')), array('label' => __('Border Top Color', 'dslc_string'), 'id' => 'css_excerpt_border_color', 'std' => '#e6e6e6', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'border-top-color', 'section' => 'styling', 'tab' => __('excerpt', 'dslc_string')), array('label' => __('Border Top Width', 'dslc_string'), 'id' => 'css_excerpt_border_width', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'border-top-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('excerpt', 'dslc_string')), array('label' => __('Border Top Style', 'dslc_string'), 'id' => 'css_excerpt_border_style', 'std' => 'solid', 'type' => 'select', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'border-top-style', 'section' => 'styling', 'choices' => array(array('label' => __('Solid', 'dslc_string'), 'value' => 'solid'), array('label' => __('Dashed', 'dslc_string'), 'value' => 'dashed'), array('label' => __('Dotted', 'dslc_string'), 'value' => 'dotted')), 'tab' => __('excerpt', 'dslc_string')), array('label' => __('Color', 'dslc_string'), 'id' => 'css_excerpt_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string')), array('label' => __('Font Size', 'dslc_string'), 'id' => 'css_excerpt_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight', 'dslc_string'), 'id' => 'css_excerpt_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'dslc_string'), 'id' => 'css_excerpt_font_family', 'std' => 'Open Sans', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string')), array('label' => __('Line Height', 'dslc_string'), 'id' => 'css_excerpt_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt, .dslc-project-excerpt p', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string'), 'ext' => 'px'), array('label' => __('Text Transform', 'dslc_string'), 'id' => 'css_excerpt_text_transform', 'std' => 'none', 'type' => 'select', 'choices' => array(array('label' => __('None', 'dslc_string'), 'value' => 'none'), array('label' => __('Capitalize', 'dslc_string'), 'value' => 'capitalize'), array('label' => __('Uppercase', 'dslc_string'), 'value' => 'uppercase'), array('label' => __('Lowercase', 'dslc_string'), 'value' => 'lowercase')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt, .dslc-project-excerpt p', 'affect_on_change_rule' => 'text-transform', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string')), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'excerpt_margin', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('excerpt', 'dslc_string')), array('label' => __('Max Length ( amount of words )', 'dslc_string'), 'id' => 'excerpt_length', 'std' => '20', 'type' => 'text', 'section' => 'styling', 'tab' => __('Excerpt', 'dslc_string')), array('label' => __('Padding Top', 'dslc_string'), 'id' => 'css_excerpt_padding', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'padding-top', 'section' => 'styling', 'ext' => 'px', 'tab' => __('excerpt', 'dslc_string')), array('label' => __('Text', 'dslc_string'), 'id' => 'button_text', 'std' => 'VIEW PROJECT', 'type' => 'text', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('BG Color', 'dslc_string'), 'id' => 'css_button_bg_color', 'std' => '#5890e5', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('BG Color - Hover', 'dslc_string'), 'id' => 'css_button_bg_color_hover', 'std' => '#477ccc', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a:hover', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Border Width', 'dslc_string'), 'id' => 'css_button_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'tab' => __('Button', 'dslc_string'), 'ext' => 'px'), array('label' => __('Border Color', 'dslc_string'), 'id' => 'css_button_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Border Color - Hover', 'dslc_string'), 'id' => 'css_button_border_color_hover', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a:hover', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Border Radius', 'dslc_string'), 'id' => 'css_button_border_radius', 'std' => '3', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'border-radius', 'section' => 'styling', 'tab' => __('Button', 'dslc_string'), 'ext' => 'px'), array('label' => __('Color', 'dslc_string'), 'id' => 'css_button_color', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Color - Hover', 'dslc_string'), 'id' => 'css_button_color_hover', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a:hover', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Font Size', 'dslc_string'), 'id' => 'css_button_font_size', 'std' => '11', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Button', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight', 'dslc_string'), 'id' => 'css_button_font_weight', 'std' => '800', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Button', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'dslc_string'), 'id' => 'css_button_font_family', 'std' => 'Open Sans', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Padding Vertical', 'dslc_string'), 'id' => 'css_button_padding_vertical', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Button', 'dslc_string')), array('label' => __('Padding Horizontal', 'dslc_string'), 'id' => 'css_button_padding_horizontal', 'std' => '16', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Button', 'dslc_string')), array('label' => __('Icon', 'dslc_string'), 'id' => 'button_icon_id', 'std' => '', 'type' => 'icon', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Icon - Color', 'dslc_string'), 'id' => 'css_button_icon_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a .dslc-icon', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Button', 'dslc_string')), array('label' => __('Icon - Margin Right', 'dslc_string'), 'id' => 'css_button_icon_margin', 'std' => '5', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a .dslc-icon', 'affect_on_change_rule' => 'margin-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Button', 'dslc_string')), array('label' => __('Ajax Projects', 'dslc_string'), 'id' => 'as_ajax_projects', 'std' => 1, 'type' => 'select', 'choices' => array(array('label' => __('Use Ajax Portfolio', 'dslc_string'), 'value' => 1), array('label' => __('Normal Link', 'dslc_string'), 'value' => 0)), 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Position Ajax Projects', 'dslc_string'), 'id' => 'as_ajax_projects_position', 'std' => 'bottom', 'type' => 'select', 'choices' => array(array('label' => __('Top', 'dslc_string'), 'value' => 'top'), array('label' => __('Bottom', 'dslc_string'), 'value' => 'bottom')), 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Ajax Content Margin Bottom', 'dslc_string'), 'id' => 'as_ajax_projects_margin_bottom', 'std' => '35', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '#as_portfolio_content', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Color of Navigation', 'dslc_string'), 'id' => 'as_ajax_projects_nav_color', 'std' => 'rgb(44, 62, 79)', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-portfolio-ajax-wrapper .as-port-control span.as-btn-text-ajax-prj', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Font Family of Nav', 'dslc_string'), 'id' => 'as_ajax_projects_nav_font_family', 'std' => 'Oswald', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-portfolio-ajax-wrapper .as-port-control span.as-btn-text-ajax-prj', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Font Weight of Nav', 'dslc_string'), 'id' => 'as_ajax_projects_nav_font_weight', 'std' => '700', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-portfolio-ajax-wrapper .as-port-control span.as-btn-text-ajax-prj', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Size of Nav', 'dslc_string'), 'id' => 'as_ajax_projects_nav_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-portfolio-ajax-wrapper .as-port-control span.as-btn-text-ajax-prj', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Nav Margin Bottom', 'dslc_string'), 'id' => 'as_ajax_projects_nav_margin_bottom', 'std' => '30', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-portfolio-ajax-wrapper .as-port-control', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Color of Title', 'dslc_string'), 'id' => 'as_ajax_projects_title_color', 'std' => 'rgb(89, 89, 89)', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-title', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Font Family of Title', 'dslc_string'), 'id' => 'as_ajax_projects_title_font_family', 'std' => 'Oswald', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-title', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Line Height of Title', 'dslc_string'), 'id' => 'as_ajax_projects_title_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-title', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight of Title', 'dslc_string'), 'id' => 'as_ajax_projects_title_font_weight', 'std' => '600', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-title', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Size of Title', 'dslc_string'), 'id' => 'as_ajax_projects_title_font_size', 'std' => '30', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-title', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Text Transform', 'dslc_string'), 'id' => 'as_ajax_projects_title_text_transform', 'std' => 'uppercase', 'type' => 'select', 'choices' => array(array('label' => __('None', 'dslc_string'), 'value' => 'none'), array('label' => __('Capitalize', 'dslc_string'), 'value' => 'capitalize'), array('label' => __('Uppercase', 'dslc_string'), 'value' => 'uppercase'), array('label' => __('Lowercase', 'dslc_string'), 'value' => 'lowercase')), 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-title', 'affect_on_change_rule' => 'text-transform', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Letter Spacing', 'dslc_string'), 'id' => 'as_ajax_projects_title_letter_spacing', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-title', 'affect_on_change_rule' => 'letter-spacing', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title Margin Bottom', 'dslc_string'), 'id' => 'as_ajax_projects_title_margin_bottom', 'std' => '35', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title Align', 'dslc_string'), 'id' => 'as_ajax_projects_title_text_align', 'std' => 'center', 'type' => 'select', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper', 'affect_on_change_rule' => 'text-align', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'choices' => array(array('label' => __('Left', 'dslc_string'), 'value' => 'left'), array('label' => __('Center', 'dslc_string'), 'value' => 'center'), array('label' => __('Right', 'dslc_string'), 'value' => 'right'), array('label' => __('Justify', 'dslc_string'), 'value' => 'justify'))), array('label' => __('Color of Category', 'dslc_string'), 'id' => 'as_ajax_projects_category_color', 'std' => 'rgb(131, 131, 131)', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-category', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Font Family of Category', 'dslc_string'), 'id' => 'as_ajax_projects_category_font_family', 'std' => 'Bitter', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-category', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Line Height of Category', 'dslc_string'), 'id' => 'as_ajax_projects_category_line_height', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-category', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight of Category', 'dslc_string'), 'id' => 'as_ajax_projects_category_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-category', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Size of Category', 'dslc_string'), 'id' => 'as_ajax_projects_category_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-category', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Text Transform', 'dslc_string'), 'id' => 'as_ajax_projects_category_text_transform', 'std' => 'uppercase', 'type' => 'select', 'choices' => array(array('label' => __('None', 'dslc_string'), 'value' => 'none'), array('label' => __('Capitalize', 'dslc_string'), 'value' => 'capitalize'), array('label' => __('Uppercase', 'dslc_string'), 'value' => 'uppercase'), array('label' => __('Lowercase', 'dslc_string'), 'value' => 'lowercase')), 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-category', 'affect_on_change_rule' => 'text-transform', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Letter Spacing', 'dslc_string'), 'id' => 'as_ajax_projects_category_letter_spacing', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-category', 'affect_on_change_rule' => 'letter-spacing', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Category Margin Bottom', 'dslc_string'), 'id' => 'as_ajax_projects_category_margin_bottom .as-port-ajax-category', 'std' => '35', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-title-port-ajax-wrapper .as-port-ajax-category', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Color of Excerpt', 'dslc_string'), 'id' => 'as_ajax_projects_excerpt_color', 'std' => 'rgb(76, 76, 76)', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-port-ajax-data .as-port-ajax-excerpt', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Font Family of Excerpt', 'dslc_string'), 'id' => 'as_ajax_projects_excerpt_font_family', 'std' => 'Oswald', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-port-ajax-data .as-port-ajax-excerpt', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Line Height of Excerpt', 'dslc_string'), 'id' => 'as_ajax_projects_excerpt_line_height', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-port-ajax-data .as-port-ajax-excerpt', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Font Weight of Excerpt', 'dslc_string'), 'id' => 'as_ajax_projects_excerpt_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-port-ajax-data .as-port-ajax-excerpt', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Size of Excerpt', 'dslc_string'), 'id' => 'as_ajax_projects_excerpt_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-port-ajax-data .as-port-ajax-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Text Transform Excerpt', 'dslc_string'), 'id' => 'as_ajax_projects_excerpt_text_transform', 'std' => 'none', 'type' => 'select', 'choices' => array(array('label' => __('None', 'dslc_string'), 'value' => 'none'), array('label' => __('Capitalize', 'dslc_string'), 'value' => 'capitalize'), array('label' => __('Uppercase', 'dslc_string'), 'value' => 'uppercase'), array('label' => __('Lowercase', 'dslc_string'), 'value' => 'lowercase')), 'refresh_on_change' => false, 'affect_on_change_el' => '.as-port-ajax-data .as-port-ajax-excerpt', 'affect_on_change_rule' => 'text-transform', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string')), array('label' => __('Letter Spacing Excerpt', 'dslc_string'), 'id' => 'as_ajax_projects_excerpt_letter_spacing', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.as-port-ajax-data .as-port-ajax-excerpt', 'affect_on_change_rule' => 'letter-spacing', 'section' => 'styling', 'tab' => __('Ajax Portfolio', 'dslc_string'), 'ext' => 'px'), array('label' => __('Background Color - Hover', 'dslc_string'), 'id' => 'css_filters_background_color_hover', 'std' => 'rgb(248, 191, 59)', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-filters .dslc-post-filter:hover', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Filters', 'dslc_string')), array('label' => __('Color - Hover', 'dslc_string'), 'id' => 'css_filters_color_hover', 'std' => 'rgb(248, 191, 59)', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-filters .dslc-post-filter:hover', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Filters', 'dslc_string')), array('label' => __('Border Color - Hover', 'dslc_string'), 'id' => 'css_filters_border_color_hover', 'std' => 'rgb(248, 191, 59)', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-filters .dslc-post-filter:hover', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Filters', 'dslc_string')), array('label' => __('Duration when hover(ms)', 'dslc_string'), 'id' => 'css_filters_duration_hover', 'std' => '300', 'type' => 'text', 'refresh_on_change' => true, 'section' => 'styling', 'tab' => __('Filters', 'dslc_string')), array('label' => __('Text Transform', 'dslc_string'), 'id' => 'css_filters_text_transform', 'std' => 'none', 'type' => 'select', 'choices' => array(array('label' => __('None', 'dslc_string'), 'value' => 'none'), array('label' => __('Capitalize', 'dslc_string'), 'value' => 'capitalize'), array('label' => __('Uppercase', 'dslc_string'), 'value' => 'uppercase'), array('label' => __('Lowercase', 'dslc_string'), 'value' => 'lowercase')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-filters .dslc-post-filter', 'affect_on_change_rule' => 'text-transform', 'section' => 'styling', 'tab' => __('Filters', 'dslc_string')), array('label' => __('Responsive Styling', 'dslc_string'), 'id' => 'css_res_t', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled'), array('label' => __('Enabled', 'dslc_string'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-projects', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Separator - Height', 'dslc_string'), 'id' => 'css_res_t_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 1, 'max' => 300, 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Thumbnail - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Thumbnail - Padding Vertical', 'dslc_string'), 'id' => 'css_res_t_thumbnail_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Thumbnail - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_t_thumbnail_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Main - Padding Vertical', 'dslc_string'), 'id' => 'css_res_t_main_padding_vertical', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Main - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_t_main_padding_horizontal', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Title - Font Size', 'dslc_string'), 'id' => 'css_res_t_title_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Line Height', 'dslc_string'), 'id' => 'css_res_t_title_line_height', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_title_margin_bottom', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Categories - Font Size', 'dslc_string'), 'id' => 'css_res_t_cats_font_size', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Categories - Line Height', 'dslc_string'), 'id' => 'css_res_t_cats_line_height', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Categories - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_cats_margin-bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Excerpt - Font Size', 'dslc_string'), 'id' => 'css_res_t_excerpt_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt - Line Height', 'dslc_string'), 'id' => 'css_res_t_excerpt_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt, .dslc-project-excerpt p', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt - Margin Bottom', 'dslc_string'), 'id' => 'css_res_t_excerpt_margin', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Button - Font Size', 'dslc_string'), 'id' => 'css_res_t_button_font_size', 'std' => '11', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'dslc_string'), 'ext' => 'px'), array('label' => __('Button - Padding Vertical', 'dslc_string'), 'id' => 'css_res_t_button_padding_vertical', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Button - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_t_button_padding_horizontal', 'std' => '16', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Button Icon - Margin Right', 'dslc_string'), 'id' => 'css_res_t_button_icon_margin', 'std' => '5', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a .dslc-icon', 'affect_on_change_rule' => 'margin-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'dslc_string')), array('label' => __('Responsive Styling', 'dslc_string'), 'id' => 'css_res_p', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'dslc_string'), 'value' => 'disabled'), array('label' => __('Enabled', 'dslc_string'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('phone', 'dslc_string')), array('label' => __('Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-projects', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Separator - Height', 'dslc_string'), 'id' => 'css_res_p_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 1, 'max' => 300, 'section' => 'responsive', 'tab' => __('phone', 'dslc_string')), array('label' => __('Thumbnail - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Thumbnail - Padding Vertical', 'dslc_string'), 'id' => 'css_res_p_thumbnail_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Thumbnail - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_p_thumbnail_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-thumb-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Main - Padding Vertical', 'dslc_string'), 'id' => 'css_res_p_main_padding_vertical', 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Main - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_p_main_padding_horizontal', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Title - Font Size', 'dslc_string'), 'id' => 'css_res_p_title_font_size', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Line Height', 'dslc_string'), 'id' => 'css_res_p_title_line_height', 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Title - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_title_margin_bottom', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Categories - Font Size', 'dslc_string'), 'id' => 'css_res_p_cats_font_size', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Categories - Line Height', 'dslc_string'), 'id' => 'css_res_p_cats_line_height', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Categories - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_cats_margin-bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-cats', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Excerpt - Font Size', 'dslc_string'), 'id' => 'css_res_p_excerpt_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt - Line Height', 'dslc_string'), 'id' => 'css_res_p_excerpt_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt, .dslc-project-excerpt p', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Excerpt - Margin Bottom', 'dslc_string'), 'id' => 'css_res_p_excerpt_margin', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-excerpt', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Button - Font Size', 'dslc_string'), 'id' => 'css_res_p_button_font_size', 'std' => '11', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'dslc_string'), 'ext' => 'px'), array('label' => __('Button - Padding Vertical', 'dslc_string'), 'id' => 'css_res_p_button_padding_vertical', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Button - Padding Horizontal', 'dslc_string'), 'id' => 'css_res_p_button_padding_horizontal', 'std' => '16', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')), array('label' => __('Button Icon - Margin Right', 'dslc_string'), 'id' => 'css_res_p_button_icon_margin', 'std' => '5', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-project-read-more a .dslc-icon', 'affect_on_change_rule' => 'margin-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'dslc_string')));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('heading_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('filters_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_arrows_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_circles_options'));
Example #14
0
<?php

if (dslc_is_module_active('DSLC_Downloads')) {
    include DS_LIVE_COMPOSER_ABS . '/modules/downloads/functions.php';
}
class DSLC_Downloads extends DSLC_Module
{
    var $module_id;
    var $module_title;
    var $module_icon;
    var $module_category;
    function __construct()
    {
        $this->module_id = 'DSLC_Downloads';
        $this->module_title = __('Downloads', 'live-composer-page-builder');
        $this->module_icon = 'download';
        $this->module_category = 'posts';
    }
    function options()
    {
        $cats = get_terms('dslc_downloads_cats');
        $cats_choices = array();
        foreach ($cats as $cat) {
            $cats_choices[] = array('label' => $cat->name, 'value' => $cat->slug);
        }
        $dslc_options = array(array('label' => __('Show On', 'live-composer-page-builder'), 'id' => 'css_show_on', 'std' => 'desktop tablet phone', 'type' => 'checkbox', 'choices' => array(array('label' => __('Desktop', 'live-composer-page-builder'), 'value' => 'desktop'), array('label' => __('Tablet', 'live-composer-page-builder'), 'value' => 'tablet'), array('label' => __('Phone', 'live-composer-page-builder'), 'value' => 'phone'))), array('label' => __('Link', 'live-composer-page-builder'), 'id' => 'link', 'std' => 'enabled', 'type' => 'select', 'choices' => array(array('label' => __('Link to download item page', 'live-composer-page-builder'), 'value' => 'enabled'), array('label' => __('Do NOT link to download item page', 'live-composer-page-builder'), 'value' => 'disabled'))), array('label' => __('Type', 'live-composer-page-builder'), 'id' => 'type', 'std' => 'grid', 'type' => 'select', 'choices' => array(array('label' => __('Grid', 'live-composer-page-builder'), 'value' => 'grid'), array('label' => __('Masonry Grid', 'live-composer-page-builder'), 'value' => 'masonry'), array('label' => __('Carousel', 'live-composer-page-builder'), 'value' => 'carousel'))), array('label' => __('Orientation', 'live-composer-page-builder'), 'id' => 'orientation', 'std' => 'vertical', 'type' => 'select', 'choices' => array(array('label' => __('Vertical', 'live-composer-page-builder'), 'value' => 'vertical'), array('label' => __('Horizontal', 'live-composer-page-builder'), 'value' => 'horizontal'))), array('label' => __('Posts Per Page', 'live-composer-page-builder'), 'id' => 'amount', 'std' => '8', 'type' => 'text'), array('label' => __('Pagination', 'live-composer-page-builder'), 'id' => 'pagination_type', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'live-composer-page-builder'), 'value' => 'disabled'), array('label' => __('Numbered', 'live-composer-page-builder'), 'value' => 'numbered'), array('label' => __('Prev/Next', 'live-composer-page-builder'), 'value' => 'prevnext'), array('label' => __('Load More', 'live-composer-page-builder'), 'value' => 'loadmore'))), array('label' => __('Categories', 'live-composer-page-builder'), 'id' => 'categories', 'std' => '', 'type' => 'checkbox', 'choices' => $cats_choices), array('label' => __('Categories Operator', 'live-composer-page-builder'), 'id' => 'categories_operator', 'std' => 'IN', 'help' => __('<strong>IN</strong> - Posts must be in at least one chosen category.<br><strong>AND</strong> - Posts must be in all chosen categories.<br><strong>NOT IN</strong> Posts must not be in the chosen categories.', 'live-composer-page-builder'), 'type' => 'select', 'choices' => array(array('label' => __('IN', 'live-composer-page-builder'), 'value' => 'IN'), array('label' => __('AND', 'live-composer-page-builder'), 'value' => 'AND'), array('label' => __('NOT IN', 'live-composer-page-builder'), 'value' => 'NOT IN'))), array('label' => __('Items Per Row', 'live-composer-page-builder'), 'id' => 'columns', 'std' => '3', 'type' => 'select', 'choices' => $this->shared_options('posts_per_row_choices')), array('label' => __('Order By', 'live-composer-page-builder'), 'id' => 'orderby', 'std' => 'date', 'type' => 'select', 'choices' => array(array('label' => __('Publish Date', 'live-composer-page-builder'), 'value' => 'date'), array('label' => __('Modified Date', 'live-composer-page-builder'), 'value' => 'modified'), array('label' => __('Random', 'live-composer-page-builder'), 'value' => 'rand'), array('label' => __('Alphabetic', 'live-composer-page-builder'), 'value' => 'title'), array('label' => __('Comment Count', 'live-composer-page-builder'), 'value' => 'comment_count'))), array('label' => __('Order', 'live-composer-page-builder'), 'id' => 'order', 'std' => 'DESC', 'type' => 'select', 'choices' => array(array('label' => __('Ascending', 'live-composer-page-builder'), 'value' => 'ASC'), array('label' => __('Descending', 'live-composer-page-builder'), 'value' => 'DESC'))), array('label' => __('Offset', 'live-composer-page-builder'), 'id' => 'offset', 'std' => '0', 'type' => 'text'), array('label' => __('Include (IDs)', 'live-composer-page-builder'), 'id' => 'query_post_in', 'std' => '', 'type' => 'text'), array('label' => __('Exclude (IDs)', 'live-composer-page-builder'), 'id' => 'query_post_not_in', 'std' => '', 'type' => 'text'), array('label' => __('On Author Archive', 'live-composer-page-builder'), 'id' => 'query_alter_author', 'std' => 'enabled', 'type' => 'select', 'choices' => array(array('label' => __('Show Posts Of That Author', 'live-composer-page-builder'), 'value' => 'enabled'), array('label' => __('Do NOT Alter Query', 'live-composer-page-builder'), 'value' => 'disabled')), 'tab' => __('Query Alter', 'live-composer-page-builder')), array('label' => __('On Category/Tag Archive', 'live-composer-page-builder'), 'id' => 'query_alter_cat', 'std' => 'enabled', 'type' => 'select', 'choices' => array(array('label' => __('Show Posts Of That Category/Tag', 'live-composer-page-builder'), 'value' => 'enabled'), array('label' => __('Do NOT Alter Query', 'live-composer-page-builder'), 'value' => 'disabled')), 'tab' => __('Query Alter', 'live-composer-page-builder')), array('label' => __('On Search Results Page', 'live-composer-page-builder'), 'id' => 'query_alter_search', 'std' => 'enabled', 'type' => 'select', 'choices' => array(array('label' => __('Show Posts Matching Search Term', 'live-composer-page-builder'), 'value' => 'enabled'), array('label' => __('Do NOT Alter Query', 'live-composer-page-builder'), 'value' => 'disabled')), 'tab' => __('Query Alter', 'live-composer-page-builder')), array('label' => __('Elements', 'live-composer-page-builder'), 'id' => 'elements', 'std' => '', 'type' => 'checkbox', 'choices' => array(array('label' => __('Heading', 'live-composer-page-builder'), 'value' => 'main_heading'), array('label' => __('Filters', 'live-composer-page-builder'), 'value' => 'filters')), 'section' => 'styling'), array('label' => __('Post Elements', 'live-composer-page-builder'), 'id' => 'post_elements', 'std' => 'thumbnail title tags excerpt button count', 'type' => 'checkbox', 'choices' => array(array('label' => __('Thumbnail', 'live-composer-page-builder'), 'value' => 'thumbnail'), array('label' => __('Title', 'live-composer-page-builder'), 'value' => 'title'), array('label' => __('Tags', 'live-composer-page-builder'), 'value' => 'tags'), array('label' => __('Excerpt', 'live-composer-page-builder'), 'value' => 'excerpt'), array('label' => __('Download Button', 'live-composer-page-builder'), 'value' => 'button'), array('label' => __('Download Count', 'live-composer-page-builder'), 'value' => 'count')), 'section' => 'styling'), array('label' => __('Carousel Elements', 'live-composer-page-builder'), 'id' => 'carousel_elements', 'std' => 'arrows circles', 'type' => 'checkbox', 'choices' => array(array('label' => __('Arrows', 'live-composer-page-builder'), 'value' => 'arrows'), array('label' => __('Circles', 'live-composer-page-builder'), 'value' => 'circles')), 'section' => 'styling'), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-downloads', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Minimum Height', 'live-composer-page-builder'), 'id' => 'css_min_height', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-downloads', 'affect_on_change_rule' => 'min-height', 'section' => 'styling', 'ext' => 'px', 'min' => 0, 'max' => 1000, 'increment' => 5), array('label' => __('Enable/Disable', 'live-composer-page-builder'), 'id' => 'separator_enabled', 'std' => 'enabled', 'type' => 'select', 'choices' => array(array('label' => __('Enabled', 'live-composer-page-builder'), 'value' => 'enabled'), array('label' => __('Disabled', 'live-composer-page-builder'), 'value' => 'disabled')), 'section' => 'styling', 'tab' => __('Row Separator', 'live-composer-page-builder')), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_sep_border_color', 'std' => '#ededed', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Row Separator', 'live-composer-page-builder')), array('label' => __('Height', 'live-composer-page-builder'), 'id' => 'css_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 0, 'max' => 300, 'section' => 'styling', 'tab' => __('Row Separator', 'live-composer-page-builder')), array('label' => __('Thickness', 'live-composer-page-builder'), 'id' => 'css_sep_thickness', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-bottom-width', 'ext' => 'px', 'min' => 0, 'max' => 50, 'section' => 'styling', 'tab' => __('Row Separator', 'live-composer-page-builder')), array('label' => __('Style', 'live-composer-page-builder'), 'id' => 'css_sep_style', 'std' => 'dashed', 'type' => 'select', 'choices' => array(array('label' => __('Invisible', 'live-composer-page-builder'), 'value' => 'none'), array('label' => __('Solid', 'live-composer-page-builder'), 'value' => 'solid'), array('label' => __('Dashed', 'live-composer-page-builder'), 'value' => 'dashed'), array('label' => __('Dotted', 'live-composer-page-builder'), 'value' => 'dotted')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Row Separator', 'live-composer-page-builder')), array('label' => __('Align', 'live-composer-page-builder'), 'id' => 'css_thumb_align', 'std' => 'left', 'type' => 'text_align', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-thumb', 'affect_on_change_rule' => 'text-align', 'section' => 'styling', 'tab' => __('Thumbnail', 'live-composer-page-builder')), array('label' => __('BG Color', 'live-composer-page-builder'), 'id' => 'css_thumbnail_bg_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-thumb', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Thumbnail', 'live-composer-page-builder')), array('label' => __('Border Color', 'live-composer-page-builder'), 'id' => 'css_thumb_border_color', 'std' => '#e6e6e6', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-thumb-inner', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Thumbnail', 'live-composer-page-builder')), array('label' => __('Border Width', 'live-composer-page-builder'), 'id' => 'css_thumb_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-thumb-inner', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'live-composer-page-builder')), array('label' => __('Borders', 'live-composer-page-builder'), 'id' => 'css_thumb_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'live-composer-page-builder'), 'value' => 'top'), array('label' => __('Right', 'live-composer-page-builder'), 'value' => 'right'), array('label' => __('Bottom', 'live-composer-page-builder'), 'value' => 'bottom'), array('label' => __('Left', 'live-composer-page-builder'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-thumb-inner', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Thumbnail', 'live-composer-page-builder')), array('label' => __('Border Radius - Top', 'live-composer-page-builder'), 'id' => 'css_thumbnail_border_radius_top', 'std' => '4', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-thumb-inner, .dslc-download-thumb img', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'tab' => __('Thumbnail', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'live-composer-page-builder'), 'id' => 'css_thumbnail_border_radius_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-thumb-inner, .dslc-download-thumb img', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'tab' => __('Thumbnail', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'live-composer-page-builder')), array('label' => __('Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_thumbnail_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-thumb-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'live-composer-page-builder')), array('label' => __('Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_thumbnail_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-thumb-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'live-composer-page-builder')), array('label' => __('Resize - Height', 'live-composer-page-builder'), 'id' => 'thumb_resize_height', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('thumbnail', 'live-composer-page-builder')), array('label' => __('Resize - Width', 'live-composer-page-builder'), 'id' => 'thumb_resize_width_manual', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('thumbnail', 'live-composer-page-builder')), array('label' => __('Resize - Width', 'live-composer-page-builder'), 'id' => 'thumb_resize_width', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('thumbnail', 'live-composer-page-builder'), 'visibility' => 'hidden'), array('label' => __('Width', 'live-composer-page-builder'), 'id' => 'thumb_width', 'std' => '100', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-thumb', 'affect_on_change_rule' => 'width', 'section' => 'styling', 'tab' => __('Thumbnail', 'live-composer-page-builder'), 'min' => 1, 'max' => 100, 'ext' => '%'), array('label' => __('Location', 'live-composer-page-builder'), 'id' => 'main_location', 'std' => 'bellow', 'type' => 'select', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder'), 'choices' => array(array('label' => __('Bellow Thumbnail', 'live-composer-page-builder'), 'value' => 'bellow'), array('label' => __('Inside Thumbnail ( hover )', 'live-composer-page-builder'), 'value' => 'inside'), array('label' => __('Inside Thumbnail ( always visible )', 'live-composer-page-builder'), 'value' => 'inside_visible'))), array('label' => __('BG Color', 'live-composer-page-builder'), 'id' => 'css_main_bg_color', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-main', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Border Color', 'live-composer-page-builder'), 'id' => 'css_main_border_color', 'std' => '#e0e0e0', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-main', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Border Width', 'live-composer-page-builder'), 'id' => 'css_main_border_width', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-main', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Borders', 'live-composer-page-builder'), 'id' => 'css_main_border_trbl', 'std' => 'right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'live-composer-page-builder'), 'value' => 'top'), array('label' => __('Right', 'live-composer-page-builder'), 'value' => 'right'), array('label' => __('Bottom', 'live-composer-page-builder'), 'value' => 'bottom'), array('label' => __('Left', 'live-composer-page-builder'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-main', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Border Radius - Top', 'live-composer-page-builder'), 'id' => 'css_main_border_radius_top', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-main', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'live-composer-page-builder'), 'id' => 'css_main_border_radius_bottom', 'std' => '3', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-main', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Minimum Height', 'live-composer-page-builder'), 'id' => 'css_main_min_height', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-main', 'affect_on_change_rule' => 'min-height', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'live-composer-page-builder'), 'min' => 0, 'max' => 500), array('label' => __('Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_main_padding_vertical', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_main_padding_horizontal', 'std' => '34', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Text Align', 'live-composer-page-builder'), 'id' => 'css_main_text_align', 'std' => 'center', 'type' => 'text_align', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-main', 'affect_on_change_rule' => 'text-align', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Position', 'live-composer-page-builder'), 'id' => 'main_position', 'std' => 'center', 'type' => 'select', 'section' => 'styling', 'tab' => __('Main Inner', 'live-composer-page-builder'), 'choices' => array(array('label' => __('Top Left', 'live-composer-page-builder'), 'value' => 'topleft'), array('label' => __('Top Right', 'live-composer-page-builder'), 'value' => 'topright'), array('label' => __('Center', 'live-composer-page-builder'), 'value' => 'center'), array('label' => __('Bottom Left', 'live-composer-page-builder'), 'value' => 'bottomleft'), array('label' => __('Bottom Right', 'live-composer-page-builder'), 'value' => 'bottomright'))), array('label' => __('Margin', 'live-composer-page-builder'), 'id' => 'css_main_inner_margin', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-main-inner', 'affect_on_change_rule' => 'margin', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main Inner', 'live-composer-page-builder')), array('label' => __('Width', 'live-composer-page-builder'), 'id' => 'css_main_inner_width', 'std' => '100', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-main-inner', 'affect_on_change_rule' => 'width', 'section' => 'styling', 'ext' => '%', 'tab' => __('Main Inner', 'live-composer-page-builder')), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_title_color', 'std' => '#3d3d3d;', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-title h2,.dslc-download-title h2 a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder')), array('label' => __('Color - Hover', 'live-composer-page-builder'), 'id' => 'css_title_color_hover', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-title h2:hover,.dslc-download-title h2 a:hover', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder')), array('label' => __('Font Size', 'live-composer-page-builder'), 'id' => 'css_title_font_size', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-title h2,.dslc-download-title h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Font Weight', 'live-composer-page-builder'), 'id' => 'css_title_font_weight', 'std' => '600', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-title h2,.dslc-download-title h2 a', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'live-composer-page-builder'), 'id' => 'css_title_font_family', 'std' => 'Open Sans', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-title h2,.dslc-download-title h2 a', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder')), array('label' => __('Line Height', 'live-composer-page-builder'), 'id' => 'css_title_line_height', 'std' => '26', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-title h2,.dslc-download-title h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_title_margin', 'std' => '20', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Text Transform', 'live-composer-page-builder'), 'id' => 'css_title_text_transform', 'std' => 'none', 'type' => 'select', 'choices' => array(array('label' => __('None', 'live-composer-page-builder'), 'value' => 'none'), array('label' => __('Capitalize', 'live-composer-page-builder'), 'value' => 'capitalize'), array('label' => __('Uppercase', 'live-composer-page-builder'), 'value' => 'uppercase'), array('label' => __('Lowercase', 'live-composer-page-builder'), 'value' => 'lowercase')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-title h2', 'affect_on_change_rule' => 'text-transform', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder')), array('label' => __('Border Color', 'live-composer-page-builder'), 'id' => 'css_tags_border_color', 'std' => '#e5e5e5', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-tags', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Tags', 'live-composer-page-builder')), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_tags_text_color', 'std' => '#9e9e9e', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-tags', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Tags', 'live-composer-page-builder')), array('label' => __('Font Family', 'live-composer-page-builder'), 'id' => 'css_tags_font_family', 'std' => 'Droid Serif', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-tags', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Tags', 'live-composer-page-builder')), array('label' => __('Font Size', 'live-composer-page-builder'), 'id' => 'css_tags_font_size', 'std' => '11', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-tags', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Tags', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Font Weight', 'live-composer-page-builder'), 'id' => 'css_tags_font_weight', 'std' => '500', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-tags', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Tags', 'live-composer-page-builder'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_tags_padding_vertical', 'std' => '11', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-tags', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'tab' => __('Tags', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Link - Color', 'live-composer-page-builder'), 'id' => 'css_tags_link_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-tags a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Tags', 'live-composer-page-builder')), array('label' => __('Link - Hover - Color', 'live-composer-page-builder'), 'id' => 'css_tags_link_color_hover', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-tags a:hover', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Tags', 'live-composer-page-builder')), array('label' => __('Link - Font Weight', 'live-composer-page-builder'), 'id' => 'css_tags_link_font_weight', 'std' => '600', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-tags a', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Tags', 'live-composer-page-builder'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Excerpt or Content', 'live-composer-page-builder'), 'id' => 'excerpt_or_content', 'std' => 'excerpt', 'type' => 'select', 'choices' => array(array('label' => __('Excerpt', 'live-composer-page-builder'), 'value' => 'excerpt'), array('label' => __('Content', 'live-composer-page-builder'), 'value' => 'content')), 'section' => 'styling', 'tab' => __('Excerpt', 'live-composer-page-builder')), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_excerpt_color', 'std' => '#9e9e9e', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-excerpt', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Excerpt', 'live-composer-page-builder')), array('label' => __('Font Size', 'live-composer-page-builder'), 'id' => 'css_excerpt_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Excerpt', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Font Weight', 'live-composer-page-builder'), 'id' => 'css_excerpt_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-excerpt', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Excerpt', 'live-composer-page-builder'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'live-composer-page-builder'), 'id' => 'css_excerpt_font_family', 'std' => 'Open Sans', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-excerpt', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Excerpt', 'live-composer-page-builder')), array('label' => __('Line Height', 'live-composer-page-builder'), 'id' => 'css_excerpt_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-excerpt', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Excerpt', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_excerpt_margin_bottom', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-excerpt', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Excerpt', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Max Length ( amount of words )', 'live-composer-page-builder'), 'id' => 'excerpt_length', 'std' => '16', 'type' => 'text', 'section' => 'styling', 'tab' => __('Excerpt', 'live-composer-page-builder')), array('label' => __('Text', 'live-composer-page-builder'), 'id' => 'button_text', 'std' => 'DOWNLOAD', 'type' => 'text', 'section' => 'styling', 'tab' => __('Button', 'live-composer-page-builder')), array('label' => __('BG Color', 'live-composer-page-builder'), 'id' => 'css_button_bg_color', 'std' => '#5890e5', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Button', 'live-composer-page-builder')), array('label' => __('BG Color - Hover', 'live-composer-page-builder'), 'id' => 'css_button_bg_color_hover', 'std' => '#4678c2', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a:hover', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Button', 'live-composer-page-builder')), array('label' => __('Border Color', 'live-composer-page-builder'), 'id' => 'css_button_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Button', 'live-composer-page-builder')), array('label' => __('Border Color - Hover', 'live-composer-page-builder'), 'id' => 'css_button_border_color_hover', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a:hover', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Button', 'live-composer-page-builder')), array('label' => __('Border Width', 'live-composer-page-builder'), 'id' => 'css_button_border_width', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Button', 'live-composer-page-builder')), array('label' => __('Borders', 'live-composer-page-builder'), 'id' => 'css_button_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'live-composer-page-builder'), 'value' => 'top'), array('label' => __('Right', 'live-composer-page-builder'), 'value' => 'right'), array('label' => __('Bottom', 'live-composer-page-builder'), 'value' => 'bottom'), array('label' => __('Left', 'live-composer-page-builder'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Button', 'live-composer-page-builder')), array('label' => __('Border Radius', 'live-composer-page-builder'), 'id' => 'css_button_border_radius', 'std' => '3', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a', 'affect_on_change_rule' => 'border-radius', 'section' => 'styling', 'tab' => __('Button', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_button_color', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Button', 'live-composer-page-builder')), array('label' => __('Color - Hover', 'live-composer-page-builder'), 'id' => 'css_button_color_hover', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a:hover', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Button', 'live-composer-page-builder')), array('label' => __('Font Size', 'live-composer-page-builder'), 'id' => 'css_button_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Button', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Font Weight', 'live-composer-page-builder'), 'id' => 'css_button_font_weight', 'std' => '700', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Button', 'live-composer-page-builder'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'live-composer-page-builder'), 'id' => 'css_button_font_family', 'std' => 'Open Sans', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Button', 'live-composer-page-builder')), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_button_margin_bottom', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Button', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_button_padding_vertical', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'tab' => __('Button', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Icon', 'live-composer-page-builder'), 'id' => 'button_icon_id', 'std' => 'download-alt', 'type' => 'icon', 'section' => 'styling', 'tab' => __('Button', 'live-composer-page-builder')), array('label' => __('Icon - Color', 'live-composer-page-builder'), 'id' => 'css_button_icon_color', 'std' => '#9fbeeb', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a .dslc-icon', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Button', 'live-composer-page-builder')), array('label' => __('Icon - Margin Right', 'live-composer-page-builder'), 'id' => 'css_button_icon_margin', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a .dslc-icon', 'affect_on_change_rule' => 'margin-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Button', 'live-composer-page-builder')), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_count_color', 'std' => '#9e9e9e', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-info', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Count', 'live-composer-page-builder')), array('label' => __('Font Size', 'live-composer-page-builder'), 'id' => 'css_count_font_size', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-info', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Count', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Font Weight', 'live-composer-page-builder'), 'id' => 'css_count_font_weight', 'std' => '400', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-info', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Count', 'live-composer-page-builder'), 'ext' => '', 'min' => 100, 'max' => 900, 'increment' => 100), array('label' => __('Font Family', 'live-composer-page-builder'), 'id' => 'css_count_font_family', 'std' => 'Open Sans', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-info', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Count', 'live-composer-page-builder')), array('label' => __('Responsive Styling', 'live-composer-page-builder'), 'id' => 'css_res_t', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'live-composer-page-builder'), 'value' => 'disabled'), array('label' => __('Enabled', 'live-composer-page-builder'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_t_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-downloads', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Separator - Height', 'live-composer-page-builder'), 'id' => 'css_res_t_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 1, 'max' => 300, 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Thumbnail - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_t_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Thumbnail - Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_res_t_thumbnail_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-thumb-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Thumbnail - Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_res_t_thumbnail_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-thumb-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Main - Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_res_t_main_padding_vertical', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Main - Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_res_t_main_padding_horizontal', 'std' => '34', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Title - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_t_title_font_size', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-title h2,.dslc-download-title h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Title - Line Height', 'live-composer-page-builder'), 'id' => 'css_res_t_title_line_height', 'std' => '26', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-title h2,.dslc-download-title h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Title - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_t_title_margin', 'std' => '20', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Tags - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_t_tags_font_size', 'std' => '11', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-tags', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Tags - Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_res_t_tags_padding_vertical', 'std' => '11', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-tags', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Excerpt - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_t_excerpt_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Excerpt - Line Height', 'live-composer-page-builder'), 'id' => 'css_res_t_excerpt_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-excerpt', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Excerpt - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_t_excerpt_margin_bottom', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-excerpt', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Button - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_t_button_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Button - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_t_button_margin_bottom', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Button - Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_res_t_button_padding_vertical', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Button Icon - Margin Right', 'live-composer-page-builder'), 'id' => 'css_res_t_button_icon_margin', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a .dslc-icon', 'affect_on_change_rule' => 'margin-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('tablet', 'live-composer-page-builder')), array('label' => __('Count - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_t_count_font_size', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-info', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Responsive Styling', 'live-composer-page-builder'), 'id' => 'css_res_p', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'live-composer-page-builder'), 'value' => 'disabled'), array('label' => __('Enabled', 'live-composer-page-builder'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_p_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-downloads', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Separator - Height', 'live-composer-page-builder'), 'id' => 'css_res_p_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 1, 'max' => 300, 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Thumbnail - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_p_thumbnail_margin_bottom', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Thumbnail - Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_res_p_thumbnail_padding_vertical', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-thumb-inner', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Thumbnail - Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_res_p_thumbnail_padding_horizontal', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-thumb-inner', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Main - Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_res_p_main_padding_vertical', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Main - Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_res_p_main_padding_horizontal', 'std' => '34', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Title - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_p_title_font_size', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-title h2,.dslc-download-title h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Title - Line Height', 'live-composer-page-builder'), 'id' => 'css_res_p_title_line_height', 'std' => '26', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-title h2,.dslc-download-title h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Title - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_p_title_margin', 'std' => '20', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Tags - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_p_tags_font_size', 'std' => '11', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-tags', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Tags - Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_res_p_tags_padding_vertical', 'std' => '11', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-tags', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Excerpt - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_p_excerpt_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Excerpt - Line Height', 'live-composer-page-builder'), 'id' => 'css_res_p_excerpt_line_height', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-excerpt', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Excerpt - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_p_excerpt_margin_bottom', 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-excerpt', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Button - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_p_button_font_size', 'std' => '13', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Button - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_p_button_margin_bottom', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Button - Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_res_p_button_padding_vertical', 'std' => '15', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Button Icon - Margin Right', 'live-composer-page-builder'), 'id' => 'css_res_p_button_icon_margin', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-download a .dslc-icon', 'affect_on_change_rule' => 'margin-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('phone', 'live-composer-page-builder')), array('label' => __('Count - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_p_count_font_size', 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-download-info', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('phone', 'live-composer-page-builder'), 'ext' => 'px'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('heading_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('filters_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_arrows_options'));
        $dslc_options = array_merge($dslc_options, $this->shared_options('carousel_circles_options'));
Example #15
0
<?php

// Prevent direct access to the file.
if (!defined('ABSPATH')) {
    header('HTTP/1.0 403 Forbidden');
    exit;
}
if (dslc_is_module_active('DSLC_Partners')) {
    include DS_LIVE_COMPOSER_ABS . '/modules/partners/functions.php';
}
class DSLC_Partners extends DSLC_Module
{
    var $module_id;
    var $module_title;
    var $module_icon;
    var $module_category;
    function __construct()
    {
        $this->module_id = 'DSLC_Partners';
        $this->module_title = __('Partners', 'live-composer-page-builder');
        $this->module_icon = 'user-secret';
        $this->module_category = 'Post-Based';
    }
    function options()
    {
        $cats = get_terms('dslc_partners_cats');
        $cats_choices = array();
        foreach ($cats as $cat) {
            $cats_choices[] = array('label' => $cat->name, 'value' => $cat->slug);
        }
        $dslc_options = array(array('label' => __('Show On', 'live-composer-page-builder'), 'id' => 'css_show_on', 'std' => 'desktop tablet phone', 'type' => 'checkbox', 'choices' => array(array('label' => __('Desktop', 'live-composer-page-builder'), 'value' => 'desktop'), array('label' => __('Tablet', 'live-composer-page-builder'), 'value' => 'tablet'), array('label' => __('Phone', 'live-composer-page-builder'), 'value' => 'phone'))), array('label' => __('Link', 'live-composer-page-builder'), 'id' => 'link', 'std' => 'enabled', 'type' => 'select', 'choices' => array(array('label' => __('Link to partner page', 'live-composer-page-builder'), 'value' => 'enabled'), array('label' => __('Do NOT link to partner page', 'live-composer-page-builder'), 'value' => 'disabled'))), array('label' => __('Type', 'live-composer-page-builder'), 'id' => 'type', 'std' => 'grid', 'type' => 'select', 'choices' => array(array('label' => __('Grid', 'live-composer-page-builder'), 'value' => 'grid'), array('label' => __('Masonry Grid', 'live-composer-page-builder'), 'value' => 'masonry'), array('label' => __('Carousel', 'live-composer-page-builder'), 'value' => 'carousel'))), array('label' => __('Orientation', 'live-composer-page-builder'), 'id' => 'orientation', 'std' => 'vertical', 'type' => 'select', 'choices' => array(array('label' => __('Vertical', 'live-composer-page-builder'), 'value' => 'vertical'), array('label' => __('Horizontal', 'live-composer-page-builder'), 'value' => 'horizontal'))), array('label' => __('Posts Per Page', 'live-composer-page-builder'), 'id' => 'amount', 'std' => '4', 'type' => 'text'), array('label' => __('Pagination', 'live-composer-page-builder'), 'id' => 'pagination_type', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'live-composer-page-builder'), 'value' => 'disabled'), array('label' => __('Numbered', 'live-composer-page-builder'), 'value' => 'numbered'), array('label' => __('Prev/Next', 'live-composer-page-builder'), 'value' => 'prevnext'), array('label' => __('Load More', 'live-composer-page-builder'), 'value' => 'loadmore'))), array('label' => __('Posts Per Row', 'live-composer-page-builder'), 'id' => 'columns', 'std' => '3', 'type' => 'select', 'choices' => $this->shared_options('posts_per_row_choices')), array('label' => __('Categories', 'live-composer-page-builder'), 'id' => 'categories', 'std' => '', 'type' => 'checkbox', 'choices' => $cats_choices), array('label' => __('Categories Operator', 'live-composer-page-builder'), 'id' => 'categories_operator', 'std' => 'IN', 'help' => __('<strong>IN</strong> - Posts must be in at least one chosen category.<br><strong>AND</strong> - Posts must be in all chosen categories.<br><strong>NOT IN</strong> Posts must not be in the chosen categories.', 'live-composer-page-builder'), 'type' => 'select', 'choices' => array(array('label' => __('IN', 'live-composer-page-builder'), 'value' => 'IN'), array('label' => __('AND', 'live-composer-page-builder'), 'value' => 'AND'), array('label' => __('NOT IN', 'live-composer-page-builder'), 'value' => 'NOT IN'))), array('label' => __('Order By', 'live-composer-page-builder'), 'id' => 'orderby', 'std' => 'date', 'type' => 'select', 'choices' => array(array('label' => __('Publish Date', 'live-composer-page-builder'), 'value' => 'date'), array('label' => __('Modified Date', 'live-composer-page-builder'), 'value' => 'modified'), array('label' => __('Random', 'live-composer-page-builder'), 'value' => 'rand'), array('label' => __('Alphabetic', 'live-composer-page-builder'), 'value' => 'title'), array('label' => __('Comment Count', 'live-composer-page-builder'), 'value' => 'comment_count'))), array('label' => __('Order', 'live-composer-page-builder'), 'id' => 'order', 'std' => 'DESC', 'type' => 'select', 'choices' => array(array('label' => __('Ascending', 'live-composer-page-builder'), 'value' => 'ASC'), array('label' => __('Descending', 'live-composer-page-builder'), 'value' => 'DESC'))), array('label' => __('Offset', 'live-composer-page-builder'), 'id' => 'offset', 'std' => '0', 'type' => 'text'), array('label' => __('Include (IDs)', 'live-composer-page-builder'), 'id' => 'query_post_in', 'std' => '', 'type' => 'text'), array('label' => __('Exclude (IDs)', 'live-composer-page-builder'), 'id' => 'query_post_not_in', 'std' => '', 'type' => 'text'), array('label' => __('Elements', 'live-composer-page-builder'), 'id' => 'elements', 'std' => '', 'type' => 'checkbox', 'choices' => array(array('label' => __('Heading', 'live-composer-page-builder'), 'value' => 'main_heading'), array('label' => __('Filters', 'live-composer-page-builder'), 'value' => 'filters')), 'section' => 'styling'), array('label' => __('Post Elements', 'live-composer-page-builder'), 'id' => 'post_elements', 'std' => 'thumbnail title excerpt', 'type' => 'checkbox', 'choices' => array(array('label' => __('Thumbnail', 'live-composer-page-builder'), 'value' => 'thumbnail'), array('label' => __('Title', 'live-composer-page-builder'), 'value' => 'title'), array('label' => __('Excerpt', 'live-composer-page-builder'), 'value' => 'excerpt')), 'section' => 'styling'), array('label' => __('Carousel Elements', 'live-composer-page-builder'), 'id' => 'carousel_elements', 'std' => 'arrows circles', 'type' => 'checkbox', 'choices' => array(array('label' => __('Arrows', 'live-composer-page-builder'), 'value' => 'arrows'), array('label' => __('Circles', 'live-composer-page-builder'), 'value' => 'circles')), 'section' => 'styling'), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_margin_bottom', 'min' => -1000, 'max' => 1000, 'increment' => 1, 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partners', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px'), array('label' => __('Minimum Height', 'live-composer-page-builder'), 'id' => 'css_min_height', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partners', 'affect_on_change_rule' => 'min-height', 'section' => 'styling', 'ext' => 'px', 'min' => 0, 'max' => 2000, 'increment' => 5), array('label' => __('Enable/Disable', 'live-composer-page-builder'), 'id' => 'separator_enabled', 'std' => 'enabled', 'type' => 'select', 'choices' => array(array('label' => __('Enabled', 'live-composer-page-builder'), 'value' => 'enabled'), array('label' => __('Disabled', 'live-composer-page-builder'), 'value' => 'disabled')), 'section' => 'styling', 'tab' => __('Row Separator', 'live-composer-page-builder')), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_sep_border_color', 'std' => '#ededed', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Row Separator', 'live-composer-page-builder')), array('label' => __('Height', 'live-composer-page-builder'), 'id' => 'css_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 0, 'max' => 300, 'section' => 'styling', 'tab' => __('Row Separator', 'live-composer-page-builder')), array('label' => __('Thickness', 'live-composer-page-builder'), 'id' => 'css_sep_thickness', 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-bottom-width', 'ext' => 'px', 'min' => 0, 'max' => 50, 'section' => 'styling', 'tab' => __('Row Separator', 'live-composer-page-builder')), array('label' => __('Style', 'live-composer-page-builder'), 'id' => 'css_sep_style', 'std' => 'dashed', 'type' => 'select', 'choices' => array(array('label' => __('Invisible', 'live-composer-page-builder'), 'value' => 'none'), array('label' => __('Solid', 'live-composer-page-builder'), 'value' => 'solid'), array('label' => __('Dashed', 'live-composer-page-builder'), 'value' => 'dashed'), array('label' => __('Dotted', 'live-composer-page-builder'), 'value' => 'dotted')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Row Separator', 'live-composer-page-builder')), array('label' => __('Align', 'live-composer-page-builder'), 'id' => 'css_thumb_align', 'std' => 'left', 'type' => 'text_align', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-thumb', 'affect_on_change_rule' => 'text-align', 'section' => 'styling', 'tab' => __('Thumbnail', 'live-composer-page-builder')), array('label' => __('BG Color', 'live-composer-page-builder'), 'id' => 'css_thumbnail_bg_color', 'std' => '#ffffff', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-thumb', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Thumbnail', 'live-composer-page-builder')), array('label' => __('Border Color', 'live-composer-page-builder'), 'id' => 'css_thumbnail_border_color', 'std' => '#ebebeb', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-thumb', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Thumbnail', 'live-composer-page-builder')), array('label' => __('Border Width', 'live-composer-page-builder'), 'id' => 'css_thumbnail_border_width', 'min' => 0, 'max' => 10, 'increment' => 1, 'std' => '1', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-thumb', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'live-composer-page-builder')), array('label' => __('Borders', 'live-composer-page-builder'), 'id' => 'css_thumbnail_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'live-composer-page-builder'), 'value' => 'top'), array('label' => __('Right', 'live-composer-page-builder'), 'value' => 'right'), array('label' => __('Bottom', 'live-composer-page-builder'), 'value' => 'bottom'), array('label' => __('Left', 'live-composer-page-builder'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-thumb', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Thumbnail', 'live-composer-page-builder')), array('label' => __('Border Radius - Top', 'live-composer-page-builder'), 'id' => 'css_thumbnail_border_radius_top', 'min' => 0, 'max' => 100, 'increment' => 1, 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-thumb', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'min' => 0, 'max' => 100, 'increment' => 1, 'section' => 'styling', 'tab' => __('Thumbnail', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'live-composer-page-builder'), 'id' => 'css_thumbnail_border_radius_bottom', 'min' => 0, 'max' => 100, 'increment' => 1, 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-thumb', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'min' => 0, 'max' => 100, 'increment' => 1, 'section' => 'styling', 'tab' => __('Thumbnail', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_thumbnail_margin_bottom', 'min' => -1000, 'max' => 1000, 'increment' => 1, 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'live-composer-page-builder')), array('label' => __('Minimum Height', 'live-composer-page-builder'), 'id' => 'css_thumbnail_min_height', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-thumb', 'affect_on_change_rule' => 'min-height', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'live-composer-page-builder'), 'min' => 0, 'max' => 500), array('label' => __('Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_thumbnail_padding_vertical', 'min' => 0, 'max' => 600, 'increment' => 1, 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-thumb', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Thumbnail', 'live-composer-page-builder')), array('label' => __('Resize - Height', 'live-composer-page-builder'), 'id' => 'thumb_resize_height', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('Thumbnail', 'live-composer-page-builder')), array('label' => __('Resize - Width', 'live-composer-page-builder'), 'id' => 'thumb_resize_width_manual', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('Thumbnail', 'live-composer-page-builder')), array('label' => __('Resize - Width', 'live-composer-page-builder'), 'id' => 'thumb_resize_width', 'std' => '', 'type' => 'text', 'section' => 'styling', 'tab' => __('Thumbnail', 'live-composer-page-builder'), 'visibility' => 'hidden'), array('label' => __('Width', 'live-composer-page-builder'), 'id' => 'thumb_width', 'std' => '100', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-thumb', 'affect_on_change_rule' => 'width', 'section' => 'styling', 'tab' => __('Thumbnail', 'live-composer-page-builder'), 'min' => 1, 'max' => 100, 'ext' => '%'), array('label' => __('Location', 'live-composer-page-builder'), 'id' => 'main_location', 'std' => 'bellow', 'type' => 'select', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder'), 'choices' => array(array('label' => __('Bellow Thumbnail', 'live-composer-page-builder'), 'value' => 'bellow'), array('label' => __('Inside Thumbnail ( hover )', 'live-composer-page-builder'), 'value' => 'inside'), array('label' => __('Inside Thumbnail ( always visible )', 'live-composer-page-builder'), 'value' => 'inside_visible'))), array('label' => __('BG Color', 'live-composer-page-builder'), 'id' => 'css_main_bg_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-main', 'affect_on_change_rule' => 'background-color', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Border Color', 'live-composer-page-builder'), 'id' => 'css_main_border_color', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-main', 'affect_on_change_rule' => 'border-color', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Border Width', 'live-composer-page-builder'), 'id' => 'css_main_border_width', 'min' => 0, 'max' => 10, 'increment' => 1, 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-main', 'affect_on_change_rule' => 'border-width', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Borders', 'live-composer-page-builder'), 'id' => 'css_main_border_trbl', 'std' => 'top right bottom left', 'type' => 'checkbox', 'choices' => array(array('label' => __('Top', 'live-composer-page-builder'), 'value' => 'top'), array('label' => __('Right', 'live-composer-page-builder'), 'value' => 'right'), array('label' => __('Bottom', 'live-composer-page-builder'), 'value' => 'bottom'), array('label' => __('Left', 'live-composer-page-builder'), 'value' => 'left')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-main', 'affect_on_change_rule' => 'border-style', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Border Radius - Top', 'live-composer-page-builder'), 'id' => 'css_main_border_radius_top', 'min' => 0, 'max' => 100, 'increment' => 1, 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-main', 'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius', 'min' => 0, 'max' => 100, 'increment' => 1, 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Border Radius - Bottom', 'live-composer-page-builder'), 'id' => 'css_main_border_radius_bottom', 'min' => 0, 'max' => 100, 'increment' => 1, 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-main', 'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius', 'min' => 0, 'max' => 100, 'increment' => 1, 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Minimum Height', 'live-composer-page-builder'), 'id' => 'css_main_min_height', 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-main', 'affect_on_change_rule' => 'min-height', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'live-composer-page-builder'), 'min' => 0, 'max' => 500), array('label' => __('Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_main_padding_vertical', 'min' => 0, 'max' => 600, 'increment' => 1, 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_main_padding_horizontal', 'min' => 0, 'max' => 1000, 'increment' => 1, 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Text Align', 'live-composer-page-builder'), 'id' => 'css_main_text_align', 'std' => 'left', 'type' => 'text_align', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-main', 'affect_on_change_rule' => 'text-align', 'section' => 'styling', 'tab' => __('Main', 'live-composer-page-builder')), array('label' => __('Position', 'live-composer-page-builder'), 'id' => 'main_position', 'std' => 'center', 'type' => 'select', 'section' => 'styling', 'tab' => __('Main Inner', 'live-composer-page-builder'), 'choices' => array(array('label' => __('Top Left', 'live-composer-page-builder'), 'value' => 'topleft'), array('label' => __('Top Right', 'live-composer-page-builder'), 'value' => 'topright'), array('label' => __('Center', 'live-composer-page-builder'), 'value' => 'center'), array('label' => __('Bottom Left', 'live-composer-page-builder'), 'value' => 'bottomleft'), array('label' => __('Bottom Right', 'live-composer-page-builder'), 'value' => 'bottomright'))), array('label' => __('Margin', 'live-composer-page-builder'), 'id' => 'css_main_inner_margin', 'min' => -1000, 'max' => 1000, 'increment' => 1, 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-main-inner', 'affect_on_change_rule' => 'margin', 'section' => 'styling', 'ext' => 'px', 'tab' => __('Main Inner', 'live-composer-page-builder')), array('label' => __('Width', 'live-composer-page-builder'), 'id' => 'css_main_inner_width', 'std' => '100', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-main-inner', 'affect_on_change_rule' => 'width', 'section' => 'styling', 'ext' => '%', 'tab' => __('Main Inner', 'live-composer-page-builder')), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_title_color', 'std' => '#222222', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-title h2 a,.dslc-partner-title h2 a', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder')), array('label' => __('Color - Hover', 'live-composer-page-builder'), 'id' => 'css_title_color_hover', 'std' => '', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-title h2:hover a,.dslc-partner-title h2 a:hover', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder')), array('label' => __('Font Size', 'live-composer-page-builder'), 'id' => 'css_title_font_size', 'min' => 0, 'max' => 100, 'increment' => 1, 'std' => '14', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-title h2,.dslc-partner-title h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Font Weight', 'live-composer-page-builder'), 'id' => 'css_title_font_weight', 'std' => '700', 'type' => 'select', 'choices' => array(array('label' => '100 - Thin', 'value' => '100'), array('label' => '200 - Extra Light', 'value' => '200'), array('label' => '300 - Light', 'value' => '300'), array('label' => '400 - Normal', 'value' => '400'), array('label' => '500 - Medium', 'value' => '500'), array('label' => '600 - Semi Bold', 'value' => '600'), array('label' => '700 - Bold', 'value' => '700'), array('label' => '800 - Extra Bold', 'value' => '800'), array('label' => '900 - Black', 'value' => '900')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-title h2,.dslc-partner-title h2 a', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder'), 'ext' => ''), array('label' => __('Font Family', 'live-composer-page-builder'), 'id' => 'css_title_font_family', 'std' => '', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-title h2,.dslc-partner-title h2 a', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder')), array('label' => __('Line Height', 'live-composer-page-builder'), 'id' => 'css_title_line_height', 'min' => 0, 'max' => 120, 'increment' => 1, 'std' => '14', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-title h2,.dslc-partner-title h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_title_margin_bottom', 'min' => -1000, 'max' => 1000, 'increment' => 1, 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Text Transform', 'live-composer-page-builder'), 'id' => 'css_title_text_transform', 'std' => 'none', 'type' => 'select', 'choices' => array(array('label' => __('None', 'live-composer-page-builder'), 'value' => 'none'), array('label' => __('Capitalize', 'live-composer-page-builder'), 'value' => 'capitalize'), array('label' => __('Uppercase', 'live-composer-page-builder'), 'value' => 'uppercase'), array('label' => __('Lowercase', 'live-composer-page-builder'), 'value' => 'lowercase')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-title h2', 'affect_on_change_rule' => 'text-transform', 'section' => 'styling', 'tab' => __('Title', 'live-composer-page-builder')), array('label' => __('Excerpt or Content', 'live-composer-page-builder'), 'id' => 'excerpt_or_content', 'std' => 'excerpt', 'type' => 'select', 'choices' => array(array('label' => __('Excerpt', 'live-composer-page-builder'), 'value' => 'excerpt'), array('label' => __('Content', 'live-composer-page-builder'), 'value' => 'content')), 'section' => 'styling', 'tab' => __('Excerpt', 'live-composer-page-builder')), array('label' => __('Color', 'live-composer-page-builder'), 'id' => 'css_excerpt_color', 'std' => '#9e9e9e', 'type' => 'color', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-excerpt', 'affect_on_change_rule' => 'color', 'section' => 'styling', 'tab' => __('Excerpt', 'live-composer-page-builder')), array('label' => __('Font Size', 'live-composer-page-builder'), 'id' => 'css_excerpt_font_size', 'min' => 0, 'max' => 100, 'increment' => 1, 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'styling', 'tab' => __('Excerpt', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Font Weight', 'live-composer-page-builder'), 'id' => 'css_excerpt_font_weight', 'std' => '400', 'type' => 'select', 'choices' => array(array('label' => '100 - Thin', 'value' => '100'), array('label' => '200 - Extra Light', 'value' => '200'), array('label' => '300 - Light', 'value' => '300'), array('label' => '400 - Normal', 'value' => '400'), array('label' => '500 - Medium', 'value' => '500'), array('label' => '600 - Semi Bold', 'value' => '600'), array('label' => '700 - Bold', 'value' => '700'), array('label' => '800 - Extra Bold', 'value' => '800'), array('label' => '900 - Black', 'value' => '900')), 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-excerpt', 'affect_on_change_rule' => 'font-weight', 'section' => 'styling', 'tab' => __('Excerpt', 'live-composer-page-builder'), 'ext' => ''), array('label' => __('Font Family', 'live-composer-page-builder'), 'id' => 'css_excerpt_font_family', 'std' => '', 'type' => 'font', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-excerpt', 'affect_on_change_rule' => 'font-family', 'section' => 'styling', 'tab' => __('Excerpt', 'live-composer-page-builder')), array('label' => __('Line Height', 'live-composer-page-builder'), 'id' => 'css_excerpt_line_height', 'min' => 0, 'max' => 120, 'increment' => 1, 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-excerpt', 'affect_on_change_rule' => 'line-height', 'section' => 'styling', 'tab' => __('Excerpt', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Max Length ( amount of words )', 'live-composer-page-builder'), 'id' => 'excerpt_length', 'std' => '20', 'type' => 'text', 'section' => 'styling', 'tab' => __('Excerpt', 'live-composer-page-builder')), array('label' => __('Responsive Styling', 'live-composer-page-builder'), 'id' => 'css_res_t', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'live-composer-page-builder'), 'value' => 'disabled'), array('label' => __('Enabled', 'live-composer-page-builder'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('Tablet', 'live-composer-page-builder')), array('label' => __('Separator - Height', 'live-composer-page-builder'), 'id' => 'css_res_t_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 1, 'max' => 300, 'section' => 'responsive', 'tab' => __('Tablet', 'live-composer-page-builder')), array('label' => __('Thumbnail - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_t_thumbnail_margin_bottom', 'min' => -1000, 'max' => 1000, 'increment' => 1, 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('Tablet', 'live-composer-page-builder')), array('label' => __('Thumbnail - Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_res_t_thumbnail_padding_vertical', 'min' => 0, 'max' => 600, 'increment' => 1, 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-thumb', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('Tablet', 'live-composer-page-builder')), array('label' => __('Main - Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_res_t_main_padding_vertical', 'min' => 0, 'max' => 600, 'increment' => 1, 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('Tablet', 'live-composer-page-builder')), array('label' => __('Main - Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_res_t_main_padding_horizontal', 'min' => 0, 'max' => 1000, 'increment' => 1, 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('Tablet', 'live-composer-page-builder')), array('label' => __('Title - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_t_title_font_size', 'min' => 0, 'max' => 100, 'increment' => 1, 'std' => '14', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-title h2,.dslc-partner-title h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('Tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Title - Line Height', 'live-composer-page-builder'), 'id' => 'css_res_t_title_line_height', 'min' => 0, 'max' => 120, 'increment' => 1, 'std' => '14', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-title h2,.dslc-partner-title h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('Tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Title - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_t_title_margin_bottom', 'min' => -1000, 'max' => 1000, 'increment' => 1, 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('Tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Excerpt - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_t_excerpt_font_size', 'min' => 0, 'max' => 100, 'increment' => 1, 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('Tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Excerpt - Line Height', 'live-composer-page-builder'), 'id' => 'css_res_t_excerpt_line_height', 'min' => 0, 'max' => 120, 'increment' => 1, 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-excerpt', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('Tablet', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Responsive Styling', 'live-composer-page-builder'), 'id' => 'css_res_p', 'std' => 'disabled', 'type' => 'select', 'choices' => array(array('label' => __('Disabled', 'live-composer-page-builder'), 'value' => 'disabled'), array('label' => __('Enabled', 'live-composer-page-builder'), 'value' => 'enabled')), 'section' => 'responsive', 'tab' => __('Phone', 'live-composer-page-builder')), array('label' => __('Separator - Height', 'live-composer-page-builder'), 'id' => 'css_res_p_sep_height', 'std' => '32', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-post-separator', 'affect_on_change_rule' => 'margin-bottom,padding-bottom', 'ext' => 'px', 'min' => 1, 'max' => 300, 'section' => 'responsive', 'tab' => __('Phone', 'live-composer-page-builder')), array('label' => __('Thumbnail - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_p_thumbnail_margin_bottom', 'min' => -1000, 'max' => 1000, 'increment' => 1, 'std' => '25', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-thumb', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('Phone', 'live-composer-page-builder')), array('label' => __('Thumbnail - Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_res_p_thumbnail_padding_vertical', 'min' => 0, 'max' => 600, 'increment' => 1, 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-thumb', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('Phone', 'live-composer-page-builder')), array('label' => __('Main - Padding Vertical', 'live-composer-page-builder'), 'id' => 'css_res_p_main_padding_vertical', 'min' => 0, 'max' => 600, 'increment' => 1, 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-main', 'affect_on_change_rule' => 'padding-top,padding-bottom', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('Phone', 'live-composer-page-builder')), array('label' => __('Main - Padding Horizontal', 'live-composer-page-builder'), 'id' => 'css_res_p_main_padding_horizontal', 'min' => 0, 'max' => 1000, 'increment' => 1, 'std' => '0', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-main', 'affect_on_change_rule' => 'padding-left,padding-right', 'section' => 'responsive', 'ext' => 'px', 'tab' => __('Phone', 'live-composer-page-builder')), array('label' => __('Title - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_p_title_font_size', 'min' => 0, 'max' => 100, 'increment' => 1, 'std' => '14', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-title h2,.dslc-partner-title h2 a', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('Phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Title - Line Height', 'live-composer-page-builder'), 'id' => 'css_res_p_title_line_height', 'min' => 0, 'max' => 120, 'increment' => 1, 'std' => '14', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-title h2,.dslc-partner-title h2 a', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('Phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Title - Margin Bottom', 'live-composer-page-builder'), 'id' => 'css_res_p_title_margin_bottom', 'min' => -1000, 'max' => 1000, 'increment' => 1, 'std' => '10', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-title', 'affect_on_change_rule' => 'margin-bottom', 'section' => 'responsive', 'tab' => __('Phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Excerpt - Font Size', 'live-composer-page-builder'), 'id' => 'css_res_p_excerpt_font_size', 'min' => 0, 'max' => 100, 'increment' => 1, 'std' => '12', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-excerpt', 'affect_on_change_rule' => 'font-size', 'section' => 'responsive', 'tab' => __('Phone', 'live-composer-page-builder'), 'ext' => 'px'), array('label' => __('Excerpt - Line Height', 'live-composer-page-builder'), 'id' => 'css_res_p_excerpt_line_height', 'min' => 0, 'max' => 120, 'increment' => 1, 'std' => '22', 'type' => 'slider', 'refresh_on_change' => false, 'affect_on_change_el' => '.dslc-partner-excerpt', 'affect_on_change_rule' => 'line-height', 'section' => 'responsive', 'tab' => __('Phone', 'live-composer-page-builder'), 'ext' => 'px'));