',
),
// options
array(
'type' => 'header',
'class' => 'hidden-header-builder',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'sticky',
'attr_id' => 'wrap_sticky_rwd',
'class' => 'hidden-header-builder mfn-hidden-nested-wrap',
'type' => 'switch',
'responsive' => true,
'title' => __('Sticky', 'mfn-opts'),
'desc' => __('Does not work with Move up and Parallax', 'mfn-opts'),
'options' => [
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
],
'std' => 0,
),
array(
'id' => 'sticky_offset',
'condition' => array( 'id' => 'wrap_sticky_rwd', 'opt' => 'is', 'val' => '1' ),
'type' => 'sliderbar',
'class' => 'hidden-header-builder mfn-hidden-nested-wrap',
'responsive' => true,
'title' => __('Sticky offset', 'mfn-opts'),
'desc' => __('Offset from top during scrolling', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '1000',
'step' => '1',
'unit' => '',
)
),
array(
'id' => 'info',
'class' => 'visible-header-builder mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check advanced tab for more customisation options.', 'mfn-opts'),
),
array(
'id' => 'type',
're_render' => true,
'attr_id' => 'wrap_type',
'class' => 'mfn-hidden-nested-wrap hidden-header-builder mfn-loop-switcher',
'type' => 'switch',
'title' => __('Type', 'mfn-opts'),
'desc' => __('Query loop displays wrap's content in designed loop', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'query' => __('Query loop', 'mfn-opts'),
),
'std' => ''
),
/* query type */
array(
'id' => 'query_type',
're_render' => true,
'attr_id' => 'query_type',
'class' => 'mfn-hidden-nested-wrap hidden-header-builder hidden-blog-builder hidden-portfolio-builder',
'condition' => array( 'id' => 'wrap_type', 'opt' => 'is', 'val' => 'query' ),
'type' => 'select',
'title' => __('Query type', 'mfn-opts'),
'options' => array(
'' => __('Select', 'mfn-opts'),
'posts' => __('Posts', 'mfn-opts'),
'terms' => __('Terms', 'mfn-opts')
),
'std' => ''
),
/* posts query builder */
array(
'id' => 'query_post_type',
're_render' => true,
'attr_id' => 'query_post_type',
'class' => 'mfn-hidden-nested-wrap hidden-header-builder hidden-blog-builder hidden-portfolio-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'posts' ),
'type' => 'select',
'title' => __('Post type', 'mfn-opts'),
'options' => array(
'' => __('- Select -', 'mfn-opts'),
'post' => __('Post', 'mfn-opts'),
'page' => __('Page', 'mfn-opts'),
'portfolio' => __('Portfolio', 'mfn-opts'),
'offer' => __('Offer', 'mfn-opts'),
'slide' => __('Slides', 'mfn-opts'),
'product' => __('Product', 'mfn-opts'),
'testimonial' => __('Testimonial', 'mfn-opts'),
),
'std' => 'post'
),
array(
'id' => 'query_post_type_product',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'product' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
//'hierarchical_options' => mfn_hierarchical_taxonomy('product_cat'),
'js_hierarchical_options' => 'product_cat',
'opt_append' => array(
'0-current' => 'Current'
),
'preview' => 'category',
),
array(
'id' => 'query_post_type_testimonial',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'testimonial' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
//'options' => mfn_get_categories('testimonial-types'),
'js_hierarchical_options' => 'testimonial_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_post',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'post' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term hidden-blog-builder hidden-portfolio-builder',
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
'opt_append' => array(
'0-current' => 'Current'
),
'preview' => 'category',
),
array(
'id' => 'query_post_type_portfolio',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'portfolio' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term hidden-blog-builder hidden-portfolio-builder',
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
'opt_append' => array(
'0-current' => 'Current'
),
'preview' => 'category',
),
array(
'id' => 'query_post_type_client',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'client' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('client-types'),
'js_hierarchical_options' => 'client_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_offer',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'offer' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('offer-types'),
'js_hierarchical_options' => 'offer_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_slide',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'slide' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories included', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('slide-types'),
'js_hierarchical_options' => 'slide_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_product_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'product' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'hierarchical_options' => mfn_hierarchical_taxonomy('product_cat'),
'js_hierarchical_options' => 'product_cat',
'opt_append' => array(
'0-current' => 'Current'
),
'preview' => 'category',
),
array(
'id' => 'query_post_type_testimonial_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'testimonial' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'options' => mfn_get_categories('testimonial-types'),
'js_hierarchical_options' => 'testimonial_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_post_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'post' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term hidden-blog-builder hidden-portfolio-builder',
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
'opt_append' => array(
'0-current' => 'Current'
),
'preview' => 'category',
),
array(
'id' => 'query_post_type_portfolio_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'portfolio' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term hidden-blog-builder hidden-portfolio-builder',
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
'opt_append' => array(
'0-current' => 'Current'
),
'preview' => 'category',
),
array(
'id' => 'query_post_type_client_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'client' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('client-types'),
'js_hierarchical_options' => 'client_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_offer_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'offer' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('offer-types'),
'js_hierarchical_options' => 'offer_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_slide_exclude',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'slide' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap mfn-reset-if-term',
'type' => 'multiselect',
'title' => __('Categories excluded', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('slide-types'),
'js_hierarchical_options' => 'slide_types',
'preview' => 'category',
),
array(
'id' => 'query_post_type_product_order',
'condition' => array( 'id' => 'query_post_type', 'opt' => 'is', 'val' => 'product' ),
're_render' => true,
'type' => 'select',
'class' => 'mfn-hidden-nested-wrap',
'desc' => __('This option turns off standard order settings', 'mfn-opts'),
'title' => __('Display', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'on_sale' => __('On sale', 'mfn-opts'),
'best_selling' => __('Best selling', 'mfn-opts'),
'top_rated' => __('Top rated', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'query_post_orderby',
're_render' => true,
'class' => 'mfn-hidden-nested-wrap hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'posts' ),
'type' => 'select',
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'ID' => __('ID', 'mfn-opts'),
'date' => __('Date', 'mfn-opts'),
'modified' => __('Modified', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Rand', 'mfn-opts'),
),
'std' => 'date'
),
array(
'id' => 'query_post_order',
're_render' => true,
'class' => 'mfn-hidden-nested-wrap hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'posts' ),
'type' => 'select',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC'
),
array(
'id' => 'query_post_per_page',
're_render' => true,
'class' => 'mfn-hidden-nested-wrap hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'posts' ),
'type' => 'text',
'title' => __('Limit', 'mfn-opts'),
'desc' => __('By default limit from Admin > Settings > Reading > Blog pages show at most', 'mfn-opts'),
'param' => 'number',
'preview' => 'number',
'std' => '0',
'js_std' => 'per_page',
),
array(
'id' => 'query_post_offset',
're_render' => true,
'class' => 'mfn-hidden-nested-wrap hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'posts' ),
'type' => 'text',
'title' => __('Offset', 'mfn-opts'),
'desc' => __('This option omits provided quantity of posts (from the beginning)', 'mfn-opts'),
'param' => 'number',
'preview' => 'number',
'std' => '0',
),
/*array(
'id' => 'query_post_pagination',
'attr_id' => 'query_post_pagination',
're_render' => true,
'class' => 'hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'posts' ),
'type' => 'select',
'title' => __('Pagination', 'mfn-opts'),
'options' => array(
'' => __('Hidden', 'mfn-opts'),
'numbers' => __('Numbers + links', 'mfn-opts'),
'dots' => __('Dots + links', 'mfn-opts'),
'prevnext' => __('Prev / Next links', 'mfn-opts'),
'loadmore' => __('Load more', 'mfn-opts'),
'infiniteload' => __('Infinite load', 'mfn-opts'),
),
'std' => ''
),*/
/* terms query builder */
array(
'id' => 'query_terms_taxonomy',
'attr_id' => 'query_terms_taxonomy',
're_render' => true,
'class' => 'mfn-hidden-nested-wrap hidden-header-builder',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'terms' ),
'type' => 'select',
'title' => __('Taxonomy', 'mfn-opts'),
'options' => array(
'' => __('- Select -', 'mfn-opts'),
'category' => __('Post category', 'mfn-opts'),
'post_tag' => __('Post tag', 'mfn-opts'),
'portfolio_types' => __('Portfolio category', 'mfn-opts'),
'offer_types' => __('Offer category', 'mfn-opts'),
'product_cat' => __('Product category', 'mfn-opts'),
'testimonial_types' => __('Testimonial category', 'mfn-opts'),
),
'std' => 'category'
),
array(
'id' => 'query_terms_excludes_post_tag',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'post_tag' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'options' => mfn_get_categories('post_tag'),
'js_hierarchical_options' => 'blog_tags',
),
array(
'id' => 'query_terms_excludes_client_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'client_types' ),
're_render' => true,
'class' => 'mfn-hidden-nested-wrap',
'type' => 'multiselect',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'options' => mfn_get_categories('client-types'),
'js_hierarchical_options' => 'client_types',
),
array(
'id' => 'query_terms_excludes_portfolio_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'portfolio_types' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
),
array(
'id' => 'query_terms_excludes_category',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'category' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
),
array(
'id' => 'query_terms_excludes_offer_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'offer_types' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'options' => mfn_get_categories('offer-types'),
'js_hierarchical_options' => 'offer_types',
),
array(
'id' => 'query_terms_excludes_testimonial_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'testimonial_types' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'options' => mfn_get_categories('testimonial-types'),
'js_hierarchical_options' => 'testimonial_types',
),
array(
'id' => 'query_terms_excludes_product_cat',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'product_cat' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Excludes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to exclude', 'mfn-opts'),
//'hierarchical_options' => mfn_hierarchical_taxonomy('product_cat'),
'js_hierarchical_options' => 'product_cat',
),
array(
'id' => 'query_terms_includes_post_tag',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'post_tag' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'options' => mfn_get_categories('post_tag'),
'js_hierarchical_options' => 'blog_tags',
),
array(
'id' => 'query_terms_includes_client_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'client_types' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'options' => mfn_get_categories('client-types'),
'js_hierarchical_options' => 'client_types',
),
array(
'id' => 'query_terms_includes_portfolio_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'portfolio_types' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
),
array(
'id' => 'query_terms_includes_category',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'category' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'hierarchical_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
),
array(
'id' => 'query_terms_includes_offer_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'offer_types' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'options' => mfn_get_categories('offer-types'),
'js_hierarchical_options' => 'offer_types',
),
array(
'id' => 'query_terms_includes_testimonial_types',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'testimonial_types' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'options' => mfn_get_categories('testimonial-types'),
'js_hierarchical_options' => 'testimonial_types',
),
array(
'id' => 'query_terms_includes_product_cat',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'product_cat' ),
're_render' => true,
'type' => 'multiselect',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Includes', 'mfn-opts'),
'desc' => __('IDs of taxonomies to include', 'mfn-opts'),
//'hierarchical_options' => mfn_hierarchical_taxonomy('product_cat'),
'js_hierarchical_options' => 'product_cat',
'opt_append' => array(
'0-current' => 'Current'
),
),
array(
'id' => 'query_terms_child_of_product_cat',
'condition' => array( 'id' => 'query_terms_taxonomy', 'opt' => 'is', 'val' => 'product_cat' ),
're_render' => true,
'type' => 'select',
'class' => 'mfn-hidden-nested-wrap',
'title' => __('Child of', 'mfn-opts'),
'js_hierarchical_options' => 'product_cat',
'opt_append' => array(
'0-current' => 'Current'
),
),
array(
'id' => 'query_terms_orderby',
're_render' => true,
'class' => 'hidden-header-builder mfn-hidden-nested-wrap',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'terms' ),
'type' => 'select',
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'term_order' => __('Term order', 'mfn-opts'),
'term_id' => __('ID', 'mfn-opts'),
'name' => __('Name', 'mfn-opts'),
'count' => __('Count', 'mfn-opts'),
),
'std' => 'ID'
),
array(
'id' => 'query_terms_order',
're_render' => true,
'class' => 'hidden-header-builder mfn-hidden-nested-wrap',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'terms' ),
'type' => 'select',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'ASC'
),
array(
'id' => 'query_terms_hide_empty',
'class' => 'hidden-header-builder mfn-hidden-nested-wrap',
're_render' => true,
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'terms' ),
'type' => 'select',
'title' => __('Hide empty', 'mfn-opts'),
'options' => array(
'' => __('False', 'mfn-opts'),
'1' => __('True', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'query_terms_number',
're_render' => true,
'class' => 'hidden-header-builder mfn-hidden-nested-wrap',
'condition' => array( 'id' => 'query_type', 'opt' => 'is', 'val' => 'terms' ),
'type' => 'text',
'title' => __('Limit', 'mfn-opts'),
'param' => 'number',
'preview' => 'number',
'std' => '0',
),
// deprecated
array(
'type' => 'header',
'class' => 'hidden-header-builder mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'bg_color',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
'alpha' => true,
),
array(
'id' => 'bg_image',
'class' => 'mfn-deprecated',
'type' => 'upload',
'title' => __('Background image', 'mfn-opts'),
'desc' => __('Recommended image width 320px - 1920px depending on size of the wrap', 'mfn-opts'),
),
array(
'id' => 'bg_position',
'class' => 'mfn-deprecated',
'type' => 'select',
'title' => __('Background position', 'mfn-opts'),
'desc' => __('iOS does not support background-position: fixed
For parallax required background image size is at least 1920px x 1080px', 'mfn-opts'),
'options' => mfna_bg_position(),
),
array(
'id' => 'bg_size',
'class' => 'mfn-deprecated',
'type' => 'select',
'title' => __('Background size', 'mfn-opts'),
'desc' => __('Does not work with position fixed or parallax', 'mfn-opts'),
'options' => mfna_bg_size(),
),
array(
'id' => 'move_up',
'class' => 'mfn-deprecated',
'type' => 'text',
'title' => __('Move up', 'mfn-opts'),
'desc' => __('Move this wrap to overflow on previous section. Does not work with parallax', 'mfn-opts'),
'after' => 'px',
),
array(
'id' => 'padding',
'class' => 'mfn-deprecated',
'type' => 'text',
'title' => __('Padding', 'mfn-opts'),
'desc' => __('Use value with px or %
Example: 20px or 20px 10px 20px 10px or 20px 1%', 'mfn-opts'),
),
array(
'id' => 'column_margin',
'class' => 'mfn-deprecated',
'type' => 'select',
'title' => __('Elements margin bottom', 'mfn-opts'),
'options' => array(
'' => __('- Default -', 'mfn-opts'),
'0px' => '0px',
'10px' => '10px',
'20px' => '20px',
'30px' => '30px',
'40px' => '40px',
'50px' => '50px',
),
),
array(
'id' => 'vertical_align',
'class' => 'mfn-deprecated',
'type' => 'select',
'title' => __('Elements vertical align', 'mfn-opts'),
'desc' => __('for Section style: Equal height of wraps', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'top' => __('Top', 'mfn-opts'),
'middle' => __('Middle', 'mfn-opts'),
'bottom' => __('Bottom', 'mfn-opts'),
),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Wrap classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'id' => 'style',
'type' => 'textarea',
'title' => __('Wrap inline CSS', 'mfn-opts'),
'desc' => __('Example: border: 1px solid #999;', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'helper',
'class' => 'mfn-deprecated',
'title' => __('Need help', 'mfn-opts'),
'link' => 'https://support.muffingroup.com/faq/what-deprecated-in-the-bebuilder-means/',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'html',
'html' => '',
),
array(
'id' => 'layout',
'type' => 'select',
'title' => __('Your order', 'mfn-opts'),
'options' => [
'' => __('On the right', 'mfn-opts'),
'default' => __('Bottom', 'mfn-opts'),
],
'std' => '',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'title' => __('Labels', 'mfn-opts'),
),
array(
'id' => 'update_cart_label',
'type' => 'text',
'title' => __('Update cart button label', 'mfn-opts'),
'placeholder' => __('Update cart', 'woocommerce'),
),
array(
'id' => 'coupon_code_placeholder',
'type' => 'text',
'title' => __('Coupon code placeholder', 'mfn-opts'),
'placeholder' => __('Coupon code', 'woocommerce'),
),
array(
'id' => 'apply_coupon_label',
'edit_tag' => 'td.actions .coupons | button.button',
'edit_position' => 'append',
'type' => 'text',
'title' => __('Apply coupon button label', 'mfn-opts'),
'placeholder' => __('Apply coupon', 'woocommerce'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'title' => __('Labels', 'mfn-opts'),
),
array(
'id' => 'cart_totals_heading',
'edit_tag' => '.cart_totals | h4',
'edit_position' => 'prepend',
'type' => 'text',
'title' => __('Cart totals heading', 'mfn-opts'),
'placeholder' => __('Cart totals', 'woocommerce'),
),
array(
'id' => 'proceed_checkout_label',
'edit_tag' => 'td.actions .coupons | button.button',
'edit_position' => 'append',
'type' => 'text',
'title' => __('Proceed to checkout button label', 'mfn-opts'),
'placeholder' => __('Proceed to checkout', 'woocommerce'),
),
array(
'id' => 'continue_shopping_string',
'edit_tag' => '.cart_totals | a.mfn-woo-cart-link',
'edit_position' => 'append',
'type' => 'text',
'title' => __('Continue shopping link title', 'mfn-opts'),
'placeholder' => __('Continue shopping', 'woocommerce'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'title' => __('Heading', 'mfn-opts'),
),
array(
'id' => 'heading',
'edit_tag' => '.mfn-cross-sells | .heading',
'edit_position' => 'prepend',
'type' => 'text',
'title' => __('Heading', 'mfn-opts'),
'placeholder' => __('You may be interested in…', 'woocommerce'),
),
array(
'id' => 'heading_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Heading tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h3',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'columns',
'type' => 'text',
're_render' => true,
'title' => __('Columns', 'mfn-opts'),
'std' => '4',
'after' => 'columns',
'param' => 'number',
'class' => 'narrow',
),
array(
'id' => 'products',
'type' => 'text',
're_render' => true,
'title' => __('Limit', 'mfn-opts'),
'std' => '4',
'after' => 'products',
'param' => 'number',
'class' => 'narrow',
),
array(
'id' => 'button',
'type' => 'switch',
're_render' => true,
'title' => __('Add to cart button', 'mfn-opts'),
'desc' => __('Required for some plugins', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '0',
),
array(
'id' => 'description',
'type' => 'switch',
're_render' => true,
'title' => __('Description', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '0'
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => [
'h1' => 'H1',
'h2' => 'H2',
'h3' => 'H3',
'h4' => 'H4',
'h5' => 'H5',
'h6' => 'H6',
'p' => 'p',
'span' => 'span',
],
'std' => 'h2',
),
array(
'type' => 'header',
'title' => __('Order', 'mfn-opts'),
),
array(
'id' => 'order',
'type' => 'order',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'std' => 'image,title,price,description,button',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'title' => __('Labels', 'mfn-opts'),
),
array(
'id' => 'cart_label',
'type' => 'text',
'edit_tag' => '.mfn-checkout-step-cart | span.mfn-step-label',
'edit_position' => 'append',
'title' => __('Cart label', 'mfn-opts'),
'placeholder' => __('Cart', 'woocommerce'),
),
array(
'id' => 'checkout_label',
'type' => 'text',
'edit_tag' => '.mfn-checkout-step-checkout | span.mfn-step-label',
'edit_position' => 'append',
'title' => __('Checkout label', 'mfn-opts'),
'placeholder' => __('Checkout', 'woocommerce'),
),
array(
'id' => 'order_label',
'type' => 'text',
'edit_tag' => '.mfn-checkout-step-order | span.mfn-step-label',
'edit_position' => 'append',
'title' => __('Order label', 'mfn-opts'),
'placeholder' => __('Order', 'woocommerce'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check advanced tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check advanced tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Single Post Content ----------------------------------------------------
'post_content' => array(
'type' => 'post_content',
'title' => __('Post content', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-post',
'attr' => array(
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'title' => __('Content', 'mfn-opts'),
),
array(
'id' => 'content',
're_render' => true,
'type' => 'select',
'title' => __('Source', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'mfn' => __('BeBuilder', 'mfn-opts'),
),
'std' => '',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check advanced tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Menu ----------------------------------------------------
'sidemenu_menu' => array(
'type' => 'sidemenu_menu',
'title' => __('Menu', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'sidemenu',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'title' => __('Menu', 'mfn-opts'),
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Menu', 'mfn-opts'),
'desc' => __('Add multiple menus easily in tabs. You can add one menu in single tab as well.', 'mfn-opts'),
'options' => [
'title' => [
'input',
__('Title', 'mfn-opts'),
__('Menu title', 'mfn-opts'),
],
'menu' => [
'select',
__('Menu to display', 'mfn-opts'),
'',
'menus',
],
],
'std' => [
0 => [
'title' => __('Menu 1', 'mfn-opts'),
'menu' => '',
]
],
'preview' => 'tabs',
'primary' => 'title', // default
),
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu a .menu-icon:display',
'id' => 'css_sidemenu-menu-a-icon_display',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu a .menu-icon',
'css_style' => 'display',
'attr_id' => 'icon_sm_visibility',
'type' => 'switch',
'title' => __('Icon visibility', 'mfn-opts'),
'options' => array(
'block' => 'Show',
'none' => 'Hide',
),
'std' => 'block',
),
array(
'type' => 'header',
'title' => __('Submenu', 'mfn-opts'),
),
array(
'id' => 'submenu',
'attr_id' => 'submenu',
're_render' => true,
'type' => 'switch',
'title' => __('Submenu', 'mfn-opts'),
'options' => array(
'on' => 'Show',
'off' => 'Hide',
),
'std' => 'on',
),
array(
'id' => 'submenu_on',
'attr_id' => 'submenu_on',
'condition' => array( 'id' => 'submenu', 'opt' => 'is', 'val' => 'on' ),
're_render' => true,
'type' => 'select',
'title' => __('Submenu visibility', 'mfn-opts'),
'options' => array(
'visible' => 'Visible',
'toggled' => 'Toggled',
'replace' => 'Replace current',
),
'std' => 'visible',
),
array(
'id' => 'submenu_icon_display',
'condition' => array( 'id' => 'submenu', 'opt' => 'is', 'val' => 'on' ),
're_render' => true,
'type' => 'switch',
'title' => __('Submenu icon visibility', 'mfn-opts'),
'options' => array(
'on' => 'Show',
'off' => 'Hide',
),
'std' => 'on',
),
array(
'id' => 'submenu_icon',
'condition' => array( 'id' => 'submenu', 'opt' => 'is', 'val' => 'on' ),
'type' => 'icon',
'title' => __('Submenu icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'fas fa-arrow-down'
),
array(
'id' => 'submenu_icon_animation',
'type' => 'select',
'condition' => array( 'id' => 'submenu', 'opt' => 'is', 'val' => 'on' ),
'title' => __('Icon Animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'rotate' => 'Rotate',
'zoom' => 'Zoom'
),
),
array(
'type' => 'header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu a .menu-desc:display',
'id' => 'css_sidemenu-menu-a-desc_display',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-sidemenu-menu a .menu-desc',
'css_style' => 'display',
'type' => 'switch',
'title' => __('Desc visibility', 'mfn-opts'),
'options' => array(
'block' => 'Show',
'none' => 'Hide',
),
'std' => 'block',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'label',
'edit_tag' => '.exit-mfn-popup | span.button_label',
'edit_position' => 'append',
'type' => 'text',
'title' => __('Label', 'mfn-opts'),
'std' => __('Close popup', 'mfn-opts'),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'icon-cancel'
),
array(
'id' => 'image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Overrides icon', 'mfn-opts'),
'preview' => 'image',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'class' => 'toggled_header row-header',
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:text-align',
'id' => 'css_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'css_style' => 'text-align',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'left' => 'Left',
'center' => 'Center',
'right' => 'Right',
),
'std' => 'left',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup:padding',
'id' => 'css_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup:--mfn-exitbutton-item-size',
'id' => 'css_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup',
'css_style' => '--mfn-exitbutton-item-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup:border-style',
'id' => 'css_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup',
'css_style' => 'border-style',
'attr_id' => 'border_exit_popup',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup:border-width',
'id' => 'css_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_exit_popup', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup:border-radius',
'id' => 'css_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner a.exit-mfn-popup',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
// advanced here
),
),
// Footer Logo ----------------------------------------------------
'footer_logo' => array(
'type' => 'footer_logo',
'title' => __('Logo', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'footer',
'attr' => array(
array(
'type' => 'html',
'html' => '',
),
array(
'id' => 'image',
'type' => 'upload',
'title' => __('Logo', 'mfn-opts'),
'desc' => __('Recommended svg', 'mfn-opts'),
'std' => mfn_opts_get('logo-img') ? mfn_opts_get('logo-img') : $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
'std' => '/',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info',
'type' => 'info',
'class' => 'mfn-alert',
'title' => __('This element has no attributes. Please check advanced tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
// advanced here
),
),
// Footer Menu ----------------------------------------------------
'footer_menu' => array(
'type' => 'footer_menu',
'title' => __('Menu', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'footer',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'title' => __('Menu', 'mfn-opts'),
),
array(
'id' => 'menu_display',
'type' => 'select',
're_render' => true,
'title' => __('Menu to display', 'mfn-opts'),
//'options' => mfna_menu(),
'js_options' => 'menus',
),
array(
'id' => 'menu_style',
'attr_id' => 'menu_style',
'type' => 'select',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'vertical' => __('Vertical', 'mfn-opts'),
'horizontal' => __('Horizontal', 'mfn-opts'),
),
'std' => 'vertical'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner ul.mfn-footer-menu-style-vertical:text-align',
'id' => 'css_mcb-column-innerul-footer-menu--vertical_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner ul.mfn-footer-menu-style-vertical',
'css_style' => 'text-align',
'condition' => array( 'id' => 'menu_style', 'opt' => 'is', 'val' => 'vertical' ),
'attr_id' => 'menu-items-alignment',
'type' => 'select',
'responsive' => true,
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => 'Left',
'center' => 'Center',
'right' => 'Right',
),
'std' => 'center',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner ul.mfn-footer-menu-style-horizontal:justify-content',
'id' => 'css_mcb-column-innerul-footer-menu--horizontal_justify_content',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner ul.mfn-footer-menu-style-horizontal',
'css_style' => 'justify-content',
'condition' => array( 'id' => 'menu_style', 'opt' => 'is', 'val' => 'horizontal' ),
'attr_id' => 'menu-items-alignment',
'type' => 'select',
'responsive' => true,
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'flex-start' => 'Left',
'center' => 'Center',
'flex-end' => 'Right',
'space-between' => 'Space between',
'space-around' => 'Space around',
'space-evenly' => 'Space evenly',
),
'std' => 'center',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'title' => __('Menu', 'mfn-opts'),
),
array(
'id' => 'menu_display',
'type' => 'select',
're_render' => true,
'title' => __('Menu to display', 'mfn-opts'),
//'options' => mfna_menu(),
'js_options' => 'menus',
),
array(
'id' => 'menu_style',
'attr_id' => 'menu_style',
'type' => 'select',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'vertical' => __('Vertical', 'mfn-opts'),
'horizontal' => __('Horizontal', 'mfn-opts'),
),
'std' => 'vertical'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu.mfn-mm-menu-horizontal:justify-content',
'id' => 'css_megamenu-menu-mm-menu-horizontal_justify_content',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu.mfn-mm-menu-horizontal',
'css_style' => 'justify-content',
'attr_id' => 'menu-items-alignment',
'condition' => array( 'id' => 'menu_style', 'opt' => 'is', 'val' => 'horizontal' ),
'type' => 'select',
'responsive' => true,
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'flex-start' => 'Left',
'center' => 'Center',
'flex-end' => 'Right',
'space-between' => 'Space between',
'space-around' => 'Space around',
'space-evenly' => 'Space evenly',
),
'std' => 'flex-start',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu.mfn-mm-menu-horizontal > li:flex-grow',
'id' => 'css_megamenu-menu-mm-menu-horizontalli_flex_grow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu.mfn-mm-menu-horizontal > li',
'css_style' => 'flex-grow',
'condition' => array( 'id' => 'menu_style', 'opt' => 'is', 'val' => 'horizontal' ),
'type' => 'select',
'responsive' => true,
'title' => __('Fit container', 'mfn-opts'),
'options' => [
'unset' => __('Default', 'mfn-opts'),
'1' => __('Fit', 'mfn-opts'),
],
),
array(
'id' => 'submenu_on',
'attr_id' => 'submenu_on',
're_render' => true,
'condition' => array( 'id' => 'menu_style', 'opt' => 'is', 'val' => 'vertical' ),
'type' => 'switch',
'title' => __('Submenu visibility', 'mfn-opts'),
'options' => array(
'visible' => 'Visible',
'toggled' => 'Toggled',
),
'std' => 'visible',
),
array(
'id' => 'submenu_hori_on',
're_render' => true,
'condition' => array( 'id' => 'menu_style', 'opt' => 'is', 'val' => 'horizontal' ),
'type' => 'switch',
'title' => __('Submenu visibility', 'mfn-opts'),
'options' => array(
'hover' => 'on Hover',
'click' => 'on Click',
),
'std' => 'hover',
),
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a .menu-icon:display',
'id' => 'css_megamenu-icon_display',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a .menu-icon',
'css_style' => 'display',
'attr_id' => 'icon_mm_visibility',
'type' => 'switch',
'title' => __('Icon visibility', 'mfn-opts'),
'options' => array(
'block' => 'Show',
'none' => 'Hide',
),
'std' => 'block',
),
array(
'id' => 'icon_align',
//'condition' => array( 'id' => 'icon_mm_visibility', 'opt' => 'is', 'val' => 'block' ),
'type' => 'switch',
'title' => __('Icon align', 'mfn-opts'),
'options' => array(
'left' => 'Left',
'top' => 'Top',
'right' => 'Right'
),
'std' => 'left'
),
array(
'id' => 'icon_animation',
//'condition' => array( 'id' => 'icon_mm_visibility', 'opt' => 'is', 'val' => 'block' ),
'type' => 'select',
'title' => __('Icon animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'rotate' => 'Rotate',
'zoom' => 'Zoom'
),
),
array(
'type' => 'header',
'title' => __('Submenu', 'mfn-opts'),
),
array(
'id' => 'submenu',
'attr_id' => 'submenu',
're_render' => true,
'type' => 'switch',
'title' => __('Submenu', 'mfn-opts'),
'options' => array(
'on' => 'Show',
'off' => 'Hide',
),
'std' => 'on',
),
array(
'id' => 'submenu_animation',
'condition' => array( 'id' => 'submenu', 'opt' => 'is', 'val' => 'on' ),
'type' => 'select',
'title' => __('Submenu Animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'fade-in' => 'Fade In',
'fade-up' => 'Fade In Up'
),
),
array(
'id' => 'submenu_icon',
'condition' => array( 'id' => 'submenu', 'opt' => 'is', 'val' => 'on' ),
'type' => 'icon',
'title' => __('Submenu icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'fas fa-arrow-down'
),
array(
'id' => 'submenu_icon_animation',
'type' => 'select',
'condition' => array( 'id' => 'submenu', 'opt' => 'is', 'val' => 'on' ),
'title' => __('Icon Animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'rotate' => 'Rotate',
'zoom' => 'Zoom'
),
),
array(
'type' => 'header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a .menu-desc:display',
'id' => 'css_megamenu-desc_display',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-megamenu-menu a .menu-desc',
'css_style' => 'display',
'type' => 'switch',
'title' => __('Desc visibility', 'mfn-opts'),
'options' => array(
'block' => 'Show',
'none' => 'Hide',
),
'std' => 'block',
),
array(
'type' => 'header',
'title' => __('Decoration icon', 'mfn-opts'),
),
array(
'id' => 'decoration_icon',
'type' => 'icon',
'title' => __('Decoration icon', 'mfn-opts'),
'preview' => 'icon',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'image',
'type' => 'upload',
'dynamic_data' => 'featured_image',
'title' => __('Logo', 'mfn-opts'),
'desc' => __('Recommended svg', 'mfn-opts'),
'std' => mfn_opts_get('logo-img') ? mfn_opts_get('logo-img') : $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .logo-wrapper:align-items',
'id' => 'css_logo_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .logo-wrapper',
'css_style' => 'align-items',
'type' => 'switch',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Vertical align', 'mfn-opts'),
'options' => array(
'flex-start' => 'Top',
'center' => 'Center',
'flex-end' => 'Bottom',
),
'std' => 'center',
),
array(
'type' => 'html',
'html' => '
',
),
// advanced here
),
),
// Menu ----------------------------------------------------
'header_menu' => array(
'type' => 'header_menu',
'title' => __('Menu', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'header',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'title' => __('Menu', 'mfn-opts'),
),
array(
'id' => 'menu_display',
'type' => 'select',
're_render' => true,
'title' => __('Menu to display', 'mfn-opts'),
//'options' => mfna_menu(),
'js_options' => 'menus',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu:justify-content',
'id' => 'css_header_menu_justify',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu',
'css_style' => 'justify-content',
'attr_id' => 'menu-items-alignment',
'type' => 'select',
'responsive' => true,
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'flex-start' => 'Left',
'center' => 'Center',
'flex-end' => 'Right',
'space-between' => 'Space between',
'space-around' => 'Space around',
'space-evenly' => 'Space evenly',
),
'std' => 'flex-end',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li:flex-grow',
'id' => 'css_menu-li_flex_grow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu > li.mfn-menu-li',
'css_style' => 'flex-grow',
'condition' => array( 'id' => 'menu-items-alignment', 'opt' => 'is', 'val' => array('space-between', 'space-around', 'space-evenly') ),
'type' => 'select',
'responsive' => true,
'title' => __('Fit container', 'mfn-opts'),
'options' => [
'unset' => __('Default', 'mfn-opts'),
'1' => __('Fit', 'mfn-opts'),
],
),
array(
'id' => 'animation',
'attr_id' => 'header_menu_animation',
'type' => 'select',
'title' => __('Item Animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'text-line-bottom' => __('Text line bottom', 'mfn-opts'),
'text-toggle-line-bottom' => __('Text toggle line bottom', 'mfn-opts'),
'toggle-line-bottom' => __('Toggle line bottom', 'mfn-opts'),
'toggle-line-top' => __('Toggle line top', 'mfn-opts'),
'text-bg-line' => __('Text bg line', 'mfn-opts'),
'bg-left' => __('Bg left', 'mfn-opts'),
),
),
array(
'id' => 'separator',
'attr_id' => 'menu_separator',
'type' => 'switch',
'title' => __('Separator', 'mfn-opts'),
'options' => array(
'off' => 'Off',
'on' => 'On'
),
'std' => 'off'
),
array(
'id' => 'submenu_display',
'type' => 'switch',
'title' => __('Display submenu on', 'mfn-opts'),
'options' => array(
'hover' => 'Hover',
'click' => 'Click'
),
'std' => 'hover'
),
array(
'id' => 'submenu_icon_display',
'attr_id' => 'submenu_icon_display',
'type' => 'switch',
'title' => __('Submenu Icon', 'mfn-opts'),
'options' => array(
'' => 'Off',
'on' => 'On'
),
'std' => 'on'
),
array(
'id' => 'submenu_icon',
'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'type' => 'icon',
'title' => __('Submenu icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'fas fa-arrow-down'
),
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon_align',
'type' => 'switch',
'title' => __('Icon align', 'mfn-opts'),
'options' => array(
'left' => 'Left',
'top' => 'Top',
'right' => 'Right'
),
'std' => 'left'
),
array(
'id' => 'icon_animation',
'type' => 'select',
'title' => __('Icon animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'rotate' => 'Rotate',
'zoom' => 'Zoom'
),
),
array(
'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'title' => __('Submenu', 'mfn-opts'),
),
array(
'id' => 'submenu_subicon',
'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'type' => 'icon',
'title' => __('Submenu icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'fas fa-arrow-right'
),
array(
'id' => 'submenu_icon_animation',
'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'type' => 'select',
'title' => __('Icon Animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'rotate' => 'Rotate',
'zoom' => 'Zoom'
),
),
array(
'id' => 'submenu_animation',
'type' => 'select',
'title' => __('Submenu Animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'fade-in' => 'Fade In',
'fade-up' => 'Fade In Up'
),
),
array(
'id' => 'submenu_fold_to_right',
'type' => 'switch',
'title' => __('Submenu fold last two items to left', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
),
array(
'type' => 'html',
'html' => '
',
),
// icon
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon',
'attr_id' => 'header_icon_font',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'preview' => 'icon',
),
array(
'id' => 'image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Image instead of an icon', 'mfn-opts'),
'preview' => 'image',
),
array(
'id' => 'desc',
'type' => 'text',
'edit_tag' => '.mfn-header-menu-burger | div.desc-wrapper',
'edit_position' => 'append',
'title' => __('Desc', 'mfn-opts'),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// sidebar
array(
'type' => 'header',
'title' => __('Nav', 'mfn-opts'),
),
array(
'id' => 'sidebar_type',
'attr_id' => 'sidebar_type',
'type' => 'select',
're_render' => true,
'title' => __('Nav type', 'mfn-opts'),
'js_options' => 'sidemenus',
'opt_append' => array(
'classic' => __('Classic menu', 'mfn-opts'),
),
'std' => '0'
),
array(
'type' => 'subheader',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
'class' => 'mfn-builder-subheader row-header',
'title' => __('Menu', 'mfn-opts'),
),
array(
'id' => 'menu_display',
'type' => 'select',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
're_render' => true,
'title' => __('Menu to display', 'mfn-opts'),
'js_options' => 'menus',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-tmpl-menu-sidebar-wrapper:align-items',
'id' => 'css_menu-sidebar-wrapper_align_items',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-tmpl-menu-sidebar-wrapper',
'css_style' => 'align-items',
'type' => 'select',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => '0' ),
'title' => __('Vertical align', 'mfn-opts'),
'options' => array(
'flex-start' => 'Top',
'center' => 'Center',
'flex-end' => 'Bottom',
),
'std' => 'center'
),
array(
'id' => 'menu_pos',
'type' => 'select',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => '0' ),
're_render' => true,
'title' => __('Sidebar position', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => 'right'
),
array(
'id' => 'animation',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
'attr_id' => 'header_menu_animation',
'type' => 'select',
'title' => __('Item Animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'text-line-bottom' => __('Text line bottom', 'mfn-opts'),
'text-toggle-line-bottom' => __('Text toggle line bottom', 'mfn-opts'),
'toggle-line-bottom' => __('Toggle line bottom', 'mfn-opts'),
'toggle-line-top' => __('Toggle line top', 'mfn-opts'),
'text-bg-line' => __('Text bg line', 'mfn-opts'),
'bg-left' => __('Bg left', 'mfn-opts'),
),
),
array(
'id' => 'submenu_icon_display',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
'attr_id' => 'submenu_icon_display',
'type' => 'switch',
'title' => __('Submenu Icon', 'mfn-opts'),
'options' => array(
'' => 'Off',
'on' => 'On'
),
'std' => 'on'
),
array(
'id' => 'submenu_animation',
//'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
'type' => 'select',
'title' => __('Submenu Animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'fade-in' => 'Fade In',
'fade-up' => 'Fade In Up'
),
),
array(
'id' => 'submenu_icon',
//'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
'type' => 'icon',
'title' => __('Submenu icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'fas fa-arrow-down'
),
array(
'id' => 'menu_icon_align',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
'attr_id' => 'menu_icon_align',
'type' => 'switch',
'title' => __('Icon align', 'mfn-opts'),
'options' => array(
'left' => 'Left',
'top' => 'Top',
'right' => 'Right'
),
'std' => 'left'
),
array(
'id' => 'icon_animation',
'type' => 'select',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
'title' => __('Icon animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'rotate' => 'Rotate',
'zoom' => 'Zoom'
),
),
array(
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
//'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header',
'title' => __('Submenu', 'mfn-opts'),
),
array(
'id' => 'submenu_subicon',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
//'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'type' => 'icon',
'title' => __('Submenu icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'fas fa-arrow-right'
),
array(
'id' => 'submenu_icon_animation',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
//'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'type' => 'select',
'title' => __('Icon Animation', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'rotate' => 'Rotate',
'zoom' => 'Zoom'
),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Burger wrapper', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger:padding',
'id' => 'css_menu-burger_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger:border-style',
'id' => 'css_menu-burger_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger',
'css_style' => 'border-style',
'attr_id' => 'border_header_burger_wrapper',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger:border-width',
'id' => 'css_menu-burger_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_header_burger_wrapper', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger:border-radius',
'id' => 'css_menu-burger_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-menu-burger',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon_position',
'type' => 'switch',
'title' => __('Icon position', 'mfn-opts'),
'options' => array(
'top' => __('Top', 'mfn-opts'),
'bottom' => __('Bottom', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => 'top',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'icon_align',
'type' => 'switch',
'condition' => array( 'id' => 'header-icon-desc', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Icon alignment', 'mfn-opts'),
'options' => array(
'start' => __('Start', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'end' => __('End', 'mfn-opts'),
),
'std' => 'center',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:--mfn-header-menu-icon-size',
'id' => 'css_icon-boxicon_icon_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'css_style' => '--mfn-header-menu-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '5',
'max' => '150',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:width',
'id' => 'css_icon-boxicon-wrapper_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'css_style' => 'width',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Width', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '5',
'max' => '150',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:height',
'id' => 'css_icon-boxicon-wrapper_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'css_style' => 'height',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Height', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '5',
'max' => '150',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:margin',
'id' => 'css_icon-boxicon-wrapper_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:padding',
'id' => 'css_icon-boxicon-wrapper_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'id' => 'header_icon_desc_visibility',
'iconinfo' => 'https://support.muffingroup.com/video-tutorials/section-responsive-visibility/',
'type' => 'switch',
'invert' => true,
'version' => 'multiple',
'class' => 'mfn-toggled',
'title' => __('Responsive visibility', 'mfn-opts'),
'options' => array(
'hide-desktop' => __('Hide on Desktop', 'mfn-opts'),
'hide-laptop' => __('Hide on Laptop', 'mfn-opts'),
'hide-tablet' => __('Hide on Tablet', 'mfn-opts'),
'hide-mobile' => __('Hide on Mobile', 'mfn-opts'),
),
'active_tooltip' => array(
'hide-desktop' => __('Show on Desktop', 'mfn-opts'),
'hide-laptop' => __('Show on Laptop', 'mfn-opts'),
'hide-tablet' => __('Show on Tablet', 'mfn-opts'),
'hide-mobile' => __('Show on Mobile', 'mfn-opts'),
),
'visual_options' => array(
'hide-desktop' => '
', // 960 +
'hide-laptop' => '
', // 768 - 959
'hide-tablet' => '
', // 768 - 959
'hide-mobile' => '
', // - 768
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc-wrapper:typography',
'id' => 'css_desc-wrapper_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc-wrapper',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => '0,classic' ),
'class' => 'toggled_header row-header',
'title' => __('Menu wrapper', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar:--mfn-header-menu-sidebar-width',
'id' => 'css_menu-sidebar_header_menu_sidebar_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar',
'css_style' => '--mfn-header-menu-sidebar-width',
'type' => 'sliderbar',
'responsive' => true,
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => '0' ),
'title' => __('Width', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '100',
'max' => '1920',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-tmpl-menu-sidebar-wrapper:padding',
'id' => 'css_menu-sidebar-wrapper_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-tmpl-menu-sidebar-wrapper',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'background_switcher',
'attr_id' => 'bg_menu-tmpl-sidebar',
'type' => 'switch',
'class' => 'mfn-toggled mfn-fields-switcher disable-history',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar:background-color',
'id' => 'css_menu-sidebar_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar',
'css_style' => 'background-color',
'condition' => array( 'id' => 'bg_menu-tmpl-sidebar', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar:gradient',
'id' => 'css_menu-sidebar_gradient',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar',
'css_style' => 'gradient',
'condition' => array( 'id' => 'bg_menu-tmpl-sidebar', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar:background-image',
'id' => 'css_menu-sidebar_background_image',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar',
'css_style' => 'background-image',
'condition' => array( 'id' => 'bg_menu-tmpl-sidebar', 'opt' => 'is', 'val' => 'default' ),
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar:background-repeat',
'id' => 'css_menu-sidebar_background_repeat',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar',
'css_style' => 'background-repeat',
'condition' => array( 'id' => 'bg_menu-tmpl-sidebar', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Repeat', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'repeat' => __('Repeat', 'mfn-opts'),
'no-repeat' => __('No repeat', 'mfn-opts'),
'repeat-x' => __('Repeat X', 'mfn-opts'),
'repeat-y' => __('Repeat Y', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar:background-position',
'id' => 'css_menu-sidebar_background_position',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar',
'css_style' => 'background-position',
'condition' => array( 'id' => 'bg_menu-tmpl-sidebar', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Position', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'center' => __('Center Center', 'mfn-opts'),
'center left' => __('Center Left', 'mfn-opts'),
'center right' => __('Center Right', 'mfn-opts'),
'top left' => __('Top Left', 'mfn-opts'),
'top right' => __('Top Right', 'mfn-opts'),
'top center' => __('Top Center', 'mfn-opts'),
'bottom left' => __('Bottom Left', 'mfn-opts'),
'bottom right' => __('Bottom Right', 'mfn-opts'),
'bottom center' => __('Bottom Center', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar:background-attachment',
'id' => 'css_menu-sidebar_background_attachment',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar',
'css_style' => 'background-attachment',
'condition' => array( 'id' => 'bg_menu-tmpl-sidebar', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Attachment', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'scroll' => __('Scroll', 'mfn-opts'),
'fixed' => __('Fixed', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar:background-size',
'id' => 'css_menu-sidebar_background_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar',
'css_style' => 'background-size',
'condition' => array( 'id' => 'bg_menu-tmpl-sidebar', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Size', 'mfn-opts'),
'options' => mfna_bg_size()
),
array(
'type' => 'subheader',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => '0' ),
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Close', 'mfn-opts'),
),
array(
'id' => 'sidebar-menu-close-icon-position',
'type' => 'switch',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => '0' ),
'class' => 'mfn-toggled',
'title' => __('Position', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-close-icon:font-size',
'id' => 'css_menu-sidebar-close-icon_font_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-close-icon',
'css_style' => 'font-size',
'type' => 'sliderbar',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => '0' ),
'title' => __('Size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '40',
'step' => '1',
'unit' => 'px',
),
'std' => '20px'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu-toggle .icon:color',
'id' => 'css_menu_-toggleicon_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu-toggle .icon',
'css_style' => 'color',
'type' => 'color',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => '0' ),
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Content overlay', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement.mfn-header-tmpl-menu-active|before:display',
'id' => 'css_menu-activebefore_display',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement.mfn-header-tmpl-menu-active:before',
'css_style' => 'display',
'type' => 'switch',
'title' => __('Visibility', 'mfn-opts'),
'class' => 'mfn-toggled',
'options' => [
'' => __('Hidden', 'mfn-opts'),
'block' => __('Visible', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement.mfn-header-tmpl-menu-active|before:background-color',
'id' => 'css_menu-activebefore_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement.mfn-header-tmpl-menu-active:before',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => array('0', 'classic') ),
'class' => 'toggled_header row-header',
'title' => __('Menu', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Items', 'mfn-opts'),
),
array(
'id' => 'items_align',
'condition' => array( 'id' => 'menu_icon_align', 'opt' => 'isnt', 'val' => 'top' ),
'type' => 'switch',
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => 'top',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li:--mfn-header-menu-gap',
'id' => 'css_menu_li_header_menu_gap',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li',
'css_style' => '--mfn-header-menu-gap',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a:padding',
'id' => 'css_menu_lia_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a:typography',
'id' => 'css_menu_lia_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a:border-style',
'id' => 'css_menu_lia_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a',
'css_style' => 'border-style',
'attr_id' => 'border_style_header_menu_link',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a:border-width',
'id' => 'css_menu_lia_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_header_menu_link', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a:border-radius',
'id' => 'css_menu_lia_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li > a',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Animation', 'mfn-opts'),
'condition' => array( 'id' => 'header_menu_animation', 'opt' => 'isnt', 'val' => '' ),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-li > .mfn-menu-link:--mfn-header-menu-animation-color',
'id' => 'css_menu-li-menu-link_header_menu_animation_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-menu-li > .mfn-menu-link',
'css_style' => '--mfn-header-menu-animation-color',
'condition' => array( 'id' => 'header_menu_animation', 'opt' => 'isnt', 'val' => '' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li:--mfn-header-menu-icon-gap',
'id' => 'css_menu_li_header_menu_icon_gap',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li',
'css_style' => '--mfn-header-menu-icon-gap',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li:--mfn-header-menu-icon-size',
'id' => 'css_menu_li_header_menu_icon_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li',
'css_style' => '--mfn-header-menu-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Icon size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Submenu icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li:--mfn-header-menu-submenu-icon-gap',
'id' => 'css_menu_li_header_menu_submenu_icon_gap',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu > li',
'css_style' => '--mfn-header-menu-submenu-icon-gap',
'condition' => array( 'id' => 'submenu_icon_display', 'opt' => 'is', 'val' => 'on' ),
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .menu-sub i:--mfn-header-submenu-icon-size',
'id' => 'css_menu_limenu-subi_header_submenu_icon_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .menu-sub i',
'css_style' => '--mfn-header-submenu-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Icon size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'condition' => array( 'id' => 'sidebar_type', 'opt' => 'is', 'val' => '0,classic' ),
'title' => __('Submenu', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu li a:justify-content',
'id' => 'css_menu_li-submenulia_justify_content',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu li a',
'css_style' => 'justify-content',
'type' => 'switch',
'responsive' => true,
'title' => __('Alignment', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'flex-start' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu:background-color',
'id' => 'css_menu_li-submenu_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu:padding',
'id' => 'css_menu_li-submenu_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu:margin',
'id' => 'css_menu_li-submenu_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu:typography',
'id' => 'css_menu_li-submenu_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu:border-style',
'id' => 'css_menu_li-submenu_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu',
'css_style' => 'border-style',
'attr_id' => 'border_style_header_submenu_link',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu:border-width',
'id' => 'css_menu_li-submenu_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_header_submenu_link', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu:border-color',
'id' => 'css_menu_li-submenu_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_header_submenu_link', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu:border-radius',
'id' => 'css_menu_li-submenu_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-header-tmpl-menu-sidebar .mfn-header-menu li .mfn-submenu',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Items', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
// advanced here
),
),
// Header icon ----------------------------------------------------
'header_icon' => array(
'type' => 'header_icon',
'title' => __('Icon', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'header',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '
',
),
// icon
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'type',
'attr_id' => 'header_icon_type',
're_render' => true,
'type' => 'select',
'title' => __('Icon type', 'mfn-opts'),
'options' => array(
'tel' => 'Phone',
'mail' => 'E-mail',
'search' => 'Search',
'default' => 'Custom',
'cart' => 'Shop cart',
'account' => 'My account',
'wishlist' => 'Wishlist',
),
'desc' => __('For icons: Shop cart, My account and Wishlist, woocommerce plugin is required', 'mfn-opts'),
'std' => 'tel',
),
array(
'id' => 'icon',
'attr_id' => 'header_icon_font',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'preview' => 'icon',
),
array(
'id' => 'image',
'type' => 'upload',
'dynamic_data' => 'featured_image',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Image instead of an icon', 'mfn-opts'),
'preview' => 'image',
),
// link
array(
'type' => 'header',
'condition' => array( 'id' => 'header_icon_type', 'opt' => 'is', 'val' => 'tel,mail,default,cart,wishlist,search' ),
'title' => __('Additional', 'mfn-opts'),
),
array(
'id' => 'desc',
'attr_id' => 'header-icon-desc',
'type' => 'text',
'edit_tag' => '.mfn-header-icon-box | div.desc-wrapper',
'edit_position' => 'append',
'dynamic_data' => 'title',
'title' => __('Desc', 'mfn-opts'),
),
array(
'id' => 'cart_total',
'condition' => array( 'id' => 'header_icon_type', 'opt' => 'is', 'val' => 'cart' ),
'type' => 'switch',
're_render' => true,
'title' => __('Cart total ', 'mfn-opts'),
'options' => array(
'0' => 'Hide',
'1' => 'Show',
),
'std' => '1',
),
array(
'id' => 'count',
'attr_id' => 'header_icon_count',
'condition' => array( 'id' => 'header_icon_type', 'opt' => 'is', 'val' => array('wishlist', 'cart') ),
'type' => 'switch',
're_render' => true,
'title' => __('Icon count', 'mfn-opts'),
'options' => array(
'0' => 'Hide',
'1' => 'Show',
),
'std' => '1',
),
array(
'id' => 'count_if_zero',
'condition' => array( 'id' => 'header_icon_type', 'opt' => 'is', 'val' => array('wishlist', 'cart') ),
'type' => 'switch',
're_render' => true,
'title' => __('Icon count if 0', 'mfn-opts'),
'options' => array(
'1' => 'Hide',
'' => 'Show',
),
'std' => '',
),
array(
'id' => 'link',
'condition' => array( 'id' => 'header_icon_type', 'opt' => 'is', 'val' => 'tel,mail,default' ),
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'condition' => array( 'id' => 'header_icon_type', 'opt' => 'is', 'val' => 'tel,mail,default' ),
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon_position',
//'condition' => array( 'id' => 'header-icon-desc', 'opt' => 'isnt', 'val' => '' ),
'type' => 'switch',
'title' => __('Icon position', 'mfn-opts'),
'desc' => __('Work with desc only', 'mfn-opts'),
'options' => array(
'top' => __('Top', 'mfn-opts'),
'bottom' => __('Bottom', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => 'top',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'icon_align',
'type' => 'switch',
'condition' => array( 'id' => 'header-icon-desc', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Icon alignment', 'mfn-opts'),
'options' => array(
'start' => __('Start', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'end' => __('End', 'mfn-opts'),
),
'std' => 'center',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:--mfn-header-menu-icon-size',
'id' => 'css_icon-boxicon_icon_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'css_style' => '--mfn-header-menu-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '5',
'max' => '150',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:width',
'id' => 'css_icon-boxicon-wrapper_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'css_style' => 'width',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Width', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '5',
'max' => '150',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:height',
'id' => 'css_icon-boxicon-wrapper_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'css_style' => 'height',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Height', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '5',
'max' => '150',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:margin',
'id' => 'css_icon-boxicon-wrapper_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper:padding',
'id' => 'css_icon-boxicon-wrapper_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'condition' => array( 'id' => 'header_icon_count', 'opt' => 'is', 'val' => '1' ),
'title' => __('Icon count', 'mfn-opts'),
),
array(
'id' => 'icon_count_posv',
'attr_id' => 'icon_count_posv',
'condition' => array( 'id' => 'header_icon_count', 'opt' => 'is', 'val' => '1' ),
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Vertical offset', 'mfn-opts'),
'options' => array(
'0' => __('Top', 'mfn-opts'),
'1' => __('Bottom', 'mfn-opts'),
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count:top',
'id' => 'css_icon_count_top',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count',
'css_style' => 'top',
'condition' => array( 'id' => 'icon_count_posv', 'opt' => 'is', 'val' => '0' ),
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Top', 'mfn-opts'),
'class' => 'mfn-toggled header-icon-vert-count',
'param' => array(
'min' => '-50',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
'default_value' => '-9px'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count:bottom',
'id' => 'css_icon_count_bottom',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count',
'css_style' => 'bottom',
'condition' => array( 'id' => 'icon_count_posv', 'opt' => 'is', 'val' => '1' ),
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Bottom', 'mfn-opts'),
'class' => 'mfn-toggled header-icon-vert-count',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'id' => 'icon_count_posh',
'attr_id' => 'icon_count_posh',
'condition' => array( 'id' => 'header_icon_count', 'opt' => 'is', 'val' => '1' ),
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Horizontal offset', 'mfn-opts'),
'options' => array(
'0' => __('Left', 'mfn-opts'),
'1' => __('Right', 'mfn-opts'),
),
'std' => '1'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count:right',
'id' => 'css_icon_count_right',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count',
'css_style' => 'right',
'condition' => array( 'id' => 'icon_count_posh', 'opt' => 'is', 'val' => '1' ),
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Right', 'mfn-opts'),
'class' => 'mfn-toggled header-icon-hori-count',
'param' => array(
'min' => '-50',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
'default_value' => '-11px'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count:left',
'id' => 'css_icon_count_left',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count',
'css_style' => 'left',
'condition' => array( 'id' => 'icon_count_posh', 'opt' => 'is', 'val' => '0' ),
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Left', 'mfn-opts'),
'class' => 'mfn-toggled header-icon-hori-count',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count:color',
'id' => 'css_icon_count_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count',
'css_style' => 'color',
'condition' => array( 'id' => 'header_icon_count', 'opt' => 'is', 'val' => '1' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count:background-color',
'id' => 'css_icon_count_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count',
'css_style' => 'background-color',
'condition' => array( 'id' => 'header_icon_count', 'opt' => 'is', 'val' => '1' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count:typography',
'id' => 'css_icon_count_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-cart-count,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .icon-wrapper .header-wishlist-count',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'id' => 'header_icon_desc_visibility',
'iconinfo' => 'https://support.muffingroup.com/video-tutorials/section-responsive-visibility/',
'type' => 'switch',
'invert' => true,
'version' => 'multiple',
'class' => 'mfn-toggled',
'title' => __('Responsive visibility', 'mfn-opts'),
'options' => array(
'hide-desktop' => __('Hide on Desktop', 'mfn-opts'),
'hide-laptop' => __('Hide on Laptop', 'mfn-opts'),
'hide-tablet' => __('Hide on Tablet', 'mfn-opts'),
'hide-mobile' => __('Hide on Mobile', 'mfn-opts'),
),
'active_tooltip' => array(
'hide-desktop' => __('Show on Desktop', 'mfn-opts'),
'hide-laptop' => __('Show on Laptop', 'mfn-opts'),
'hide-tablet' => __('Show on Tablet', 'mfn-opts'),
'hide-mobile' => __('Show on Mobile', 'mfn-opts'),
),
'visual_options' => array(
'hide-desktop' => '
', // 960 +
'hide-laptop' => '
', // 768 - 959
'hide-tablet' => '
', // 768 - 959
'hide-mobile' => '
', // - 768
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc-wrapper:typography',
'id' => 'css_desc-wrapper_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc-wrapper',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'header_icon_type', 'opt' => 'is', 'val' => 'search' ),
'class' => 'toggled_header row-header',
'title' => __('Search results', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box:background-color',
'id' => 'css_live-search-box_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box:border-style',
'id' => 'css_live-search-box_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box',
'css_style' => 'border-style',
'attr_id' => 'border_live-search_results',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box:border-width',
'id' => 'css_live-search-box_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_live-search_results', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box:border-color',
'id' => 'css_live-search-box_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box',
'css_style' => 'border-color',
'type' => 'color',
'condition' => array( 'id' => 'border_live-search_results', 'opt' => 'isnt', 'val' => 'none' ),
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Label', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-heading:color',
'id' => 'css_live-search-box-live-search-heading_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-heading',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-heading:typography',
'id' => 'css_live-search-box-live-search-heading_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-heading',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-heading:opacity',
'id' => 'css_live-search-box-live-search-heading_opacity',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-heading',
'css_style' => 'opacity',
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Opacity', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '1',
'step' => '0.1',
),
'std' => '0.6'
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts:color',
'id' => 'css_live-search-box-live-search-texts_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box li a:color',
'id' => 'css_live-search-boxlia_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box li a',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts span.mfn-ls-price:color',
'id' => 'css_live-search-box-live-search-textsspan-ls-price_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts span.mfn-ls-price',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Price color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts:typography',
'id' => 'css_live-search-box-live-search-texts_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts p:typography',
'id' => 'css_live-search-box-live-search-textsp_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts p',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Desc typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts span.mfn-ls-price:typography',
'id' => 'css_live-search-box-live-search-textsspan-ls-price_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-live-search-box .mfn-live-search-texts span.mfn-ls-price',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Price typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
// advanced here
),
),
// Header search ----------------------------------------------------
'header_search' => array(
'type' => 'header_search',
'title' => __('Search field', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'header',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'title' => __('Input', 'mfn-opts'),
),
array(
'id' => 'placeholder',
'type' => 'text',
'title' => __('Placeholder', 'mfn-opts'),
'std' => __('Enter your search', 'betheme'),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Input', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:typography',
'id' => 'css_forminputfield_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:border-style',
'id' => 'css_forminput_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input',
'css_style' => 'border-style',
'attr_id' => 'border_style_header_search',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:border-width',
'id' => 'css_forminputfield_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_header_search', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:border-radius',
'id' => 'css_forminputfield_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:box-shadow',
'id' => 'css_forminputfield_box_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field',
'css_style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:height',
'id' => 'css_forminputfield_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field',
'css_style' => 'height',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Height', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '15',
'max' => '80',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:font-size',
'id' => 'css_forminputfield_font_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field',
'css_style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Font size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '5',
'max' => '70',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field:padding',
'id' => 'css_forminputfield_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.field',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .search_wrapper:--mfn-header-search-icon-color',
'id' => 'css_search_wrapper_header_search_icon_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .search_wrapper',
'css_style' => '--mfn-header-search-icon-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .search_wrapper:--mfn-header-search-icon-size',
'id' => 'css_search_wrapper_header_search_icon_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .search_wrapper',
'css_style' => '--mfn-header-search-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '5',
'max' => '150',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .search_wrapper .icon_search:left',
'id' => 'css_search_wrappericon_search_left',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .search_wrapper .icon_search',
'css_style' => 'left',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Left offset', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '50',
'step' => '1',
'unit' => 'px',
)
),
array(
'type' => 'html',
'html' => '
',
),
// advanced here
),
),
// Header Promo Bar ----------------------------------------------------
'header_promo_bar' => array(
'type' => 'header_promo_bar',
'title' => __('Promo bar', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'header',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Slides', 'mfn-opts'),
'options' => [
'title' => [
'textarea',
__('Content', 'mfn-opts'),
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'std' => [
0 => [
'title' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'preview' => 'tabs',
'primary' => 'title', // default
),
array(
'id' => 'slider_speed',
're_render' => true,
'type' => 'text',
'title' => __('Autoplay speed', 'mfn-opts'),
'std' => '3',
'after' => 's',
'param' => 'number',
'class' => 'narrow',
'preview' => 'number',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:typography',
'id' => 'css_mcb-column-inner_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:text-align',
'id' => 'css_mcb-column-inner_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'css_style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:color',
'id' => 'css_mcb-column-inner_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled main-color',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
// advanced here
),
),
// Shop Products ----------------------------------------------------
'shop_products' => array(
'type' => 'shop_products',
'title' => __('Shop products', 'mfn-opts'),
'desc' => __('List of products from woocommerce', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'shop-archive',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'products',
'type' => 'text',
're_render' => true,
'title' => __('Products per page', 'mfn-opts'),
'std' => '12',
'after' => 'products',
'param' => 'number',
'class' => 'narrow',
'preview' => 'number',
),
array(
'id' => 'layout',
'type' => 'select',
're_render' => true,
'title' => __('Columns', 'mfn-opts'),
'options' => array(
'grid' => __('Grid, 3 columns', 'mfn-opts'),
'grid col-4' => __('Grid, 4 columns', 'mfn-opts'),
'masonry' => __('Masonry, 3 columns', 'mfn-opts'),
'list' => __('List', 'mfn-opts'),
),
'std' => 'grid',
),
array(
'id' => 'ordering',
'type' => 'select',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'popularity' => __('Sales', 'mfn-opts'),
'rating' => __('Average rating', 'mfn-opts'),
'date' => __('Most recent', 'mfn-opts'),
'price' => __('Lowest price', 'mfn-opts'),
'price-desc' => __('Highest price', 'mfn-opts'),
),
'std' => '',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'description',
're_render' => true,
'type' => 'switch',
'title' => __('Description', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
'list' => __('List layout only', 'mfn-opts'),
),
'std' => '0'
),
array(
'id' => 'button',
're_render' => true,
'type' => 'switch',
'title' => __('Add to cart button', 'mfn-opts'),
'desc' => __('Required for some plugins', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
'list' => __('List layout only', 'mfn-opts'),
),
'std' => '0',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => [
'h1' => 'H1',
'h2' => 'H2',
'h3' => 'H3',
'h4' => 'H4',
'h5' => 'H5',
'h6' => 'H6',
'p' => 'p',
'span' => 'span',
],
'std' => 'h2',
),
array(
'id' => 'equal_heights',
'attr_id' => 'equal_heights',
're_render' => true,
'type' => 'switch',
'title' => __('Products List Standardization', 'mfn-opts'),
'options' => [
'0' => __('Default', 'mfn-opts'),
'1' => __('Equal heights', 'mfn-opts'),
],
'std' => '',
),
array(
'id' => 'equal_heights_last_el_class',
'condition' => array( 'id' => 'equal_heights', 'opt' => 'is', 'val' => '1' ),
'type' => 'select',
're_render' => true,
'title' => __('Align to the bottom from', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'image' => __('Image', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'price' => __('Price', 'mfn-opts'),
'variations' => __('Variations', 'mfn-opts'),
'description' => __('Description', 'mfn-opts'),
'button' => __('Button', 'mfn-opts'),
],
'std' => '',
),
array(
'id' => 'load_more',
're_render' => true,
'type' => 'switch',
'title' => __('Infinite Load More', 'mfn-opts'),
'options' => array(
'' => __('Disable', 'mfn-opts'),
'1' => __('Enable', 'mfn-opts'),
),
'std' => '',
),
array(
'type' => 'header',
'title' => __('Filters', 'mfn-opts'),
),
array(
'id' => 'shop-list-active-filters',
'type' => 'switch',
'class' => 'shop-products-filters-switcher',
'title' => __('Active filters', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => mfn_opts_get('shop-list-active-filters'),
),
array(
'id' => 'shop-list-perpage',
'type' => 'switch',
'class' => 'shop-products-filters-switcher',
'title' => __('Products per page', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => mfn_opts_get('shop-list-perpage'),
),
array(
'id' => 'shop-list-layout',
'class' => 'shop-products-filters-switcher',
'type' => 'switch',
'title' => __('Layout switch', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => mfn_opts_get('shop-list-layout'),
),
array(
'id' => 'shop-list-sorting',
'class' => 'shop-products-filters-switcher',
'type' => 'switch',
'title' => __('List sorting', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => mfn_opts_get('shop-list-sorting'),
),
array(
'id' => 'shop-list-results-count',
'class' => 'shop-products-filters-switcher',
'type' => 'switch',
'title' => __('Results count', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => mfn_opts_get('shop-list-results-count'),
),
// order
array(
'type' => 'header',
'title' => __('Order', 'mfn-opts'),
),
array(
'id' => 'order',
'type' => 'order',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'std' => 'image,title,price,description,button',
),
// HTML style
array(
'type' => 'html',
'html' => '
',
),
// HTML end: style
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:text-align',
'id' => 'css_product_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'text-align',
'type' => 'switch',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:background-color',
'id' => 'css_product_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:padding',
'id' => 'css_product_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-style',
'id' => 'css_product_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'border-style',
'attr_id' => 'border_style_shop_li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-color',
'id' => 'css_product_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_shop_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-width',
'id' => 'css_product_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_shop_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-radius',
'id' => 'css_product_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-style',
'id' => 'css_product_image_frame_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'css_style' => 'border-style',
'attr_id' => 'border_style_shopimg',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-color',
'id' => 'css_product_image_frame_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_shopimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-width',
'id' => 'css_product_image_frame_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_shopimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-radius',
'id' => 'css_product_image_frame_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
// title
array(
'title' => __('Title', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title:color',
'id' => 'css_product_title_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title:margin',
'id' => 'css_product_title_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title:typography',
'id' => 'css_product_title_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'title' => __('Price', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price:color',
'id' => 'css_product_price_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price:margin',
'id' => 'css_product_price_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price:typography',
'id' => 'css_product_price_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'title' => __('Desc', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt:margin',
'id' => 'css_product_excerpt_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt:typography',
'id' => 'css_products_excerpt_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt:color',
'id' => 'css_product_excerpt_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Attributes', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a:border-color',
'id' => 'css_variations-wrapper-loop-vrul-vr-optionslia_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a|hover:border-color',
'id' => 'css_variations-wrapper-loop-vrul-vr-optionsliahover_border_color_hover',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a:hover',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color on Hover', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Sale label', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale:color',
'id' => 'css_product_onsale_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale:background-color',
'id' => 'css_product_onsale_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale:padding',
'id' => 'css_product_onsale_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:padding',
'id' => 'css_product_button_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:typography',
'id' => 'css_product_button_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-style',
'id' => 'css_product_button_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'css_style' => 'border-style',
'attr_id' => 'border_style_bsb',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-width',
'id' => 'css_product_button_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-radius',
'id' => 'css_product_button_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'title' => __('List options container', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters:background-color',
'id' => 'css_shop-filters_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters:margin',
'id' => 'css_shop-filters_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters:padding',
'id' => 'css_shop-filters_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters:border-style',
'id' => 'css_shop-filters_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters',
'css_style' => 'border-style',
'attr_id' => 'border_style_shop_filters',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters:border-width',
'id' => 'css_shop-filters_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_shop_filters', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters:border-color',
'id' => 'css_shop-filters_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_shop_filters', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters:border-radius',
'id' => 'css_shop-filters_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'title' => __('Result count', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-result-count:typography',
'id' => 'css_woocommerce-result-count_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-result-count',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-result-count:color',
'id' => 'css_woocommerce-result-count_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-result-count',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'title' => __('Sorting', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select:typography',
'id' => 'css_shop-filterswoocommerce-orderingselect_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select:color',
'id' => 'css_shop-filterswoocommerce-orderingselect_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select:background',
'id' => 'css_shop-filterswoocommerce-orderingselect_background',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select',
'css_style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select:padding',
'id' => 'css_shop-filterswoocommerce-orderingselect_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select:border-style',
'id' => 'css_shop-filterswoocommerce-orderingselect_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select',
'css_style' => 'border-style',
'attr_id' => 'border_style_shop_order',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select:border-width',
'id' => 'css_shop-filterswoocommerce-orderingselect_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_shop_order', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select:border-color',
'id' => 'css_shop-filterswoocommerce-orderingselect_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_shop_order', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select:border-radius',
'id' => 'css_shop-filterswoocommerce-orderingselect_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .woocommerce-ordering select',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'title' => __('List options', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .mfn-woo-list-options form.mfn-before-products-list-form:typography',
'id' => 'css_shop-filters-woo-list-optionsform-before-products-list-form_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .mfn-woo-list-options form.mfn-before-products-list-form',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .mfn-woo-list-options form.mfn-before-products-list-form:color',
'id' => 'css_shop-filters-woo-list-optionsform-before-products-list-form_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .mfn-woo-list-options form.mfn-before-products-list-form',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'title' => __('Layout options', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .mfn-woo-list-options ul li svg:width',
'id' => 'css_shop-filters-woo-list-optionsullisvg_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .mfn-woo-list-options ul li svg',
'css_style' => 'width',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Size', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '200',
'step' => '1',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters a.open-filters svg .path, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .mfn-woo-list-options ul li:--mfn-woo-icon-option',
'id' => 'css_layout_options_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters a.open-filters svg .path, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters .mfn-woo-list-options ul li',
'css_style' => '--mfn-woo-icon-option',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'title' => __('Rating', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating:display',
'id' => 'css_product_star-rating_display',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating',
'css_style' => 'display',
'attr_id' => 'shop-list-rating',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Visibility', 'mfn-opts'),
'options' => [
'' => __('Visible', 'mfn-opts'),
'none' => __('Hidden', 'mfn-opts'),
],
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating span:color',
'id' => 'css_product_star-ratingspan_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating span',
'css_style' => 'color',
'condition' => array( 'id' => 'shop-list-rating', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'title' => __('Filters switcher', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters a.open-filters:typography',
'id' => 'css_shop-filtersaopen-filters_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters a.open-filters',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters a.open-filters:color',
'id' => 'css_shop-filtersaopen-filters_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters a.open-filters',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters a.open-filters svg:width',
'id' => 'css_shop-filtersaopen-filterssvg_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop-filters a.open-filters svg',
'css_style' => 'width',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Icon size', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '200',
'step' => '1',
),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Shop Title ----------------------------------------------------
'shop_title' => array(
'type' => 'shop_title',
'title' => __('Shop title', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'shop-archive',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => [
'h1' => 'H1',
'h2' => 'H2',
'h3' => 'H3',
'h4' => 'H4',
'h5' => 'H5',
'h6' => 'H6',
'p' => 'p',
'span' => 'span',
],
'std' => 'h1',
),
array(
'type' => 'html',
'html' => '
',
),
// title
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .page-title:text-align',
'id' => 'css_page-title_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .page-title',
'css_style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .page-title:typography',
'id' => 'css_page-title_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .page-title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .page-title:color',
'id' => 'css_page-title_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .page-title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '
',
),
),
),
// ALIAS: category description ----------------------------------------------------
'shop_cat_desc' => array(
'type' => 'plain_text',
'title' => __('Category Description', 'mfn-opts'),
'cat' => 'shop-archive',
),
// ALIAS: category top description ----------------------------------------------------
'shop_cat_top_desc' => array(
'type' => 'plain_text',
'title' => __('Category
Top Content', 'mfn-opts'),
'cat' => 'shop-archive',
),
// ALIAS: category bottom description ----------------------------------------------------
'shop_cat_bottom_desc' => array(
'type' => 'plain_text',
'title' => __('Category
Bottom Content', 'mfn-opts'),
'cat' => 'shop-archive',
),
// Product Title ----------------------------------------------------
'product_title' => array(
'type' => 'product_title',
'title' => __('Product title', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => [
'h1' => 'H1',
'h2' => 'H2',
'h3' => 'H3',
'h4' => 'H4',
'h5' => 'H5',
'h6' => 'H6',
'p' => 'p',
'span' => 'span',
],
'std' => 'h1',
),
array(
'type' => 'html',
'html' => '
',
),
// title
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:text-align',
'id' => 'css_title_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:typography',
'id' => 'css_title_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:color',
'id' => 'css_title_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '
',
),
),
),
// Product images ----------------------------------------------------
'product_images' => array(
'type' => 'product_images',
'title' => __('Product images', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'zoom',
'type' => 'switch',
'title' => __('Zoom effect', 'mfn-opts'),
'options' => array(
'0' => __('Disable', 'mfn-opts'),
'1' => __('Enable', 'mfn-opts'),
),
'std' => '1',
),
array(
'type' => 'header',
'title' => __('Arrows', 'mfn-opts'),
),
array(
'id' => 'thumbnail_arrows',
'attr_id' => 'thumbnail_arrows',
'type' => 'switch',
'title' => __('Arrows', 'mfn-opts'),
'desc' => __('Works with thumbnail horizontal styles', 'mfn-opts'),
'options' => array(
'' => __('Disable', 'mfn-opts'),
'1' => __('Enable', 'mfn-opts'),
),
),
array(
'type' => 'html',
'html' => '
',
),
// image
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image:background-color',
'id' => 'css_image_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image:border-style',
'id' => 'css_image_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image',
'css_style' => 'border-style',
'attr_id' => 'border_style_prodimg',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image:border-color',
'id' => 'css_image_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_prodimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image:border-width',
'id' => 'css_image_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_prodimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image:border-radius',
'id' => 'css_image_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-has-gallery .flex-viewport, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-hasnt-gallery .woocommerce-product-gallery__image',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
// thumbnails
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Thumbnails', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li img:background-color',
'id' => 'css_flex-control-thumbsliimg_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li img',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li:border-style',
'id' => 'css_flex-control-thumbsli_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li',
'css_style' => 'border-style',
'attr_id' => 'border_style_prodthumbs',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li:border-color',
'id' => 'css_flex-control-thumbsli_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_prodthumbs', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li:border-width',
'id' => 'css_flex-control-thumbsli_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_prodthumbs', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li:border-radius',
'id' => 'css_flex-control-thumbsli_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flex-control-thumbs li',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'condition' => array( 'id' => 'thumbnail_arrows', 'opt' => 'is', 'val' => '1' ),
'title' => __('Arrows', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:--mfn-swiper-arrow-size',
'id' => 'css____mfn_swiper_arrow_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'css_style' => '--mfn-swiper-arrow-size',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Size', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '200',
'step' => '1',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-gallery:--mfn-swiper-arrow-offset',
'id' => 'css_woocommerce-product-gallery_swiper_arrow_offset',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-gallery',
'css_style' => '--mfn-swiper-arrow-offset',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Offset', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '200',
'step' => '1',
),
),
array(
'type' => 'html',
'html' => '',
),
// HTML end: style
array(
'type' => 'html',
'html' => '
',
),
),
),
// Product price ----------------------------------------------------
'product_price' => array(
'type' => 'product_price',
'title' => __('Product price', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check style tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Price', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price:text-align',
'id' => 'css_price_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price',
'css_style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price:typography',
'id' => 'css_price_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price:color',
'id' => 'css_price_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Old price', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price > del:typography',
'id' => 'css_price_del_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price > del',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price > del:color',
'id' => 'css_pricedel_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .price > del',
'css_style' => 'color',
'type' => 'color',
'class' => 'sales-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
'desc' => __('Old price on sale', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '
',
),
),
),
// Product add to cart ----------------------------------------------------
'product_cart_button' => array(
'type' => 'product_cart_button',
'title' => __('Add to cart', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'cart_button_text',
'type' => 'text',
'title' => __('Button text', 'mfn-opts'),
'std' => __('Add to cart', 'woocommerce'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Attributes', 'mfn-opts'),
),
array(
'id' => 'variations-label',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Label position', 'mfn-opts'),
'options' => [
'' => __('Inline', 'mfn-opts'),
'top' => __('Top', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr label:color',
'id' => 'css_variations-wrapper-vrlabel_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr label',
'css_style' => 'color',
'type' => 'color',
'class' => 'sales-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr label:typography',
'id' => 'css_woocommerce_variations-wrapper-vrlabel_typography',
'css_path' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr label',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li a:border-color',
'id' => 'css_variations-wrapper-vrul-vr-optionslia_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li a',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li a|hover:border-color',
'id' => 'css_variations-wrapper-vrul-vr-optionsliahover_border_color_hover',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li a:hover',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color on Hover', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr:border-color',
'id' => 'css_variations-wrapper-vr_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper .mfn-vr',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Line separator', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:padding',
'id' => 'css_woocommerce-product-add-to-cartbutton_padding',
'css_path' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:typography',
'id' => 'css_woocommerce-product-add-to-cartbutton_typography',
'css_path' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:border-style',
'id' => 'css_woocommerce-product-add-to-cartbutton_border_style',
'css_path' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button',
'css_style' => 'border-style',
'attr_id' => 'border_style_bsb',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:border-width',
'id' => 'css_woocommerce-product-add-to-cartbutton_border_width',
'css_path' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button:border-radius',
'id' => 'css_woocommerce_product-add-to-cartbutton_border_radius',
'css_path' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-product-add-to-cart .button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Quantity', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .quantity input.qty:background',
'id' => 'css_woocommerce_quantityinputqty_background',
'css_path' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .quantity input.qty',
'css_style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .quantity input.qty:color',
'id' => 'css_woocommerce_quantityinputqty_color',
'css_path' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .quantity input.qty',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .quantity input.qty:border-color',
'id' => 'css_woocommerce_quantityinputqty_border_color',
'css_path' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .quantity input.qty',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .quantity a.quantity-change:color',
'id' => 'css_woocommerce_quantityaquantity-change_color',
'css_path' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .quantity a.quantity-change',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Plus/Minus color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Variation', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Price', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-variation-price:margin',
'id' => 'css_woocommerce-variation-price_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-variation-price',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-variation-price .price:color',
'id' => 'css_woocommerce-variation-priceprice_color',
'css_path' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-variation-price .price',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-variation-price .price:typography',
'id' => 'css_woocommerce_oocommerce-variation-priceprice_typography',
'css_path' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-variation-price .price',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Product breadcrumbs ----------------------------------------------------
'product_breadcrumbs' => array(
'type' => 'product_breadcrumbs',
'title' => __('Breadcrumbs', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'title' => __('Custom', 'mfn-opts'),
),
array(
'id' => 'breadcrumb_delimiter',
'type' => 'text',
're_render' => true,
'title' => __('Delimiter', 'mfn-opts'),
'std' => '/',
),
array(
'id' => 'breadcrumb_home',
'type' => 'switch',
're_render' => true,
'title' => __('Home page', 'mfn-opts'),
'options' => [
'0' => 'No',
'1' => 'Include',
],
'std' => '1',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'title' => __('Breadcrumbs', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb:text-align',
'id' => 'css_woocommerce-breadcrumb_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb',
'css_style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb:typography',
'id' => 'css_woocommerce-breadcrumb_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb:color',
'id' => 'css_woocommerce-breadcrumb_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'title' => __('Delimiter', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb span:color',
'id' => 'css_woocommerce-breadcrumbspan_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb span',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb span:opacity',
'id' => 'css_woocommerce-breadcrumbspan_opacity',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-breadcrumb span',
'css_style' => 'opacity',
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Opacity', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '1',
'step' => '0.1',
),
'std' => '0.2'
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Product reviews ----------------------------------------------------
'product_reviews' => array(
'type' => 'product_reviews',
'title' => __('Product reviews', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This item can only be used once per page (including product tab reviews)', 'mfn-opts'),
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check style tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'title' => __('Title', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-Reviews-title:text-align',
'id' => 'css_woocommerce-Reviews-title_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-Reviews-title',
'css_style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-Reviews-title:typography',
'id' => 'css_reviews-title_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-Reviews-title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-Reviews-title:color',
'id' => 'css_woocommerce-Reviews-title_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-Reviews-title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'title' => __('Container', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text:background-color',
'id' => 'css_reviews_comment-text_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__author:color',
'id' => 'css_reviews_comment-textpmetawoocommerce-review__author_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__author',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Author name color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__published-date,.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__dash:color',
'id' => 'css_date_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__published-date,.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text p.meta .woocommerce-review__dash',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Date color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text .description:color',
'id' => 'css_reviews_comment-textdescription_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text .description',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Comment color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text p.meta:border-color',
'id' => 'css_reviews_comment-textpmeta_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #comments ol.commentlist li .comment-text p.meta',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Line color', 'mfn-opts'),
),
array(
'title' => __('Stars', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .star-rating span,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .comment-form-rating p.stars a|before:color',
'id' => 'css_star-ratingspancomment-form-ratingpstarsabefore_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .star-rating span,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .comment-form-rating p.stars a:before',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'title' => __('Form title', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #respond .comment-reply-title:typography',
'id' => 'css_respondcomment-reply-title_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #respond .comment-reply-title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #respond .comment-reply-title:color',
'id' => 'css_comment-reply-title_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #respond .comment-reply-title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'title' => __('Your rating', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form label:color',
'id' => 'css_reviews_form_wrappercomment-formlabel_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form label',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Label', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .comment-form-rating p.stars a:color',
'id' => 'css_comment-form-ratingpstarsa_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .comment-form-rating p.stars a',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Number', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .comment-form-rating p.stars a:background-color',
'id' => 'css_comment-form-ratingpstarsa_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .comment-form-rating p.stars a',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Textarea', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form .comment-form-comment textarea:color',
'id' => 'css_reviews_form_comment_textarea_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form .comment-form-comment textarea',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form .comment-form-comment textarea,.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form .comment-form-comment textarea|focus:background-color',
'id' => 'css_textarea_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form .comment-form-comment textarea,.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form .comment-form-comment textarea:focus',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form .comment-form-comment textarea:border-color',
'id' => 'css_reviews_form_comment_textarea_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #reviews #review_form_wrapper .comment-form .comment-form-comment textarea',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input:padding',
'id' => 'css_woocommerce_review_form_input_padding',
'css_path' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input',
'css_style' => 'padding',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input:typography',
'id' => 'css_woocommerce_review_form_input_typography',
'css_path' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input:border-style',
'id' => 'css_woocommerce_review_form_input_border_style',
'css_path' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input',
'css_style' => 'border-style',
'attr_id' => 'border_style_prodrev',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input:border-width',
'id' => 'css_woocommerce_review_form_input_border_width',
'css_path' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_prodrev', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input:border-radius',
'id' => 'css_woocommerce_review_form_input_border_radius',
'css_path' => '.woocommerce #Content .mcb-section .mcb-wrap .mcb-item-mfnuidelement #review_form #respond .form-submit input',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
// HTML end: style
array(
'type' => 'html',
'html' => '
',
),
),
),
// Product rating ----------------------------------------------------
'product_rating' => array(
'type' => 'product_rating',
'title' => __('Product rating', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check style tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'title' => __('Rating', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-review-link:color',
'id' => 'css_woocommerce-review-link_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-review-link',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .star-rating span:color',
'id' => 'css_star-ratingspan_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .star-rating span',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Active stars color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .star-rating|before:color',
'id' => 'css_star-ratingbefore_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .star-rating:before',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Inactive stars color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-rating:text-align',
'id' => 'css_woocommerce-product-rating_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-rating',
'css_style' => 'text-align',
'class' => 'mfn-toggled',
'responsive' => true,
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Product stock ----------------------------------------------------
'product_stock' => array(
'type' => 'product_stock',
'title' => __('Product stock', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('To display stock, please enable stock management at product level and set its quantity. This element has no attributes. Please check style tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'title' => __('Product stock', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stock:text-align',
'id' => 'css_stock_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stock',
'css_style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stock:typography',
'id' => 'css_stock_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stock',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stock.in-stock:color',
'id' => 'css_stockin-stock_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stock.in-stock',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('In stock color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stock.out-of-stock:color',
'id' => 'css_stockout-of-stock_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stock.out-of-stock',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Out of stock color', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '
',
),
),
),
// Product meta ----------------------------------------------------
'product_meta' => array(
'type' => 'product_meta',
'title' => __('Product meta', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'layout',
'attr_id' => 'prod_meta_layout',
'type' => 'switch',
're_render' => true,
'title' => __('Layout', 'mfn-opts'),
'options' => [
'inline' => __('Inline', 'mfn-opts'),
'stacked' => __('Stacked', 'mfn-opts'),
'table' => __('Table', 'mfn-opts'),
],
'std' => 'inline',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'title' => __('Container', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta th, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta td:text-align',
'id' => 'css_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta th, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta td',
'css_style' => 'text-align',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta .stacked-meta li:border-color',
'id' => 'css_product_metastacked-metali_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta .stacked-meta li',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Stacked line color', 'mfn-opts'),
),
array(
'title' => __('Label', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.tagged_as,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.posted_in,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.stacked-meta-title,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta th:typography',
'id' => 'css_product_meta_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.tagged_as,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.posted_in,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.stacked-meta-title,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta th',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.tagged_as,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.posted_in,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.stacked-meta-title,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta th:color',
'id' => 'css_product_meta_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.tagged_as,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.posted_in,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.stacked-meta-title,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta th',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'title' => __('Value', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta td,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta td,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta td a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta .stacked-categories span.stacked-meta-value a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.posted_in a:color',
'id' => 'css_product_meta_links_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta td,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta td,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table-meta td a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta .stacked-categories span.stacked-meta-value a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta span.posted_in a',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Links color', 'mfn-opts'),
),
array(
'title' => __('Tags', 'mfn-opts'),
'condition' => array( 'id' => 'prod_meta_layout', 'opt' => 'isnt', 'val' => 'table' ),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta .stacked-meta li.stacked-tags .stacked-meta-value a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tagged_as a:color',
'id' => 'css_tags_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta .stacked-meta li.stacked-tags .stacked-meta-value a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tagged_as a',
'css_style' => 'color',
'condition' => array( 'id' => 'prod_meta_layout', 'opt' => 'isnt', 'val' => 'table' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta .stacked-meta li.stacked-tags .stacked-meta-value a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tagged_as a:background',
'id' => 'css_tags_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .product_meta .stacked-meta li.stacked-tags .stacked-meta-value a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tagged_as a',
'css_style' => 'background',
'condition' => array( 'id' => 'prod_meta_layout', 'opt' => 'isnt', 'val' => 'table' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'title' => __('SKU', 'mfn-opts'),
'condition' => array( 'id' => 'prod_meta_layout', 'opt' => 'isnt', 'val' => 'table' ),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stacked-sku .stacked-meta-value,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta .sku_wrapper:color',
'id' => 'css_sku_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stacked-sku .stacked-meta-value,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta .sku_wrapper',
'css_style' => 'color',
'condition' => array( 'id' => 'prod_meta_layout', 'opt' => 'isnt', 'val' => 'table' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stacked-sku .stacked-meta-value,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta .sku_wrapper:background',
'id' => 'css_sku_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stacked-sku .stacked-meta-value,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta .sku_wrapper',
'css_style' => 'background',
'condition' => array( 'id' => 'prod_meta_layout', 'opt' => 'isnt', 'val' => 'table' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stacked-sku .stacked-meta-value,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta .sku_wrapper:border-color',
'id' => 'css_sku_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .stacked-sku .stacked-meta-value,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn_product_meta .sku_wrapper',
'css_style' => 'border-color',
'condition' => array( 'id' => 'prod_meta_layout', 'opt' => 'isnt', 'val' => 'table' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '
',
),
),
),
// Product short_description ----------------------------------------------------
'product_short_description' => array(
'type' => 'product_short_description',
'title' => __('Short description', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check style tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'title' => __('Description', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-details__short-description:text-align',
'id' => 'css_woocommerce-product-details_short-description_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-details__short-description',
'css_style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-details__short-description:typography',
'id' => 'css_woocommerce-product-details_short-description_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-details__short-description',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-details__short-description:color',
'id' => 'css_woocommerce-product-details__short-description_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-details__short-description',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '
',
),
),
),
// Product tabs ----------------------------------------------------
'product_tabs' => array(
'type' => 'product_tabs',
'title' => __('Product tabs', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'title' => __('Navigation', 'mfn-opts'),
),
array(
'id' => 'nav',
'attr_id' => 'nav',
'type' => 'select',
'title' => __('Position', 'mfn-opts'),
'options' => [
'' => __('Top', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs.mfn-woocommerce-tabs-nav-top .mfn-woocommerce-tabs-nav:justify-content',
'id' => 'css_woocommerce-tabs-nav-top-woocommerce-tabs-nav_justify_content',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs.mfn-woocommerce-tabs-nav-top .mfn-woocommerce-tabs-nav',
'css_style' => 'justify-content',
'type' => 'select',
'condition' => array( 'id' => 'nav', 'opt' => 'is', 'val' => '' ),
'title' => __('Align', 'mfn-opts'),
'options' => [
'' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
'space-around' => __('Space around', 'mfn-opts'),
'space-between' => __('Space between', 'mfn-opts'),
],
'std' => '',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Navigation', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav:background-color',
'id' => 'css_woocommerce-tabs-nav_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav:padding',
'id' => 'css_woocommerce-tabs-nav_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav:margin',
'id' => 'css_woocommerce-tabs-nav_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav:border-style',
'id' => 'css_woocommerce-tabs-nav_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav',
'css_style' => 'border-style',
'attr_id' => 'border_tabs_nav_ul',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav:border-color',
'id' => 'css_woocommerce-tabs-nav_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_tabs_nav_ul', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav:border-width',
'id' => 'css_woocommerce-tabs-nav_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_tabs_nav_ul', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav:border-radius',
'id' => 'css_woocommerce-tabs-nav_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Nav items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a:padding',
'id' => 'css_woocommerce-tabs-navlia_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li:margin',
'id' => 'css_woocommerce-tabs-navli_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a:typography',
'id' => 'css_woocommerce-tabs-navlia_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a:border-style',
'id' => 'css_woocommerce-tabs-navlia_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a',
'css_style' => 'border-style',
'attr_id' => 'border_tabs_nav_ul_li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a:border-width',
'id' => 'css_woocommerce-tabs-navlia_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_tabs_nav_ul_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a:border-radius',
'id' => 'css_woocommerce-tabs-navlia_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-nav li a',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content:background-color',
'id' => 'css_woocommerce-tabs-content_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content:padding',
'id' => 'css_woocommerce-tabs-content_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content:border-style',
'id' => 'css_woocommerce-tabs-content_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content',
'css_style' => 'border-style',
'attr_id' => 'border_tabs_content',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content:border-width',
'id' => 'css_woocommerce-tabs-content_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_tabs_content', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content:border-color',
'id' => 'css_woocommerce-tabs-content_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_tabs_content', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content:border-radius',
'id' => 'css_woocommerce-tabs-content_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-woocommerce-tabs .mfn-woocommerce-tabs-content',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Product content ----------------------------------------------------
'product_content' => array(
'type' => 'product_content',
'title' => __('Product content', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check advanced tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Product additional information ----------------------------------------------------
'product_additional_information' => array(
'type' => 'product_additional_information',
'title' => __('Additional information', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'title',
'attr_id' => 'title',
'type' => 'switch',
're_render' => true,
'title' => __('Title', 'mfn-opts'),
'options' => [
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
],
'std' => '1',
),
array(
'id' => 'title_tag',
'condition' => array( 'id' => 'title', 'opt' => 'is', 'val' => '1' ),
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h3',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'title' => __('Item title', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:text-align',
'id' => 'css_title_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => 'text-align',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:color',
'id' => 'css_title_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:margin',
'id' => 'css_title_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:typography',
'id' => 'css_title_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'title' => __('Content', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes th, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes td:text-align',
'id' => 'css_woocommerce-product-attributesthwoocommerce-product-attributestd_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes th, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes td',
'css_style' => 'text-align',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes th:color',
'id' => 'css_woocommerce-product-attributesth_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes th',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Label color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes td,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes td a:color',
'id' => 'css_woocommerce-product-attributestdwoocommerce-product-attributestda_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes td,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce-product-attributes td a',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Value color', 'mfn-opts'),
),
array(
'title' => __('Line', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.woocommerce-product-attributes td span|before:background',
'id' => 'css_tablewoocommerce-product-attributestdspanbefore_background',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement table.woocommerce-product-attributes td span:before',
'css_style' => 'background',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '
',
),
),
),
// Product related ----------------------------------------------------
'product_related' => array(
'type' => 'product_related',
'title' => __('Product related', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'heading_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Heading tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h3',
),
array(
'id' => 'products',
'type' => 'text',
're_render' => true,
'title' => __('Products per page', 'mfn-opts'),
'std' => '4',
'after' => 'products',
'param' => 'number',
'class' => 'narrow',
),
array(
'id' => 'columns',
'type' => 'text',
're_render' => true,
'title' => __('Columns', 'mfn-opts'),
'std' => '4',
'after' => 'columns',
'param' => 'number',
'class' => 'narrow',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'button',
'type' => 'switch',
're_render' => true,
'title' => __('Add to cart button', 'mfn-opts'),
'desc' => __('Required for some plugins', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '0',
),
array(
'id' => 'description',
'type' => 'switch',
're_render' => true,
'title' => __('Description', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '0'
),
array(
'type' => 'header',
'title' => __('Order', 'mfn-opts'),
),
array(
'id' => 'order',
'type' => 'order',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'std' => 'image,title,price,description,button',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => [
'h1' => 'H1',
'h2' => 'H2',
'h3' => 'H3',
'h4' => 'H4',
'h5' => 'H5',
'h6' => 'H6',
'p' => 'p',
'span' => 'span',
],
'std' => 'h2',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'title' => __('Item title', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-related > .title:text-align',
'id' => 'css_relatedtitle_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-related > .title',
'css_style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-related > .title:color',
'id' => 'css_relatedtitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-related > .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-related > .title:margin',
'id' => 'css_relatedtitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-related > .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-related > .title:typography',
'id' => 'css_relatedtitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-related > .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:text-align',
'id' => 'css_product_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'text-align',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:background-color',
'id' => 'css_product_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:padding',
'id' => 'css_product_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-style',
'id' => 'css_product_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'border-style',
'attr_id' => 'border_style_shop_li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-color',
'id' => 'css_product_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_shop_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-width',
'id' => 'css_product_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_shop_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-radius',
'id' => 'css_product_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-style',
'id' => 'css_product_image_frame_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'css_style' => 'border-style',
'attr_id' => 'border_style_shopimg',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-color',
'id' => 'css_product_image_frame_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_shopimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-width',
'id' => 'css_product_image_frame_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_shopimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-radius',
'id' => 'css_product_image_frame_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
// title
array(
'title' => __('Title', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title:color',
'id' => 'css_product_title_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title:margin',
'id' => 'css_product_title_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title:typography',
'id' => 'css_product_title_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'title' => __('Price', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price:color',
'id' => 'css_product_price_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price:margin',
'id' => 'css_product_price_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price:typography',
'id' => 'css_product_price_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'title' => __('Desc', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt:margin',
'id' => 'css_product_excerpt_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt:typography',
'id' => 'css_product_excerpt_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt:color',
'id' => 'css_product_excerpt_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Attributes', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a:border-color',
'id' => 'css_variations-wrapper-loop-vrul-vr-optionslia_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a|hover:border-color',
'id' => 'css_variations-wrapper-loop-vrul-vr-optionsliahover_border_color_hover',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a:hover',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color on Hover', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a:color',
'id' => 'css_variations-wrapper-loop-vrul-vr-optionslia_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Label color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Sale label', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale:color',
'id' => 'css_product_onsale_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale:background-color',
'id' => 'css_product_onsale_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale:padding',
'id' => 'css_product_onsale_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:padding',
'id' => 'css_product_button_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:typography',
'id' => 'css_products_button_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-style',
'id' => 'css_product_button_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'css_style' => 'border-style',
'attr_id' => 'border_style_bsb',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-width',
'id' => 'css_product_button_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-radius',
'id' => 'css_product_button_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'title' => __('Rating', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating:display',
'id' => 'css_product_star-rating_display',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating',
'css_style' => 'display',
'attr_id' => 'shop-list-rating',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Visibility', 'mfn-opts'),
'options' => [
'' => __('Visible', 'mfn-opts'),
'none' => __('Hidden', 'mfn-opts'),
],
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating span:color',
'id' => 'css_product_star-ratingspan_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating span',
'css_style' => 'color',
'condition' => array( 'id' => 'shop-list-rating', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '
',
),
),
),
// Product upsells ----------------------------------------------------
'product_upsells' => array(
'type' => 'product_upsells',
'title' => __('Product upsells', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'single-product',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'heading_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Heading tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h3',
),
array(
'id' => 'products',
're_render' => true,
'type' => 'text',
'title' => __('Products per page', 'mfn-opts'),
'std' => '4',
'after' => 'products',
'param' => 'number',
'class' => 'narrow',
),
array(
'id' => 'columns',
're_render' => true,
'type' => 'text',
'title' => __('Columns', 'mfn-opts'),
'std' => '4',
'after' => 'columns',
'param' => 'number',
'class' => 'narrow',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'button',
'type' => 'switch',
're_render' => true,
'title' => __('Add to cart button', 'mfn-opts'),
'desc' => __('Required for some plugins', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '0',
),
array(
'id' => 'description',
'type' => 'switch',
're_render' => true,
'title' => __('Description', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '0'
),
array(
'type' => 'header',
'title' => __('Order', 'mfn-opts'),
),
array(
'id' => 'order',
'type' => 'order',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'std' => 'image,title,price,description,button',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => [
'h1' => 'H1',
'h2' => 'H2',
'h3' => 'H3',
'h4' => 'H4',
'h5' => 'H5',
'h6' => 'H6',
'p' => 'p',
'span' => 'span',
],
'std' => 'h2',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'title' => __('Item title', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-upsells > .title:text-align',
'id' => 'css_upsellstitle_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-upsells > .title',
'css_style' => 'text-align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-upsells > .title:color',
'id' => 'css_upsellstitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-upsells > .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-upsells > .title:margin',
'id' => 'css_upsellstitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-upsells > .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-upsells > .title:typography',
'id' => 'css_upsellstitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-upsells > .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:text-align',
'id' => 'css_product_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'text-align',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:background-color',
'id' => 'css_product_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:padding',
'id' => 'css_product_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-style',
'id' => 'css_product_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'border-style',
'attr_id' => 'border_style_shop_li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-color',
'id' => 'css_product_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_shop_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-width',
'id' => 'css_product_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_shop_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product:border-radius',
'id' => 'css_product_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-style',
'id' => 'css_product_image_frame_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'css_style' => 'border-style',
'attr_id' => 'border_style_shopimg',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-color',
'id' => 'css_product_image_frame_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_shopimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-width',
'id' => 'css_product_image_frame_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_shopimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame:border-radius',
'id' => 'css_product_image_frame_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .image_frame',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
// title
array(
'title' => __('Title', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title:color',
'id' => 'css_product_title_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title:margin',
'id' => 'css_product_title_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title:typography',
'id' => 'css_product_title_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'title' => __('Price', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price:color',
'id' => 'css_product_price_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price:margin',
'id' => 'css_product_price_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price:typography',
'id' => 'css_product_price_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .price',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'title' => __('Desc', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt:margin',
'id' => 'css_product_excerpt_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt:typography',
'id' => 'css_product_excerpt_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt:color',
'id' => 'css_product_excerpt_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .excerpt',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Attributes', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a:border-color',
'id' => 'css_variations-wrapper-loop-vrul-vr-optionslia_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a|hover:border-color',
'id' => 'css_variations-wrapper-loop-vrul-vr-optionsliahover_border_color_hover',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a:hover',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color on Hover', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a:color',
'id' => 'css_variations-wrapper-loop-vrul-vr-optionslia_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-variations-wrapper-loop .mfn-vr ul.mfn-vr-options li a',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Label color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Sale label', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale:color',
'id' => 'css_product_onsale_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale:background-color',
'id' => 'css_product_onsale_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale:padding',
'id' => 'css_product_onsale_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .onsale',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:padding',
'id' => 'css_product_button_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:typography',
'id' => 'css_products_button_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-style',
'id' => 'css_product_button_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'css_style' => 'border-style',
'attr_id' => 'border_style_bsb',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-width',
'id' => 'css_product_button_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button:border-radius',
'id' => 'css_product_button_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'title' => __('Rating', 'mfn-opts'),
'type' => 'header',
'class' => 'toggled_header row-header',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating:display',
'id' => 'css_product_star-rating_display',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating',
'css_style' => 'display',
'attr_id' => 'shop-list-rating',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Visibility', 'mfn-opts'),
'options' => [
'' => __('Visible', 'mfn-opts'),
'none' => __('Hidden', 'mfn-opts'),
],
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating span:color',
'id' => 'css_product_star-ratingspan_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.products li.product .star-rating span',
'css_style' => 'color',
'condition' => array( 'id' => 'shop-list-rating', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
// HTML end: style
array(
'type' => 'html',
'html' => '
',
),
),
),
/* END WOO */
// Divider NEW ------------------------------------------------------
'divider_2' => array(
'type' => 'divider_2',
'title' => '• '. __('Divider', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'other',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'type',
'attr_id' => 'divider-2-type',
'type' => 'select',
'title' => __('Type', 'mfn-opts'),
're_render' => true,
'options' => array(
'' => 'Empty',
'#optgroup-border' => 'Border',
'border-solid' => 'Solid',
'border-dotted' => 'Dotted',
'border-dashed' => 'Dashed',
'border-double' => 'Double',
// if new added please update conditions below
'#optgroup-border-end' => '',
'#optgroup-pattern' => 'Pattern',
'pattern-star' => 'Star',
'pattern-triangle' => 'Triangle',
'pattern-plus' => 'Plus',
'pattern-tree' => 'Tree',
'pattern-heart' => 'Heart',
'pattern-question' => 'Question',
'pattern-gear' => 'Gear',
'pattern-parquet' => 'Parquet',
'pattern-sun' => 'Sun',
'pattern-fence' => 'Fence',
'pattern-flower' => 'Flower',
// if new added please update conditions below
'#optgroup-pattern-end' => '',
'#optgroup-lines' => 'Lines',
'pattern-line-wave' => 'Waves',
'pattern-line-zigzag' => 'Zig Zag',
'pattern-line-zigzag2' => 'Zig Zag 2',
'pattern-line-hearts' => 'Hearts',
'pattern-line-triangles' => 'Triangles',
'pattern-line-circles' => 'Circles',
'pattern-line-circles2' => 'Circles 2',
'pattern-line-circles3' => 'Circles 3',
'pattern-line-stars' => 'Stars',
'pattern-line-rhombus' => 'Rhombus',
'pattern-line-figures' => 'Figures',
'pattern-line-loopline' => 'Loopline',
// if new added please update conditions below
'#optgroup-lines-end' => '',
),
'std' => ''
),
array(
'id' => 'align',
'type' => 'switch',
'title' => __('Alignment', 'mfn-opts'),
're_render' => true,
'options' => array(
'start' => __('Start', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'end' => __('End', 'mfn-opts'),
),
'std' => 'center',
'responsive' => true,
),
// gap
array(
'type' => 'header',
'title' => __('Gap', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-gap-top',
'id' => 'css_divider_gap_top',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'css_style' => '--mfn-divider-gap-top',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Gap top', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '200',
'step' => '1',
),
'std' => '20px',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-gap-bottom',
'id' => 'css_divider_gap_bottom',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'css_style' => '--mfn-divider-gap-bottom',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Gap bottom', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '200',
'step' => '1',
),
'std' => '20px',
),
// addon
array(
'type' => 'header',
'title' => __('Addon', 'mfn-opts'),
),
array(
'id' => 'addon',
'attr_id' => 'divider-2-addon',
'type' => 'select',
'title' => __('Addon', 'mfn-opts'),
're_render' => true,
'options' => array(
'' => 'None',
'label' => 'Label',
'image' => 'Image',
'icon' => 'Icon',
),
'std' => ''
),
array(
'id' => 'label',
'type' => 'text',
'title' => __('Label', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'is', 'val' => 'label' ),
're_render' => true,
'std' => ''
),
array(
'id' => 'image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'is', 'val' => 'image' ),
're_render' => true,
'std' => ''
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'is', 'val' => 'icon' ),
're_render' => true,
'std' => ''
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:width',
'id' => 'css_divider-inner_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'css_style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled narrow',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Divider', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-type', 'opt' => 'isnt', 'val' => '' ),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-height',
'id' => 'css_divider_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'css_style' => '--mfn-divider-height',
'type' => 'sliderbar',
'title' => __('Pattern height', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-type', 'opt' => 'is', 'val' => 'pattern-star,pattern-triangle,pattern-plus,pattern-tree,pattern-heart,pattern-question,pattern-gear,pattern-parquet,pattern-sun,pattern-fence,pattern-flower,pattern-line-wave,pattern-line-zigzag,pattern-line-zigzag2,pattern-line-hearts,pattern-line-triangles,pattern-line-circles,pattern-line-circles2,pattern-line-circles3,pattern-line-stars,pattern-line-rhombus,pattern-line-figures,pattern-line-loopline' ),
'responsive' => true,
'class' => 'mfn-toggled narrow',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '100',
'step' => '1',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-pattern-color',
'id' => 'css_divider_pattern_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'css_style' => '--mfn-divider-pattern-color',
'type' => 'color',
'title' => __('Pattern color', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-type', 'opt' => 'is', 'val' => 'pattern-star,pattern-triangle,pattern-plus,pattern-tree,pattern-heart,pattern-question,pattern-gear,pattern-parquet,pattern-sun,pattern-fence,pattern-flower,pattern-line-wave,pattern-line-zigzag,pattern-line-zigzag2,pattern-line-hearts,pattern-line-triangles,pattern-line-circles,pattern-line-circles2,pattern-line-circles3,pattern-line-stars,pattern-line-rhombus,pattern-line-figures,pattern-line-loopline' ),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-border-width',
'id' => 'css_divider_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'css_style' => '--mfn-divider-border-width',
'type' => 'sliderbar',
'title' => __('Border width', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-type', 'opt' => 'is', 'val' => 'border-solid,border-dotted,border-dashed,border-double' ),
'class' => 'mfn-toggled narrow',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '20',
'step' => '1',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-border-color',
'id' => 'css_divider_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'css_style' => '--mfn-divider-border-color',
'type' => 'color',
'title' => __('Border color', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-type', 'opt' => 'is', 'val' => 'border-solid,border-dotted,border-dashed,border-double' ),
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Addon', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'isnt', 'val' => '' ),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-spacing',
'id' => 'css_divider_spacing',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'css_style' => '--mfn-divider-spacing',
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Spacing', 'mfn-opts'),
'units' => array(
'px' => array('min' => 0, 'max' => 100, 'step' => 1),
'em' => array('min' => 0, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 0, 'max' => 100, 'step' => 1),
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-icon i:font-size',
'id' => 'css_divider-innerdivider-iconi_font_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-icon i',
'css_style' => 'font-size',
'type' => 'sliderbar',
'title' => __('Icon size', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'is', 'val' => 'icon' ),
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'units' => array(
'px' => array('min' => 0, 'max' => 100, 'step' => 1),
'em' => array('min' => 0, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 0, 'max' => 100, 'step' => 1),
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-icon-color',
'id' => 'css_divider_icon_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'css_style' => '--mfn-divider-icon-color',
'type' => 'color',
'title' => __('Icon color', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'is', 'val' => 'icon' ),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-image img:height',
'id' => 'css_divider-innerdivider-imageimg_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-image img',
'css_style' => 'height',
'type' => 'sliderbar',
'title' => __('Image height', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'is', 'val' => 'image' ),
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-label:color',
'id' => 'css_divider-innerdivider-label_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-label',
'css_style' => 'color',
'type' => 'color',
'title' => __('Text color', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'is', 'val' => 'label' ),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-label:typography',
'id' => 'css_divider-innerdivider-label_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-label',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'title' => __('Typography', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'is', 'val' => 'label' ),
'class' => 'mfn-toggled toggle_fields',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon:background-color',
'id' => 'css_divider-innerdivider-addon_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon',
'css_style' => 'background-color',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-label:padding',
'id' => 'css_divider-innerdivider-label_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-label',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'is', 'val' => 'label' ),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-addon-width',
'id' => 'css_divider_addon_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'css_style' => '--mfn-divider-addon-width',
'type' => 'sliderbar',
'title' => __('Width', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'isnt', 'val' => 'label' ),
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner:--mfn-divider-addon-height',
'id' => 'css_divider_addon_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner',
'css_style' => '--mfn-divider-addon-height',
'type' => 'sliderbar',
'title' => __('Height', 'mfn-opts'),
'condition' => array( 'id' => 'divider-2-addon', 'opt' => 'isnt', 'val' => 'label' ),
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon:border-style',
'id' => 'css_divider-innerdivider-addon_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon',
'css_style' => 'border-style',
'attr_id' => 'divider-2-addon-border',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon:border-color',
'id' => 'css_divider-innerdivider-addon_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon',
'css_style' => 'border-color',
'condition' => array( 'id' => 'divider-2-addon-border', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon:border-width',
'id' => 'css_divider-innerdivider-addon_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon',
'css_style' => 'border-width',
'condition' => array( 'id' => 'divider-2-addon-border', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon:border-radius',
'id' => 'css_divider-innerdivider-addon_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-divider-inner .divider-addon',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Divider Basic -------------------------------------------------------
'divider' => array(
'type' => 'divider',
'title' => '• '. __('Divider Basic', 'mfn-opts'),
// 'title' => '• '. __('Divider', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'other',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'height',
'type' => 'text',
're_render' => true,
'title' => __('Height', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow',
'after' => 'px',
),
array(
'id' => 'style',
'attr_id' => 'divider_style',
'type' => 'switch',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'dots' => __('Dots', 'mfn-opts'),
'zigzag' => __('ZigZag', 'mfn-opts'),
),
'std' => 'default',
),
array(
'id' => 'line',
'type' => 'switch',
're_render' => true,
'title' => __('Line', 'mfn-opts'),
'condition' => array( 'id' => 'divider_style', 'opt' => 'is', 'val' => 'default' ),
'options' => array(
'' => __('No line', 'mfn-opts'),
'default' => __('Default', 'mfn-opts'),
'narrow' => __('Narrow', 'mfn-opts'),
'wide' => __('Wide', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'color',
'type' => 'color',
're_render' => true,
'title' => __('Color', 'mfn-opts'),
'alpha' => true,
),
array(
'id' => 'themecolor',
'type' => 'switch',
're_render' => true,
'title' => __('Theme color', 'mfn-opts'),
'desc' => __('Overwrites color selected above', 'mfn-opts'),
'options' => array(
0 => __('No', 'mfn-opts'),
1 => __('Yes', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Placeholder ----------------------------------------------------
'placeholder' => array(
'type' => 'placeholder',
'title' => '• '. __('Placeholder', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'other',
'attr' => array(
//'fields' => array(
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This item has no attributes.', 'mfn-opts'),
),
),
),
// Spacer ------------------------------------------------------
'spacer' => array(
'type' => 'spacer',
'title' => __('Spacer', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:height',
'id' => 'css_mcb-column-inner_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'css_style' => 'height',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'sliderbar-units',
'title' => __('Height', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 1000, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
'vh' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Accordion -----------------------------------------------------
'accordion' => array(
'type' => 'accordion',
'title' => __('Accordion', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info-key',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('Try the new Toggle element with unlimited customization options', 'mfn-opts'),
),
array(
'id' => 'title',
'type' => 'text',
'edit_tag' => '.accordion | h4',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'dynamic_data' => 'title',
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h4',
),
// tabs
array(
'type' => 'header',
'title' => __('Tabs', 'mfn-opts'),
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Accordion', 'mfn-opts'),
'desc' => __('JavaScript content like Google Maps and some plugins shortcodes do not work in tabs', 'mfn-opts'),
'options' => [
'title' => [
'input',
__('Title', 'mfn-opts'),
__('Sample tab', 'mfn-opts'),
],
'content' => [
'textarea',
__('Content', 'mfn-opts'),
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'std' => [
0 => [
'title' => __('This is the 1st item', 'mfn-opts'),
'content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
1 => [
'title' => __('This is the 2nd item', 'mfn-opts'),
'content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'preview' => 'tabs',
'primary' => 'title', // default
),
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'open1st',
're_render' => true,
'type' => 'switch',
'title' => __('Open first', 'mfn-opts'),
'options' => array(
0 => __('Default', 'mfn-opts'),
1 => __('Open first', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'openAll',
're_render' => true,
'type' => 'switch',
'title' => __('Open all', 'mfn-opts'),
'options' => array(
0 => __('Default', 'mfn-opts'),
1 => __('Open all', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'style',
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'accordion' => __('Accordion', 'mfn-opts'),
'toggle' => __('Toggle', 'mfn-opts'),
),
'std' => 'accordion',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .heading:color',
'id' => 'css_accordionheading_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .heading',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .heading:margin',
'id' => 'css_accordionheading_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .heading',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .heading:typography',
'id' => 'css_accordionheading_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .heading',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title bar', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question:margin',
'id' => 'css_question_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title:padding',
'id' => 'css_questiontitle_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title|before:border-style',
'id' => 'css_question_titlebefore_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title:before',
'css_style' => 'border-style',
'attr_id' => 'border_style_accq',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title|before:border-color',
'id' => 'css_question_titlebefore_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title:before',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_accq', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question:border-width',
'id' => 'css_question_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_accq', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question:border-radius',
'id' => 'css_question_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title:typography',
'id' => 'css_question_title_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title:box-shadow',
'id' => 'css_question_title_box_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title',
'css_style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title bar icon', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title i:font-size',
'id' => 'css_question_titlei_font_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .title i',
'css_style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .answer:color',
'id' => 'css_questionanswer_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .answer',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .answer:background',
'id' => 'css_question_answer_background',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .answer',
'css_style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .answer:padding',
'id' => 'css_questionanswer_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .answer',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .answer:typography',
'id' => 'css_question_answer_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .accordion .question .answer',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'themeoptions' => 'style:simple',
'title' => __('Question line', 'mfn-opts'),
),
array(
'type' => 'html',
'themeoptions' => 'style:simple',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Article box ---------------------------------------------------
'article_box' => array(
'type' => 'article_box',
'title' => __('Article box', 'mfn-opts'),
'size' => '1/3',
'tablet_size' => '1/3',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image width 384px - 960px depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'slogan',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.desc_wrapper | p',
'edit_tagchild' => 'span',
'edit_position' => 'prepend',
'title' => __('Slogan', 'mfn-opts'),
'desc' => __('Allowed HTML tags: span, strong, b, em, i, u', 'mfn-opts'),
'std' => __('This is the slogan', 'mfn-opts'),
'preview' => 'subtitle',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.desc_wrapper | .title',
'edit_position' => 'append',
'title' => __('Title', 'mfn-opts'),
'desc' => __('Allowed HTML tags: span, strong, b, em, i, u', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h4',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .photo_wrapper img:border-style',
'id' => 'css_article_boxphoto_wrapperimg_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .photo_wrapper img',
'css_style' => 'border-style',
'attr_id' => 'border_style_abimg',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .photo_wrapper img:border-color',
'id' => 'css_article_boxphoto_wrapperimg_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .photo_wrapper img',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_abimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .photo_wrapper img:border-width',
'id' => 'css_article_boxphoto_wrapperimg_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .photo_wrapper img',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_abimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .photo_wrapper img:border-radius',
'id' => 'css_article_boxphoto_wrapperimg_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .photo_wrapper img',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_wrapper:margin',
'id' => 'css_photo_wrapper_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_wrapper',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper:text-align',
'id' => 'css_desc_wrapper_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper:background',
'id' => 'css_desc_wrapper_background',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper',
'css_style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .desc_wrapper:border-style',
'id' => 'css_article_boxdesc_wrapper_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .desc_wrapper',
'css_style' => 'border-style',
'attr_id' => 'border_style_desc',
'class' => 'mfn-toggled',
'type' => 'select',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .desc_wrapper:border-color',
'id' => 'css_article_boxdesc_wrapper_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .desc_wrapper',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_desc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .desc_wrapper:border-width',
'id' => 'css_article_boxdesc_wrapper_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .desc_wrapper',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_desc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .desc_wrapper:border-radius',
'id' => 'css_article_boxdesc_wrapper_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .article_box .desc_wrapper',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper:padding',
'id' => 'css_desc_wrapper_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper:margin',
'id' => 'css_desc_wrapper_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title:color',
'id' => 'css_desc_wrappertitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title:margin',
'id' => 'css_desc_wrappertitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title:typography',
'id' => 'css_desc_wrappertitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Slogan', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper p:color',
'id' => 'css_desc_wrapperp_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper p',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper p:border-color',
'id' => 'css_desc_wrapperp_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper p',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'desc' => __('Works only with
classic style', 'mfn-opts'),
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper p:margin',
'id' => 'css_desc_wrapperp_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper p',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper p:typography',
'id' => 'css_desc_wrapperp_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper p',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Decoration', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper:--mfn-article-box-decoration',
'id' => 'css_desc_wrapper_mfn_article_box_decoration',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper',
'css_style' => '--mfn-article-box-decoration',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
// advanced here
),
),
// Banner Box ---------------------------------------------------
'banner_box' => array(
'type' => 'banner_box',
'title' => __('Banner box', 'mfn-opts'),
'size' => '1/3',
'tablet_size' => '1/3',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'title' => __('Box', 'mfn-opts'),
),
array(
'id' => 'style',
'attr_id' => 'style',
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Full', 'mfn-opts'),
'boxed' => __('Boxed', 'mfn-opts'),
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-desc:justify-content',
'id' => 'css_desc_justify',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-desc',
'css_style' => 'justify-content',
'responsive' => true,
'type' => 'switch',
'title' => __('Horizontal position', 'mfn-opts'),
'options' => array(
'flex-start' => __('Left', 'mfn-opts'),
'' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-desc:align-items',
'id' => 'css_desc_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-desc',
'css_style' => 'align-items',
'responsive' => true,
'type' => 'switch',
'title' => __('Vertical position', 'mfn-opts'),
'options' => array(
'flex-start' => __('Top', 'mfn-opts'),
'' => __('Center', 'mfn-opts'),
'flex-end' => __('Bottom', 'mfn-opts'),
),
'std' => '',
),
array(
'type' => 'header',
'title' => __('Image', 'mfn-opts'),
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'std' => $this->get_placeholder(),
),
array(
'id' => 'overlay',
'attr_id' => 'overlay',
'type' => 'switch',
'title' => __('Overlay', 'mfn-opts'),
'options' => array(
'' => __('Off', 'mfn-opts'),
'1' => __('On', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'hover_effect',
'type' => 'select',
'title' => __('Hover effect', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'toggle' => __('Toggle', 'mfn-opts'),
'zoom-in' => __('Zoom In', 'mfn-opts'),
'zoom-out' => __('Zoom Out', 'mfn-opts'),
'blur' => __('Blur', 'mfn-opts'),
),
'std' => '',
),
array(
'type' => 'header',
'title' => __('Title', 'mfn-opts'),
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.banner-wrapper | .title.banner-item',
'edit_position' => 'append',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h3',
),
array(
'type' => 'header',
'title' => __('Subtitle', 'mfn-opts'),
),
array(
'id' => 'subtitle',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.banner-wrapper | .subtitle.banner-item',
'edit_position' => 'prepend',
'title' => __('Subtitle', 'mfn-opts'),
'std' => __('This is the subtitle', 'mfn-opts'),
),
array(
'id' => 'subtitle_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Subtitle tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'p',
),
array(
'type' => 'header',
'title' => __('Excerpt', 'mfn-opts'),
),
array(
'id' => 'bb_excerpt',
'attr_id' => 'bb_excerpt',
'type' => 'textarea',
'dynamic_data' => 'content',
'edit_tag' => '.banner-wrapper | p.excerpt',
'edit_position' => 'append',
'title' => __('Excerpt', 'mfn-opts'),
),
// link
array(
'type' => 'header',
'title' => __('Call To Action', 'mfn-opts'),
),
array(
'id' => 'cta',
'attr_id' => 'cta',
're_render' => true,
'type' => 'select',
'title' => __('CTA type', 'mfn-opts'),
'options' => array(
'' => __('Text', 'mfn-opts'),
'icon' => __('Icon', 'mfn-opts'),
'image' => __('Image', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'cta_icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'condition' => array( 'id' => 'cta', 'opt' => 'is', 'val' => 'icon' ),
),
array(
'id' => 'cta_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'condition' => array( 'id' => 'cta', 'opt' => 'is', 'val' => 'image' ),
),
array(
'id' => 'link_title',
'type' => 'text',
'edit_tag' => '.banner-wrapper | .cta-text.banner-item',
'edit_position' => 'append',
'std' => __('Read more', 'mfn-opts'),
'condition' => array( 'id' => 'cta', 'opt' => 'is', 'val' => '' ),
'title' => __('Call to action', 'mfn-opts'),
),
array(
'id' => 'cta_hover_effect',
'type' => 'select',
'title' => __('Hover effect', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'zoom-in' => __('Zoom In', 'mfn-opts'),
),
'std' => '',
),
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'popup_id',
'type' => 'text',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
'' => __('Default | _self', 'mfn-opts'),
'1' => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title_2',
'type' => 'text',
'std' => __('Link title', 'mfn-opts'),
'condition' => array( 'id' => 'cta', 'opt' => 'is', 'val' => '' ),
'title' => __('Link title', 'mfn-opts'),
),
array(
'type' => 'header',
'title' => __('Order', 'mfn-opts'),
),
array(
'id' => 'order',
'type' => 'order',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'std' => 'title,subtitle,excerpt,divider,cta',
),
array(
'type' => 'header',
'title' => __('Responsive', 'mfn-opts'),
),
array(
'id' => 'hidden_elements_mobile',
'type' => 'select',
'title' => __('Hidden elements on mobile', 'mfn-opts'),
'options' => array(
0 => __('Default', 'mfn-opts'),
1 => __('Visible on mobile', 'mfn-opts'),
2 => __('Visible on tablet and mobile', 'mfn-opts'),
),
'std' => '0'
),
array(
'type' => 'header',
'title' => __('Badge', 'mfn-opts'),
),
array(
'id' => 'bb_badge',
'attr_id' => 'bb_badge',
'type' => 'text',
'edit_tag' => '.mfn-banner-box | .banner-badge',
'edit_position' => 'append',
'dynamic_data' => 'title',
'title' => __('Badge', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Box', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:--mfn-banner-box-offset',
'id' => 'css_box_offset',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'css_style' => '--mfn-banner-box-offset',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Offset', 'mfn-opts'),
'units' => array(
'px' => array('min' => 0, 'max' => 1000, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 100, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 100, 'step' => 0.1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:border-style',
'id' => 'css_box_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'css_style' => 'border-style',
'attr_id' => 'border_style_bannerbox',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:border-width',
'id' => 'css_box_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_bannerbox', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:border-radius',
'id' => 'css_box_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:box-shadow',
'id' => 'css_box_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'css_style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:--mfn-banner-box-animation-duration',
'id' => 'css_box_animation_duration',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'css_style' => '--mfn-banner-box-animation-duration',
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Transition duration', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '1',
'step' => '0.1',
'unit' => 's',
)
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'id' => 'image_height',
'attr_id' => 'image_height',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
'options' => [
'' => __('Auto', 'mfn-opts'),
'1' => __('Custom', 'mfn-opts'),
],
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-height .banner-image img:height',
'id' => 'css_banner-box-banner-box-heightbanner-imageimg_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-height .banner-image img',
'css_style' => 'height',
'type' => 'text',
'condition' => array( 'id' => 'image_height', 'opt' => 'is', 'val' => '1' ),
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Height', 'mfn-opts'),
'desc' => __('Use px, %, vw, vh or auto to set content width', 'mfn-opts'),
),
array(
'type' => 'header',
'condition' => array( 'id' => 'overlay', 'opt' => 'is', 'val' => '1' ),
'class' => 'toggled_header row-header',
'title' => __('Overlay', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Description wrapper', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper:width',
'id' => 'css_banner-box-wrapper_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper',
'css_style' => 'width',
'type' => 'text',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'boxed' ),
'default_unit' => '%',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Width', 'mfn-opts'),
'std' => '60%',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper:max-width',
'id' => 'css_banner-box_max_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper',
'css_style' => 'max-width',
'type' => 'text',
'default_unit' => '%',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Max width', 'mfn-opts'),
'std' => '100%',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper:text-align',
'id' => 'css_banner-box_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper:padding',
'id' => 'css_banner-box_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper:border-style',
'id' => 'css_banner-box-wrapper_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper',
'css_style' => 'border-style',
'attr_id' => 'border_style_bannerdesc',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'boxed' ),
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper:border-width',
'id' => 'css_banner-box-wrapper_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_bannerdesc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper:border-radius',
'id' => 'css_banner-box-wrapper_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'boxed' ),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper:box-shadow',
'id' => 'css_banner-box-wrapper_box_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box.mfn-banner-box-boxed .banner-wrapper',
'css_style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'boxed' ),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:--mfn-banner-box-hidden-content-gap',
'id' => 'css_banner-box_mfn_banner_box_hidden_content_gap',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'css_style' => '--mfn-banner-box-hidden-content-gap',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Hidden content gap', 'mfn-opts'),
'std' => '15px',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .title:typography',
'id' => 'css_banner-box_title_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'toggle_fields mfn-toggled',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .title:margin',
'id' => 'css_banner-box_title_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .title',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Subtitle', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .subtitle:typography',
'id' => 'css_banner-box_subtitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .subtitle',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'toggle_fields mfn-toggled',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .subtitle:margin',
'id' => 'css_banner-box_subtitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .subtitle',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'bb_excerpt', 'opt' => 'isnt', 'val' => '' ),
'class' => 'toggled_header row-header',
'title' => __('Excerpt', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .excerpt:typography',
'id' => 'css_banner-box_excerpt_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .excerpt',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'toggle_fields mfn-toggled',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .excerpt:margin',
'id' => 'css_banner-box_excerpt_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .excerpt',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'cta', 'opt' => 'is', 'val' => '' ),
'class' => 'toggled_header row-header',
'title' => __('CTA', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text:typography',
'id' => 'css_banner-box_cta-text_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'toggle_fields mfn-toggled',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text:margin',
'id' => 'css_banner-box_cta-text_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text:padding',
'id' => 'css_banner-box_cta-text_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text',
'css_style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text:border-style',
'id' => 'css_banner-box_cta-text_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text',
'css_style' => 'border-style',
'attr_id' => 'border_style_bannercta',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text:border-width',
'id' => 'css_banner-box_cta-text_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_bannercta', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text:border-radius',
'id' => 'css_banner-box_cta-text_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text:box-shadow',
'id' => 'css_banner-box_cta-text_box_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-text',
'css_style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'cta', 'opt' => 'is', 'val' => 'icon' ),
'class' => 'toggled_header row-header',
'title' => __('CTA', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:--mfn-banner-box-cta-icon-size',
'id' => 'css_banner-box_mfn_banner_box_cta_icon_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'css_style' => '--mfn-banner-box-cta-icon-size',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Icon size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 1000, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon:margin',
'id' => 'css_banner-box_cta-icon_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon:width',
'id' => 'css_banner-box_cta-icon_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon',
'css_style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Width', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon:height',
'id' => 'css_banner-box_cta-icon_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon',
'css_style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Height', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon:border-style',
'id' => 'css_banner-box_cta-icon_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon',
'css_style' => 'border-style',
'attr_id' => 'border_style_bannericoncta',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon:border-width',
'id' => 'css_banner-box_cta-icon_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_bannericoncta', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon:border-radius',
'id' => 'css_banner-box_cta-icon_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon:box-shadow',
'id' => 'css_banner-box_cta-icon_box_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-icon',
'css_style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'cta', 'opt' => 'is', 'val' => 'image' ),
'class' => 'toggled_header row-header',
'title' => __('CTA', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:--mfn-banner-box-cta-image-width',
'id' => 'css_banner-box_mfn_banner_box_cta_image_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'css_style' => '--mfn-banner-box-cta-image-width',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Image size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 1920, 'step' => 1),
'%' => array('min' => 1, 'max' => 100, 'step' => 1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image:width',
'id' => 'css_banner-box_cta-image_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image',
'css_style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Width', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image:height',
'id' => 'css_banner-box_cta-image_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image',
'css_style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Height', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image:margin',
'id' => 'css_banner-box_cta-image_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image:border-style',
'id' => 'css_banner-box_cta-image_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image',
'css_style' => 'border-style',
'attr_id' => 'border_style_bannerimagecta',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image:border-width',
'id' => 'css_banner-box_cta-image_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_bannerimagecta', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image:border-radius',
'id' => 'css_banner-box_cta-image_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image:box-shadow',
'id' => 'css_banner-box_cta-image_box_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-wrapper .cta-image',
'css_style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'bb_badge', 'opt' => 'isnt', 'val' => '' ),
'class' => 'toggled_header row-header',
'title' => __('Badge', 'mfn-opts'),
),
array(
'id' => 'bb_badge_pos',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Position', 'mfn-opts'),
'options' => [
'' => __('Top Right', 'mfn-opts'),
'top-left' => __('Top Left', 'mfn-opts'),
'bottom-right' => __('Bottom Right', 'mfn-opts'),
'bottom-left' => __('Bottom Left', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box:--mfn-banner-box-badge-offset',
'id' => 'css_banner-box_mfn_banner_box_badge_offset',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box',
'css_style' => '--mfn-banner-box-badge-offset',
'type' => 'sliderbar',
'title' => __('Offset', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '200',
'step' => '1',
'unit' => 'px',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge:padding',
'id' => 'css_banner-box-badge_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge:typography',
'id' => 'css_banner-box-badge_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'toggle_fields mfn-toggled',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge:border-style',
'id' => 'css_banner-box-badge_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge',
'css_style' => 'border-style',
'attr_id' => 'border_style_bannerimagecta',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge:border-width',
'id' => 'css_banner-box-badge_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_bannerimagecta', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge:border-radius',
'id' => 'css_banner-box-badge_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge:box-shadow',
'id' => 'css_banner-box-badge_box_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-banner-box .banner-badge',
'css_style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Before After ---------------------------------------------------
'before_after' => array(
'type' => 'before_after',
'title' => __('Before After', 'mfn-opts'),
'size' => '1/3',
'tablet_size' => '1/3',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
// image
array(
'type' => 'header',
'title' => __('Image', 'mfn-opts'),
),
array(
'id' => 'image_before',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Before', 'mfn-opts'),
'desc' => __('Recommended image width
768px - 1920px depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'image_after',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('After', 'mfn-opts'),
'desc' => __('Both images
must have the same size', 'mfn-opts'),
'std' => $this->get_placeholder(),
),
array(
'id' => 'size',
'type' => 'select',
're_render' => true,
'title' => __('Size', 'mfn-opts'),
'desc' => __('Select image size from
Settings > Media > Image sizes (Media Library images only)
or use below fields for HTML resize', 'mfn-opts'),
'php_options' => array(
'full' => __('Full size', 'mfn-opts'),
'large' => __('Large', 'mfn-opts') .' | '. mfn_get_image_sizes('large', 1),
'medium' => __('Medium', 'mfn-opts') .' | '. mfn_get_image_sizes('medium', 1),
'thumbnail' => __('Thumbnail', 'mfn-opts') .' | '. mfn_get_image_sizes('thumbnail', 1),
),
'js_options' => 'media_sizes',
'std' => 'full',
),
// label
array(
'type' => 'header',
'title' => __('Label', 'mfn-opts'),
),
array(
'id' => 'label_before',
'type' => 'text',
'title' => __('Before', 'mfn-opts'),
),
array(
'id' => 'label_after',
'type' => 'text',
'title' => __('After', 'mfn-opts'),
),
// deprecated
array(
'class' => 'mfn-deprecated',
'type' => 'header',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Slider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .twentytwenty-wrapper:--mfn-before-after-slider',
'id' => 'css_twentytwenty-wrapper_before_after_slider',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .twentytwenty-wrapper',
'css_style' => '--mfn-before-after-slider',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Label', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .twentytwenty-wrapper:--mfn-before-after-label',
'id' => 'css_twentytwenty-wrapper_mfn_before_after_label',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .twentytwenty-wrapper',
'css_style' => '--mfn-before-after-label',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .twentytwenty-wrapper:--mfn-before-after-label-color',
'id' => 'css_twentytwenty-wrapper_before_after_label_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .twentytwenty-wrapper',
'css_style' => '--mfn-before-after-label-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Blockquote -----------------------------------------------------
'blockquote' => array(
'type' => 'blockquote',
'title' => __('Blockquote', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'used_fonts' => '',
'cat' => 'typography',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'class' => 'form-content-full-width',
'editor' => 'basic',
'preview' => 'content',
),
array(
'id' => 'icon',
'type' => 'icon',
'themeoptions' => 'style:',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'author',
'type' => 'text',
'edit_tag' => '.blockquote .author | span',
'edit_position' => 'append',
'title' => __('Author', 'mfn-opts'),
'std' => __('This is the author', 'mfn-opts'),
),
array(
'id' => 'icon_author',
'type' => 'icon',
'title' => __('Icon author', 'mfn-opts'),
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote:text-align',
'id' => 'css_blockquoteblockquote_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote:color',
'id' => 'css_blockquoteblockquote_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote:margin',
'id' => 'css_blockquoteblockquote_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote:text-shadow',
'id' => 'css_blockquoteblockquote_text_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote',
'css_style' => 'text-shadow',
'type' => 'text_shadow',
'class' => 'mfn-toggled',
'title' => __('Text shadow', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote:typography',
'id' => 'css_blockquoteblockquote_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'toggle_fields mfn-toggled',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'themeoptions' => 'style:',
'title' => __('Content icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon:color',
'id' => 'css_blockquote-icon_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon',
'css_style' => 'color',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon:font-size',
'id' => 'css_blockquote-icon_font_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon',
'css_style' => 'font-size',
'type' => 'sliderbar',
'themeoptions' => 'style:',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon:top',
'id' => 'css_blockquote-icon_top',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon',
'css_style' => 'top',
'type' => 'text',
'themeoptions' => 'style:',
'responsive' => true,
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Top', 'mfn-opts')
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon:left',
'id' => 'css_blockquote-icon_left',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon',
'css_style' => 'left',
'type' => 'text',
'themeoptions' => 'style:',
'responsive' => true,
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Left', 'mfn-opts')
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon:bottom',
'id' => 'css_blockquote-icon_bottom',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon',
'css_style' => 'bottom',
'type' => 'text',
'themeoptions' => 'style:',
'responsive' => true,
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Bottom', 'mfn-opts')
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon:right',
'id' => 'css_blockquote-icon_right',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .mfn-blockquote-icon',
'css_style' => 'right',
'type' => 'text',
'themeoptions' => 'style:',
'responsive' => true,
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Right', 'mfn-opts')
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Author', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author:text-align',
'id' => 'css_blockquoteauthor_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author span,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author a:color',
'id' => 'css_blockquoteauthorspanblockquoteauthora_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author span,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author a',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author:typography',
'id' => 'css_blockquoteauthor_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'toggle_fields mfn-toggled',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author:margin',
'id' => 'css_blockquoteauthor_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Author icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author i:color',
'id' => 'css_blockquoteauthori_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author i',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author i:margin',
'id' => 'css_blockquoteauthori_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote .author i',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'themeoptions' => 'style:',
'title' => __('Lines', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote:text-decoration-color',
'id' => 'css_blockquote_text_decoration_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote',
'css_style' => 'text-decoration-color',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote:text-underline-offset',
'id' => 'css_blockquote_text_underline_offset',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote',
'css_style' => 'text-underline-offset',
'type' => 'text',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Offset', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote:text-decoration-thickness',
'id' => 'css_blockquoteblockquote_text_decoration_thickness',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blockquote blockquote',
'css_style' => 'text-decoration-thickness',
'type' => 'text',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Thickness', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Blog -----------------------------------------------------------
'blog' => array(
'type' => 'blog',
'title' => __('Blog', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'count',
're_render' => true,
'type' => 'text',
'title' => __('Posts number', 'mfn-opts'),
'std' => '3',
'after' => 'posts',
'param' => 'number',
'class' => 'narrow',
'preview' => 'number',
),
array(
'id' => 'style',
're_render' => true,
'type' => 'select',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'classic' => __('Classic - 1 column', 'mfn-opts'),
'grid' => __('Grid - 2-4 columns', 'mfn-opts'),
'masonry' => __('Masonry blog style - 2-4 columns', 'mfn-opts'),
'masonry tiles' => __('Masonry tiles - 2-4 columns', 'mfn-opts'),
'photo' => __('Photo - 1 column', 'mfn-opts'),
'photo2' => __('Photo 2 - 1-3 columns', 'mfn-opts'),
'timeline' => __('Timeline - 1 column', 'mfn-opts'),
),
'std' => 'grid',
'preview' => 'style',
),
array(
'id' => 'columns',
're_render' => true,
'type' => 'switch',
'title' => __('Columns', 'mfn-opts'),
'desc' => __('for style: Grid, Masonry, Photo 2', 'mfn-opts'),
'options' => array(
2 => 2,
3 => 3,
4 => 4,
5 => 5,
6 => 6,
),
'std' => 3,
),
array(
'id' => 'title_tag',
're_render' => true,
'type' => 'switch',
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h2'
),
array(
'id' => 'images',
're_render' => true,
'type' => 'switch',
'title' => __('Post image', 'mfn-opts'),
'desc' => __('for all styles except Masonry tiles', 'mfn-opts'),
'options' => array(
'' => 'Default',
'images-only' => 'Featured images only',
),
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
'preview' => 'category',
),
array(
'id' => 'category_multi',
're_render' => true,
'type' => 'text',
'title' => __('Multiple categories', 'mfn-opts'),
'desc' => __('Slugs should be separated with coma ( , )', 'mfn-opts'),
'preview' => 'category-all',
),
array(
'id' => 'orderby',
're_render' => true,
'type' => 'switch',
'title' => __('Order by', 'mfn-opts'),
'desc' => __('Do not use random order with pagination or load more', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'date'
),
array(
'id' => 'order',
're_render' => true,
'type' => 'switch',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'DESC' => __('Descending', 'mfn-opts'),
'ASC' => __('Ascending', 'mfn-opts'),
),
'std' => 'DESC'
),
array(
'id' => 'sticky_posts',
'type' => 'switch',
'title' => __('Sticky posts', 'mfn-opts'),
'options' => array(
'' => __('Include', 'mfn-opts'),
'1' => __('Exclude', 'mfn-opts'),
),
'std' => ''
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'exclude_id',
're_render' => true,
'type' => 'text',
'title' => __('Exclude posts', 'mfn-opts'),
'desc' => __('IDs should be separated with coma ( , )', 'mfn-opts'),
),
array(
'id' => 'related',
're_render' => true,
'type' => 'switch',
'title' => __('Use as related posts', 'mfn-opts'),
'desc' => __('Exclude current post on single post page. This option will overwrite exclude posts option above.', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'filters',
'attr_id' => 'filters',
're_render' => true,
'type' => 'select',
'title' => __('Filters', 'mfn-opts'),
'desc' => __('for style: Masonry and category: All
Does not work with pagination or load more', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
'only-categories' => __('Show only categories', 'mfn-opts'),
'only-tags' => __('Show only tags', 'mfn-opts'),
'only-authors' => __('Show only authors', 'mfn-opts'),
),
'std' => '0'
),
array(
'id' => 'excerpt',
're_render' => true,
'type' => 'switch',
'title' => __('Excerpt', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 1,
),
array(
'id' => 'more',
're_render' => true,
'type' => 'switch',
'title' => __('Read more', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 1,
),
// pagination
array(
'type' => 'header',
'title' => __('Pagination', 'mfn-opts'),
),
array(
'id' => 'pagination',
're_render' => true,
'type' => 'switch',
'title' => __('Pagination', 'mfn-opts'),
'desc' => __('Does not work on WMPL homepage', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'load_more',
're_render' => true,
'type' => 'switch',
'title' => __('Load more', 'mfn-opts'),
'desc' => __('Sliders will be replaced with featured images', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
// style
array(
'type' => 'header',
'title' => __('Style', 'mfn-opts'),
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => __('Grayscale', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'margin',
'desc' => __('For style: Masonry tiles', 'mfn-opts'),
'type' => 'switch',
'title' => __('Margin', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
// plugins
array(
'type' => 'header',
'title' => __('Plugins', 'mfn-opts'),
),
array(
'id' => 'events',
'type' => 'switch',
'title' => __('Events', 'mfn-opts'),
'desc' => __('for category: All
requires free The Events Calendar plugin', 'mfn-opts'),
'options' => array(
0 => __('Exclude', 'mfn-opts'),
1 => __('Include', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'class' => 'mfn-deprecated',
'type' => 'header',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'margin',
'type' => 'switch',
'class' => 'mfn-deprecated',
'title' => __('Margin', 'mfn-opts'),
'desc' => __('for style: Masonry tiles', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item:background-color',
'id' => 'css_post-item_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item:padding',
'id' => 'css_post-item_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item:border-style',
'id' => 'css_post-item_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item',
'css_style' => 'border-style',
'attr_id' => 'border_style_blog_item',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item:border-color',
'id' => 'css_post-item_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_blog_item', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item:border-width',
'id' => 'css_post-item_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_blog_item', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item:border-radius',
'id' => 'css_post-item_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .image_frame:border-style',
'id' => 'css_post-itemimage_frame_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .image_frame',
'css_style' => 'border-style',
'attr_id' => 'border_style_blogitem',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .image_frame:border-color',
'id' => 'css_post-itemimage_frame_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .image_frame',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_blogitem', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .image_frame:border-width',
'id' => 'css_post-itemimage_frame_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .image_frame',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_blogitem', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .image_frame:border-radius',
'id' => 'css_post-itemimage_frame_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .image_frame',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc:background-color',
'id' => 'css_post-desc_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc-wrapper:margin',
'id' => 'css_post-desc-wrapper_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc-wrapper',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc:padding',
'id' => 'css_post-desc_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Post header', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head:background-color',
'id' => 'css_post-descpost-head_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head .post-meta:color',
'id' => 'css_post-descpost-headpost-meta_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head .post-meta',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head:margin',
'id' => 'css_post-descpost-head_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head:padding',
'id' => 'css_post-descpost-head_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head:border-style',
'id' => 'css_post-descpost-head_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head',
'css_style' => 'border-style',
'attr_id' => 'border_style_bloghead',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head:border-color',
'id' => 'css_post-descpost-head_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_bloghead', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head:border-width',
'id' => 'css_post-descpost-head_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_bloghead', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head:border-radius',
'id' => 'css_post-descpost-head_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head:typography',
'id' => 'css_post-descpost-head_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-head',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-title .entry-title a:color',
'id' => 'css_post-descpost-titleentry-titlea_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-title .entry-title a',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-title .entry-title:margin',
'id' => 'css_post-descpost-titleentry-title_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-title .entry-title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-title .entry-title:typography',
'id' => 'css_post-descpost-titleentry-title_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-title .entry-title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Excerpt', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-excerpt:color',
'id' => 'css_post-descpost-excerpt_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-excerpt',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-excerpt:margin',
'id' => 'css_post-descpost-excerpt_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-excerpt',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-excerpt:typography',
'id' => 'css_post-descpost-excerpt_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-excerpt',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Post footer', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer:background-color',
'id' => 'css_post-descpost-footer_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer .button-love a .label:color',
'id' => 'css_post_footer_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer .button-love a .label',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer:margin',
'id' => 'css_post-descpost-footer_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer:padding',
'id' => 'css_post-descpost-footer_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer:border-style',
'id' => 'css_post-descpost-footer_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer',
'css_style' => 'border-style',
'attr_id' => 'border_style_blogpf',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer:border-color',
'id' => 'css_post-descpost-footer_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_blogpf', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer:border-width',
'id' => 'css_post-descpost-footer_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_blogpf', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer:border-radius',
'id' => 'css_post-descpost-footer_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer:typography',
'id' => 'css_post-descpost-footer_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-desc .post-footer',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Masonry tiles line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-title|after:background',
'id' => 'css_post-titleafter_background',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .post-title:after',
'css_style' => 'background',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Timeline', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .date_label:color',
'id' => 'css_post-itemdate_label_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .date_label',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Date color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .date_label:--mfn-blog-date-bg',
'id' => 'css_post-itemdate_label_blog_date_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .date_label',
'css_style' => '--mfn-blog-date-bg',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Date background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .date_label:padding',
'id' => 'css_post-itemdate_label_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item .date_label',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item|before:border-color',
'id' => 'css_post-itembefore_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_wrapper .post-item:before',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Dot color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'condition' => array( 'id' => 'filters', 'opt' => 'isnt', 'val' => '0' ),
'title' => __('Filters', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Nav', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons:padding',
'id' => 'css_filters_buttons_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons:background',
'id' => 'css_filters_buttons_background',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons',
'css_style' => 'background',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons:border-style',
'id' => 'css_filters_buttons_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons',
'css_style' => 'border-style',
'attr_id' => 'border_style_blog_filters',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons:border-color',
'id' => 'css_filters_buttons_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_blog_filters', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons:border-width',
'id' => 'css_filters_buttons_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_blog_filters', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons:border-radius',
'id' => 'css_filters_buttons_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons li:color',
'id' => 'css_filters_buttonsli_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons li',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Label color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons li:typography',
'id' => 'css_filters_buttonsli_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_buttons li',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Filters', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:padding',
'id' => 'css_filters_wrapper_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:margin',
'id' => 'css_filters_wrapper_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:background',
'id' => 'css_filters_wrapper_background',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'css_style' => 'background',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:border-style',
'id' => 'css_filters_wrapper_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'css_style' => 'border-style',
'attr_id' => 'border_blog_filters_wrapper',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:border-width',
'id' => 'css_filters_wrapper_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_blog_filters_wrapper', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:border-radius',
'id' => 'css_filters_wrapper_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Filters items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li:width',
'id' => 'css_filters_wrapperli_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li',
'css_style' => 'width',
'attr_id' => 'filters_items_width_switcher',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Items width', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'auto' => __('Auto', 'mfn-opts'),
],
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:padding',
'id' => 'css_filters_wrapperlia_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li:margin',
'id' => 'css_filters_wrapperli_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:border-style',
'id' => 'css_filters_wrapperlia_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'css_style' => 'border-style',
'attr_id' => 'border_blog_filters_wrapper_li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:border-width',
'id' => 'css_filters_wrapperlia_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_blog_filters_wrapper_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:border-radius',
'id' => 'css_filters_wrapperlia_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li:typography',
'id' => 'css_filters_wrapperli_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Filters exit', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:width',
'id' => 'css_filters_wrapperliclosea_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a',
'css_style' => 'width',
'attr_id' => 'filters_items_width_switcher',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'auto' => __('Auto', 'mfn-opts'),
],
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:padding',
'id' => 'css_filters_wrapperliclosea_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Blog News ------------------------------------------------------
'blog_news' => array(
'type' => 'blog_news',
'title' => __('Blog News', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.Latest_news | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h3',
),
array(
'id' => 'items_title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Items title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h5',
),
array(
'id' => 'count',
'type' => 'text',
're_render' => true,
'title' => __('Posts number', 'mfn-opts'),
'std' => '5',
'after' => 'posts',
'param' => 'number',
'class' => 'narrow',
'preview' => 'number',
),
array(
'id' => 'style',
'attr_id' => 'style',
'type' => 'switch',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'featured' => __('Featured 1st', 'mfn-opts'),
),
'preview' => 'style',
),
array(
'id' => 'featured_title_tag',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'featured' ),
'type' => 'switch',
're_render' => true,
'title' => __('Featured title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h4',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
'preview' => 'category',
),
array(
'id' => 'category_multi',
're_render' => true,
'type' => 'text',
'title' => __('Multiple categories', 'mfn-opts'),
'desc' => __('Slugs should be separated with coma ( , )', 'mfn-opts'),
'preview' => 'category-all',
),
array(
'id' => 'orderby',
'type' => 'switch',
're_render' => true,
'title' => __('Order by', 'mfn-opts'),
'desc' => __('Do not use random order with pagination or load more', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'date',
),
array(
'id' => 'order',
'type' => 'switch',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'options' => array(
'DESC' => __('Descending', 'mfn-opts'),
'ASC' => __('Ascending', 'mfn-opts'),
),
'std' => 'DESC',
),
array(
'id' => 'sticky_posts',
'type' => 'switch',
'title' => __('Sticky posts', 'mfn-opts'),
'options' => array(
'' => __('Include', 'mfn-opts'),
'1' => __('Exclude', 'mfn-opts'),
),
'std' => ''
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'excerpt',
'type' => 'switch',
're_render' => true,
'title' => __('Excerpt', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
'featured' => __('Show for featured only', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
're_render' => true,
'title' => __('Button link', 'mfn-opts'),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
're_render' => true,
'title' => __('Button title', 'mfn-opts'),
),
// deprecated
array(
'class' => 'mfn-deprecated',
'type' => 'header',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Item title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .title:color',
'id' => 'css_latest_newstitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .title:margin',
'id' => 'css_latest_newstitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .title:typography',
'id' => 'css_latest_newstitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news li .photo:border-style',
'id' => 'css_latest_newsliphoto_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news li .photo',
'css_style' => 'border-style',
'attr_id' => 'border_style_lnp',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news li .photo:border-color',
'id' => 'css_latest_newsliphoto_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news li .photo',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_lnp', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news li .photo:border-width',
'id' => 'css_latest_newsliphoto_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news li .photo',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_lnp', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news li .photo:border-radius',
'id' => 'css_latest_newsliphoto_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news li .photo',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Featured title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news.featured .desc h4 a:color',
'id' => 'css_latest_newsfeatureddesch4a_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news.featured .desc h4 a',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news.featured .desc h4:margin',
'id' => 'css_latest_newsfeatureddesch4_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news.featured .desc h4',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news.featured .desc h4 a:typography',
'id' => 'css_latest_news_featured_desc_title_4_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news.featured .desc h4 a',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc h5 a:color',
'id' => 'css_latest_newsdesch5a_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc h5 a',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc h5:margin',
'id' => 'css_latest_newsdesch5_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc h5',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc h5 a:typography',
'id' => 'css_latest_news_featured_desc_title_5_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc h5 a',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Excerpt', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc .post-excerpt:color',
'id' => 'css_latest_newsdescpost-excerpt_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc .post-excerpt',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc .post-excerpt:margin',
'id' => 'css_latest_newsdescpost-excerpt_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc .post-excerpt',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc .post-excerpt:typography',
'id' => 'css_latest_newsdescpost-excerpt_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news .desc .post-excerpt',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Post footer', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer:background-color',
'id' => 'css_latest_newsullidesc_footer_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer .button-love a .label:color',
'id' => 'css_post_footer_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer .button-love a .label',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer:margin',
'id' => 'css_latest_newsullidesc_footer_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer:padding',
'id' => 'css_latest_newsullidesc_footer_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer:border-style',
'id' => 'css_latest_newsullidesc_footer_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer',
'css_style' => 'border-style',
'attr_id' => 'border_style_lndf',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer:border-color',
'id' => 'css_latest_newsullidesc_footer_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_lndf', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer:border-width',
'id' => 'css_latest_newsullidesc_footer_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_lndf', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer:border-radius',
'id' => 'css_latest_newsullidesc_footer_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer:typography',
'id' => 'css_latest_newsullidesc_footer_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .Latest_news ul li .desc_footer',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Blog Slider ----------------------------------------------------
'blog_slider' => array(
'type' => 'blog_slider',
'title' => __('Blog Slider', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'style',
'attr_id' => 'blog_slider_style',
'type' => 'switch',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'flat' => __('Flat', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'title',
'condition' => array( 'id' => 'blog_slider_style', 'opt' => 'is', 'val' => '' ),
'type' => 'text',
'title' => __('Title', 'mfn-opts'),
'edit_tag' => '.blog_slider_header | .title',
'edit_class' => 'title',
'dynamic_data' => 'title',
'edit_position' => 'prepend',
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h4',
),
array(
'id' => 'count',
'type' => 'text',
're_render' => true,
'title' => __('Posts number', 'mfn-opts'),
'std' => '5',
'after' => 'posts',
'param' => 'number',
'class' => 'narrow',
'preview' => 'number',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
'type' => 'select',
're_render' => true,
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
'preview' => 'category',
),
array(
'id' => 'category_multi',
'type' => 'text',
're_render' => true,
'title' => __('Multiple categories', 'mfn-opts'),
'desc' => __('Slugs should be separated with coma ( , )', 'mfn-opts'),
'preview' => 'category-all',
),
array(
'id' => 'orderby',
'type' => 'switch',
're_render' => true,
'title' => __('Order by', 'mfn-opts'),
'desc' => __('Do not use random order with pagination or load more', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'date',
),
array(
'id' => 'order',
'type' => 'switch',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'options' => array(
'DESC' => __('Descending', 'mfn-opts'),
'ASC' => __('Ascending', 'mfn-opts'),
),
'std' => 'DESC'
),
array(
'id' => 'sticky_posts',
'type' => 'switch',
'title' => __('Sticky posts', 'mfn-opts'),
'options' => array(
'' => __('Include', 'mfn-opts'),
'1' => __('Exclude', 'mfn-opts'),
),
'std' => ''
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'one_post_per_slide',
'type' => 'switch',
're_render' => true,
'title' => __('One post per slide', 'mfn-opts'),
'desc' => __('Display single post per slide, instead few of them', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'excerpt',
'type' => 'switch',
're_render' => true,
'title' => __('Excerpt', 'mfn-opts'),
'options' => array(
'' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'more',
'condition' => array( 'id' => 'blog_slider_style', 'opt' => 'is', 'val' => '' ),
'type' => 'switch',
're_render' => true,
'title' => __('Read more', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 1,
),
array(
'id' => 'navigation',
'condition' => array( 'id' => 'blog_slider_style', 'opt' => 'is', 'val' => '' ),
'type' => 'switch',
're_render' => true,
'title' => __('Navigation', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'hide-arrows' => __('Hide arrows', 'mfn-opts'),
'hide-dots' => __('Hide dots', 'mfn-opts'),
'hide-nav' => __('Hide nav', 'mfn-opts'),
),
'std' => '',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Item title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title:color',
'id' => 'css_blog_slider_headertitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title:margin',
'id' => 'css_blog_slider_headertitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title:typography',
'id' => 'css_blog_slider_headertitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame:border-style',
'id' => 'css_blog_slider_ulliitem_wrapperimage_frame_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame',
'css_style' => 'border-style',
'attr_id' => 'border_style_bs',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame:border-color',
'id' => 'css_blog_slider_ulliitem_wrapperimage_frame_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_bs', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame:border-width',
'id' => 'css_blog_slider_ulliitem_wrapperimage_frame_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_bs', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame:border-radius',
'id' => 'css_blog_slider_ulliitem_wrapperimage_frame_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame:margin',
'id' => 'css_blog_slider_ulliitem_wrapperimage_frame_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper .image_frame',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc h4 a:color',
'id' => 'css_blog_slider_ullidesch4a_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc h4 a',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc h4:margin',
'id' => 'css_blog_slider_ullidesch4_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc h4',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc h4:typography',
'id' => 'css_blog_slider_ullidesch4_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc h4',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Excerpt', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc .post_excerpt:color',
'id' => 'css_blog_slider_ullidescpost_excerpt_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc .post_excerpt',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc .post_excerpt:margin',
'id' => 'css_blog_slider_ullidescpost_excerpt_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc .post_excerpt',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc .post_excerpt:typography',
'id' => 'css_blog_slider_ullidescpost_excerpt_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc .post_excerpt',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:padding',
'id' => 'css_blog_sliderbutton_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:typography',
'id' => 'css_blog_sliderbutton_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:border-style',
'id' => 'css_blog_sliderbutton_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button',
'css_style' => 'border-style',
'attr_id' => 'border_style_bsb',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:border-width',
'id' => 'css_blog_sliderbutton_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button:border-radius',
'id' => 'css_blog_sliderbutton_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Arrows', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button:padding',
'id' => 'css_blog_sliderblog_slider_headerbutton_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button:typography',
'id' => 'css_blog_sliderblog_slider_headerbutton_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button:border-style',
'id' => 'css_blog_sliderblog_slider_headerbutton_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button',
'css_style' => 'border-style',
'attr_id' => 'border_style_bsb',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button:border-width',
'id' => 'css_blog_sliderblog_slider_headerbutton_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_bsb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button:border-radius',
'id' => 'css_blog_sliderblog_slider_headerbutton_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .blog_slider_header .button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Dots', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .slider_pagination li a:margin',
'id' => 'css_blog_slider_paginationlia_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider .slider_pagination li a',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Date', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper:--mfn-blog-slider-date-bg',
'id' => 'css_blog_slider_ulliitem_wrapper_mfn_blog_slider_date_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .item_wrapper',
'css_style' => '--mfn-blog-slider-date-bg',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .date_label:color',
'id' => 'css_blog_slider_ullidate_label_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .date_label',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .date_label:margin',
'id' => 'css_blog_slider_ullidate_label_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .date_label',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .date_label:padding',
'id' => 'css_blog_slider_ullidate_label_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .date_label',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .date_label:typography',
'id' => 'css_blog_slider_ullidate_label_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .date_label',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc hr:background',
'id' => 'css_blog_slider_ullideschr_background',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_ul li .desc hr',
'css_style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
// advanced here
),
),
// Blog Teaser ------------------------------------------------------
'blog_teaser' => array(
'type' => 'blog_teaser',
'title' => __('Blog Teaser', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'type' => 'text',
'edit_tag' => '.blog-teaser | .title',
'edit_position' => 'prepend',
'dynamic_data' => 'title',
'title' => __('Heading', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'heading_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Heading tag', 'mfn-opts'),
'options' => array(
'h1' => 'H1',
'h2' => 'H2',
'h3' => 'H3',
'h4' => 'H4',
'h5' => 'H5',
'h6' => 'H6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h3'
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'desc' => __('Title tag for 1st item, others use a smaller one', 'mfn-opts'),
'options' => array(
'h1' => 'H1',
'h2' => 'H2',
'h3' => 'H3',
'h4' => 'H4',
'h5' => 'H5',
'h6' => 'H6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h3'
),
array(
'id' => 'category',
'type' => 'select',
're_render' => true,
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('category'),
'js_hierarchical_options' => 'blog_categories',
'preview' => 'category',
),
array(
'id' => 'category_multi',
'type' => 'text',
're_render' => true,
'title' => __('Multiple categories', 'mfn-opts'),
'desc' => __('Slugs should be separated with coma ( , )', 'mfn-opts'),
'preview' => 'category-all',
),
array(
'id' => 'orderby',
're_render' => true,
'type' => 'switch',
'title' => __('Order by', 'mfn-opts'),
'desc' => __('Do not use random order with pagination or load more', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'date'
),
array(
'id' => 'order',
're_render' => true,
'type' => 'switch',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'DESC' => __('Descending', 'mfn-opts'),
'ASC' => __('Ascending', 'mfn-opts'),
),
'std' => 'DESC'
),
array(
'id' => 'sticky_posts',
'type' => 'switch',
'title' => __('Sticky posts', 'mfn-opts'),
'options' => array(
'' => __('Include', 'mfn-opts'),
'1' => __('Exclude', 'mfn-opts'),
),
'std' => ''
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'margin',
'type' => 'switch',
're_render' => true,
'title' => __('Margin', 'mfn-opts'),
'options' => array(
'0' => __('Disable', 'mfn-opts'),
'1' => __('Enable', 'mfn-opts'),
),
'std' => '0'
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Item title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .title:color',
'id' => 'css_blog-teasertitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .title:margin',
'id' => 'css_blog-teasertitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .title:typography',
'id' => 'css_blog-teasertitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .teaser-wrapper li:border-style',
'id' => 'css_teaser-wrapperli_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .teaser-wrapper li',
'css_style' => 'border-style',
'attr_id' => 'border_style_tw',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .teaser-wrapper li:border-color',
'id' => 'css_teaser-wrapperli_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .teaser-wrapper li',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_tw', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .teaser-wrapper li:border-width',
'id' => 'css_teaser-wrapperli_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .teaser-wrapper li',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_tw', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .teaser-wrapper li:border-radius',
'id' => 'css_teaser-wrapperli_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .teaser-wrapper li',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-title a:color',
'id' => 'css_blog-teaserteaser-wrapperlidescpost-titlea_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-title a',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-title a:typography',
'id' => 'css_blog-teaser-wrapperlidescpost-titlea_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-title a',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Post header', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta:background-color',
'id' => 'css_blog-teaser-wrapperlidescpost-meta_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta:color',
'id' => 'css_blog-teaserteaser-wrapperlidescpost-meta_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta:margin',
'id' => 'css_blog-teaserteaser-wrapperlidescpost-meta_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta:padding',
'id' => 'css_blog-teaserteaser-wrapperlidescpost-meta_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta:border-style',
'id' => 'css_blog-teaser-wrapperlidescpost-meta_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta',
'css_style' => 'border-style',
'attr_id' => 'border_style_twpm',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta:border-color',
'id' => 'css_blog-teaser-wrapperlidescpost-meta_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_twpm', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta:border-width',
'id' => 'css_blog-teaser-wrapperlidescpost-meta_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_twpm', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta:border-radius',
'id' => 'css_blog-teaser-wrapperlidescpost-meta_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta:typography',
'id' => 'css_blog-teaser-wrapperlidescpost-meta_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser .teaser-wrapper li .desc .post-meta',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser li .desc-wrapper .desc .post-title|after:background-color',
'id' => 'css_blog-teaserlidesc-wrapperdescpost-titleafter_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog-teaser li .desc-wrapper .desc .post-title:after',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Breadcrumbs ------------------------------------------------------
'breadcrumbs' => array(
'type' => 'breadcrumbs',
'title' => __('Breadcrumbs', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'separator',
'type' => 'text',
'title' => __('Separator', 'mfn-opts'),
'std' => __('>', 'mfn-opts'),
),
array(
'id' => 'breadcrumb_home',
'type' => 'switch',
're_render' => true,
'title' => __('Home page', 'mfn-opts'),
'options' => [
'' => 'Include',
'1' => 'No', // because by default was included
],
'std' => '1',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs:justify-content',
'id' => 'css_breadcrumbs_justify_content',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs',
'css_style' => 'justify-content',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs:typography',
'id' => 'css_breadcrumbs_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs:gap',
'id' => 'css_breadcrumbs_gap',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs',
'css_style' => 'gap',
'type' => 'sliderbar',
'title' => __('Gap', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs li:color',
'id' => 'css_breadcrumbsli_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs li',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Text color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Separator', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs li .mfn-breadcrumbs-separator:color',
'id' => 'css_breadcrumbsli-breadcrumbs-separator_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs li .mfn-breadcrumbs-separator',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs li .mfn-breadcrumbs-separator:font-size',
'id' => 'css_breadcrumbsli-breadcrumbs-separator_font_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .breadcrumbs li .mfn-breadcrumbs-separator',
'css_style' => 'font-size',
'type' => 'sliderbar',
'title' => __('Size', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
),
array(
'type' => 'html',
'html' => '
',
)
)
),
// Button ----------------------------------------------------
'button' => array(
'type' => 'button',
'title' => __('Button', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'typography',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'type' => 'text',
'edit_tag' => '.button | span.button_label',
'edit_position' => 'append',
'dynamic_data' => 'title',
'title' => __('Title', 'mfn-opts'),
'std' => __('Click here', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Link target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// icon
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon',
'type' => 'icon',
'attr_id' => 'button_icon_select',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon_position',
'type' => 'switch',
'title' => __('Position', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => 'left',
),
// style
array(
'type' => 'header',
'title' => __('Style', 'mfn-opts'),
),
array(
'id' => 'size',
'type' => 'switch',
'title' => __('Size', 'mfn-opts'),
'options' => array(
1 => __('Small', 'mfn-opts'),
2 => __('Default', 'mfn-opts'),
3 => __('Large', 'mfn-opts'),
4 => __('XL', 'mfn-opts'),
),
'std' => 2,
),
array(
'id' => 'full_width',
'type' => 'switch',
'title' => __('Width', 'mfn-opts'),
'options' => array(
0 => __('Default', 'mfn-opts'),
1 => __('Full width', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'button_style',
're_render' => true,
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'button_theme' => __('Highlighted', 'mfn-opts'),
),
'std' => '',
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'button_function',
'attr_id' => 'button_function',
'type' => 'select',
'title' => __('Functional button', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'exit-mfn-popup' => __('Close popup', 'mfn-opts'),
'open-mfn-popup' => __('Open popup', 'mfn-opts'),
'mfn-go-to' => __('Go to Section', 'mfn-opts'),
'mfn-read-more' => __('Read more', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'button_function_read_more_title',
'condition' => array( 'id' => 'button_function', 'opt' => 'is', 'val' => 'mfn-read-more' ),
'type' => 'text',
'title' => __('Button title after expand', 'mfn-opts'),
),
array(
'id' => 'button_function_read_more_icon',
'condition' => array( 'id' => 'button_function', 'opt' => 'is', 'val' => 'mfn-read-more' ),
'type' => 'icon',
'title' => __('Button icon after expand', 'mfn-opts'),
),
array(
'id' => 'button_function_go_to',
'condition' => array( 'id' => 'button_function', 'opt' => 'is', 'val' => 'mfn-go-to' ),
'type' => 'select',
'title' => __('Section to go', 'mfn-opts'),
'options' => array(
'' => __('Next', 'mfn-opts'),
'last' => __('Last', 'mfn-opts'),
'prev' => __('Prev', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'button_function_popupid',
'condition' => array( 'id' => 'button_function', 'opt' => 'is', 'val' => 'open-mfn-popup' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'text',
'title' => __('Class', 'mfn-opts'),
'desc' => __('This option is useful when you want to use scroll', 'mfn-opts'),
),
array(
'id' => 'button_id',
'type' => 'text',
'title' => __('ID', 'mfn-opts'),
'desc' => __('This option is useful when you want to use GTM', 'mfn-opts'),
),
array(
'id' => 'download',
'type' => 'text',
'title' => __('Download', 'mfn-opts'),
'desc' => __('Enter the new filename for the downloaded file', 'mfn-opts'),
),
array(
'id' => 'rel',
'type' => 'text',
'title' => __('Rel', 'mfn-opts'),
'before' => 'rel=',
),
array(
'id' => 'onclick',
'type' => 'text',
'title' => __('Onclick', 'mfn-opts'),
'before' => 'onclick=',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'align',
'class' => 'mfn-deprecated',
'type' => 'switch',
'title' => __('Alignment', 'mfn-opts'),
'options' => array(
'' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
'preview' => 'align',
),
array(
'id' => 'color',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
'desc' => __('For theme color button please enter theme in color filed', 'mfn-opts'),
),
array(
'id' => 'font_color',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Text color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:text-align',
'id' => 'css__text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:padding',
'id' => 'css_button_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:typography',
'id' => 'css_button_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:border-style',
'id' => 'css_button_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'css_style' => 'border-style',
'attr_id' => 'border_style_button',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:border-width',
'id' => 'css_button_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button:border-radius',
'id' => 'css_button_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_button_box_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .button',
'css_style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Call to Action -------------------------------------------------
'call_to_action' => array(
'type' => 'call_to_action',
'title' => __('Call to Action', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'edit_tag' => '.call_left | .title',
'edit_position' => 'prepend',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h3',
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-check',
'preview' => 'icon',
),
array(
'id' => 'content',
'type' => 'textarea',
'edit_tag' => '.call_right | div.desc',
'edit_position' => 'prepend',
'dynamic_data' => 'content',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'button_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Button title', 'mfn-opts'),
'desc' => __('Leave this field blank if you want Call to action with big icon', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'dynamic_data' => 'title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_left .title:color',
'id' => 'css_call_to_actioncall_lefttitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_left .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_left .title:text-align',
'id' => 'css_call_to_actioncall_lefttitle_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_left .title',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_left .title:typography',
'id' => 'css_call_to_actioncall_lefttitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_left .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_right .desc:color',
'id' => 'css_call_to_actioncall_rightdesc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_right .desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_right .desc:text-align',
'id' => 'css_call_to_actioncall_rightdesc_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_right .desc',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_right .desc:typography',
'id' => 'css_call_to_actioncall_rightdesc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_right .desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper i:color',
'id' => 'css_call_to_actioncall_centericon_wrapperi_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper i',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper:background-color',
'id' => 'css_call_to_actioncall_centericon_wrapper_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper i:font-size',
'id' => 'css_call_to_actioncall_centericon_wrapperi_font_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper i',
'css_style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper:border-style',
'id' => 'css_call_to_actioncall_centericon_wrapper_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper',
'css_style' => 'border-style',
'attr_id' => 'border_style_ctaiw',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper:border-color',
'id' => 'css_call_to_actioncall_centericon_wrapper_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_ctaiw', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper:border-width',
'id' => 'css_call_to_actioncall_centericon_wrapper_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_ctaiw', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper:border-radius',
'id' => 'css_call_to_actioncall_centericon_wrapper_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .icon_wrapper',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:padding',
'id' => 'css_call_to_actioncall_centerbutton_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:typography',
'id' => 'css_call_to_actioncall_centerbutton_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:border-style',
'id' => 'css_call_to_actioncall_centerbutton_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button',
'css_style' => 'border-style',
'attr_id' => 'border_style_ctab',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:border-width',
'id' => 'css_call_to_actioncall_centerbutton_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_ctab', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button:border-radius',
'id' => 'css_call_to_actioncall_centerbutton_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .call_to_action .call_center .button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// cf7 contact form 7 ---------------------------------------------------------
'cf7' => array(
'type' => 'cf7',
'title' => __('Contact Form 7', 'mfn-opts'),
'size' => '1/1',
'laptop_size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'plugins',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'form',
'type' => 'select',
're_render' => true,
'title' => __('Contact form', 'mfn-opts'),
'php_options' => mfna_cf7(),
'js_options' => 'cf7',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Labels', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form label:color',
'id' => 'css_formformlabel_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form label',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form p,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form label:margin',
'id' => 'css_formpformlabel_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form p,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form label',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form label:typography',
'id' => 'css_formformlabel_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form label',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form label:text-align',
'id' => 'css_formformlabel_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form label',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Inputs', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:typography',
'id' => 'css_field_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:text-align',
'id' => 'css_field_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:padding',
'id' => 'css_field_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:margin',
'id' => 'css_field_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:border-style',
'id' => 'css_field_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'css_style' => 'border-style',
'attr_id' => 'border_style_cf7inputs',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:border-width',
'id' => 'css_field_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_cf7inputs', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input|not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:border-radius',
'id' => 'css_field_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input:not(.wpcf7-submit),.mcb-section .mcb-wrap .mcb-item-mfnuidelement form select, .mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Textarea', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea:height',
'id' => 'css_textarea_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form textarea',
'css_style' => 'height',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Height', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '700',
'step' => '1',
),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Fields wrapper', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form .column:padding',
'id' => 'css_formcolumn_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form .column',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'desc' => __('Modifies div.column that is included by default in the Betheme forms.', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button:typography',
'id' => 'css_button_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button:padding',
'id' => 'css_button_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button:margin',
'id' => 'css_button_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button:border-style',
'id' => 'css_button_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button',
'css_style' => 'border-style',
'attr_id' => 'border_style_cf7button',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button:border-width',
'id' => 'css_button_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_cf7button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button:border-radius',
'id' => 'css_button_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement form input.wpcf7-submit,.mcb-section .mcb-wrap .mcb-item-mfnuidelement form button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Chart ---------------------------------------------------------
'chart' => array(
'type' => 'chart',
'title' => __('Chart', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Title', 'mfn-opts'),
'edit_tag' => '.chart_box | big',
'edit_position' => 'append',
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'p',
),
// chart
array(
'type' => 'header',
'title' => __('Chart', 'mfn-opts'),
),
array(
'id' => 'percent',
'type' => 'text',
're_render' => true,
'title' => __('Percent', 'mfn-opts'),
'desc' => __('0-100', 'mfn-opts'),
'param' => 'number',
'after' => '%',
'class' => 'narrow',
'preview' => 'number',
'std' => 50,
),
array(
'id' => 'label',
'type' => 'text',
'title' => __('Label', 'mfn-opts'),
'preview' => 'subtitle',
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-check',
),
array(
'id' => 'image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image size 70px x 70px', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .chart-desc:color',
'id' => 'css_chart_boxchart-desc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .chart-desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .chart-desc:typography',
'id' => 'css_chart_boxchart-desc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .chart-desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Label', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .num:color',
'id' => 'css_chart_boxnum_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .num',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .num:typography',
'id' => 'css_chart_boxnum_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .num',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Style Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .icon i:color',
'id' => 'css_chart_boxiconi_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .icon i',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .icon i:font-size',
'id' => 'css_chart_boxiconi_font_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .chart_box .icon i',
'css_style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Chart', 'mfn-opts'),
),
array(
'id' => 'color',
'type' => 'color',
're_render' => true,
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
'desc' => __('Overrides color set in Theme Options', 'mfn-opts'),
),
array(
'id' => 'line_width',
'type' => 'text',
'title' => __('Line thickness', 'mfn-opts'),
'param' => 'number',
'after' => 'px',
'class' => 'narrow mfn-toggled',
'placeholder' => 4,
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Clients -------------------------------------------------------
'clients' => array(
'type' => 'clients',
'title' => __('Clients', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'in_row',
'type' => 'text',
're_render' => true,
'title' => __('Items in row', 'mfn-opts'),
'desc' => __('Recommended: 3-6', 'mfn-opts'),
'after' => 'items',
'param' => 'number',
'class' => 'narrow',
'std' => 6,
'preview' => 'number',
),
array(
'id' => 'style',
'type' => 'switch',
'attr_id' => 'clients_style',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'tiles' => __('Tiles', 'mfn-opts'),
),
'std' => '',
'preview' => 'style',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('client-types'),
'js_hierarchical_options' => 'client_types',
'preview' => 'category',
),
array(
'id' => 'orderby',
're_render' => true,
'type' => 'switch',
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'menu_order'
),
array(
'id' => 'order',
're_render' => true,
'type' => 'switch',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'DESC' => __('Descending', 'mfn-opts'),
'ASC' => __('Ascending', 'mfn-opts'),
),
'std' => 'ASC',
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => 'Grayscale',
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.clients li .client_wrapper:height',
'id' => 'css_ulclientsliclient_wrapper_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.clients li .client_wrapper',
'css_style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.clients li .client_wrapper:padding',
'id' => 'css_ulclientsliclient_wrapper_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement ul.clients li .client_wrapper',
'css_style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Style tiles', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Clients Slider -------------------------------------------------
'clients_slider' => array(
'type' => 'clients_slider',
'title' => __('Clients Slider', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.blog_slider_header | .title',
'edit_position' => 'append',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h4',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
'type' => 'select',
're_render' => true,
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('client-types'),
'js_hierarchical_options' => 'client_types',
'preview' => 'category',
),
array(
'id' => 'orderby',
'type' => 'switch',
're_render' => true,
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'menu_order'
),
array(
'id' => 'order',
'type' => 'switch',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'options' => array(
'DESC' => __('Descending', 'mfn-opts'),
'ASC' => __('Ascending', 'mfn-opts'),
),
'std' => 'ASC'
),
array(
'id' => 'per_slide',
'type' => 'sliderbar',
're_render' => true,
'title' => __('Clients per slide', 'mfn-opts'),
'desc' => __('The amount will be automatically reduced in the narrow screen', 'mfn-opts'),
'param' => array(
'min' => '1',
'max' => '6',
'step' => '1',
),
'std' => '3',
),
array(
'id' => 'scroll',
'type' => 'switch',
're_render' => true,
'title' => __('Slides to scroll', 'mfn-opts'),
'options' => array(
'' => __('One slide', 'mfn-opts'),
'1' => __('One client', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'navigation',
'type' => 'switch',
're_render' => true,
'title' => __('Navigation position', 'mfn-opts'),
'options' => array(
'' => __('Header', 'mfn-opts'),
'content' => __('Content', 'mfn-opts'),
),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
// custom
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Item title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title:color',
'id' => 'css_blog_slider_headertitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title:margin',
'id' => 'css_blog_slider_headertitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title:typography',
'id' => 'css_blog_slider_headertitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider_ul li .client_wrapper:height',
'id' => 'css_clients_slider_ulliclient_wrapper_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider_ul li .client_wrapper',
'css_style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider_ul li .client_wrapper:padding',
'id' => 'css_clients_slider_ulliclient_wrapper_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider_ul li .client_wrapper',
'css_style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button:padding',
'id' => 'css_clients_sliderbutton_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button:typography',
'id' => 'css_clients_sliderbutton_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button:border-style',
'id' => 'css_clients_sliderbutton_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button',
'css_style' => 'border-style',
'attr_id' => 'border_style_csb',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button:border-width',
'id' => 'css_clients_sliderbutton_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_csb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button:border-radius',
'id' => 'css_clients_sliderbutton_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .clients_slider .button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Code ----------------------------------------------------------
'code' => array(
'type' => 'code',
'title' => __('Code', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'other',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'content',
'type' => 'textarea',
'edit_tag' => '.mcb-item-code-inner | pre.mfn-code',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
'class' => 'form-content-full-width',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Column --------------------------------------------------------
'column' => array(
'type' => 'column',
'title' => __('Column Text', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'used_fonts' => '',
'cat' => 'typography',
'attr' => array(
//'fields' => array(
// HTML content
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'content',
'type' => $this->get_column_editor(), // textarea, visual
'title' => __('Content', 'mfn-opts'),
'class' => 'form-content-full-width',
'dynamic_data' => 'content',
'editor' => 'full', // basic (bold, i, etc), full (media, shortcodes)
'preview' => 'content',
'vbstd' => '
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'type' => 'text',
'title' => __('Label', 'mfn-opts'),
'desc' => __('This field is only used as label in the builder', 'mfn-opts'),
'preview' => 'title',
'class' => 'mfn-hidden-form-row',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr:text-align',
'id' => 'css_column_attr_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr:color',
'id' => 'css_column_attr_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr',
'css_style' => 'color',
'type' => 'color',
'desc' => __('May be overwritten by individual tags or inline CSS', 'mfn-opts'),
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr a:color',
'id' => 'css_column_attra_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr a',
'css_style' => 'color',
'type' => 'color',
'title' => __('Link color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr a|hover:color',
'id' => 'css_column_attra_color_hover',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr a:hover',
'css_style' => 'color',
'type' => 'color',
'title' => __('Link hover', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr:text-shadow',
'id' => 'css_column_attr_text_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr',
'css_style' => 'text-shadow',
'type' => 'text_shadow',
'title' => __('Text shadow', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr:typography',
'id' => 'css_column_attr_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .column_attr',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'align',
'class' => 'mfn-deprecated',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'id' => 'align-mobile',
'class' => 'mfn-deprecated',
'type' => 'switch',
'title' => __('Mobile text align', 'mfn-opts'),
'options' => array(
'' => __('As above', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
),
array(
'id' => 'column_bg',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
'alpha' => true,
),
array(
'id' => 'bg_image',
'class' => 'mfn-deprecated',
'type' => 'upload',
'title' => __('Background image', 'mfn-opts'),
),
array(
'id' => 'bg_position',
'class' => 'mfn-deprecated',
'type' => 'select',
'title' => __('Background position', 'mfn-opts'),
'options' => mfna_bg_position('column'),
'std' => 'center top no-repeat',
),
array(
'id' => 'bg_size',
'class' => 'mfn-deprecated',
'type' => 'select',
'title' => __('Background size', 'mfn-opts'),
'options' => mfna_bg_size(),
),
array(
'id' => 'margin_bottom',
'class' => 'mfn-deprecated',
'type' => 'select',
'title' => __('Margin bottom', 'mfn-opts'),
'options' => array(
'' => __('- Default -', 'mfn-opts'),
'0px' => '0px',
'10px' => '10px',
'20px' => '20px',
'30px' => '30px',
'40px' => '40px',
'50px' => '50px',
),
),
array(
'id' => 'padding',
'class' => 'mfn-deprecated',
'type' => 'text',
'title' => __('Padding', 'mfn-opts'),
'desc' => __('Use value with
px or
%. Example:
20px or
20px 10px 20px 10px or
20px 1%', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'id' => 'style',
'type' => 'textarea',
'title' => __('Column inline CSS', 'mfn-opts'),
'desc' => __('Example:
border: 1px solid #999;', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'helper',
'class' => 'mfn-deprecated',
'title' => __('Need help', 'mfn-opts'),
'link' => 'https://support.muffingroup.com/faq/what-deprecated-in-the-bebuilder-means/',
),
// HTML end: settings
array(
'type' => 'html',
'html' => '
',
),
),
),
// Contact box ----------------------------------------------------
'contact_box' => array(
'type' => 'contact_box',
'title' => __('Contact Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'dynamic_data' => 'title',
'type' => 'text',
'edit_tag' => '.get_in_touch | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h3',
),
array(
'id' => 'address',
'type' => 'textarea',
'dynamic_data' => 'content',
'title' => __('Address', 'mfn-opts'),
'desc' => __('HTML tags allowed', 'mfn-opts'),
'std' => 'This is the address',
'preview' => 'content',
'class' => 'form-content-full-width',
),
array(
'id' => 'telephone',
'type' => 'text',
'title' => __('Phone', 'mfn-opts'),
),
array(
'id' => 'telephone_2',
'type' => 'text',
'title' => __('Second phone', 'mfn-opts'),
),
array(
'id' => 'fax',
'type' => 'text',
'title' => __('Fax', 'mfn-opts'),
),
array(
'id' => 'email',
'type' => 'text',
'title' => __('Email', 'mfn-opts'),
),
array(
'id' => 'www',
'type' => 'text',
'title' => __('WWW', 'mfn-opts'),
),
// advanced
array(
'class' => 'mfn-deprecated',
'type' => 'header',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'image',
'class' => 'mfn-deprecated',
'type' => 'upload',
'title' => __('Background image', 'mfn-opts'),
'desc' => __('Recommended image width 768px - 1920px depending on size of the item', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Item title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .title:color',
'id' => 'css_get_in_touchtitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .title:margin',
'id' => 'css_get_in_touchtitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .title:typography',
'id' => 'css_get_in_touchtitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li .icon:color',
'id' => 'css_get_in_touchulliicon_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li .icon',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('List', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .get_in_touch_wrapper ul li:color',
'id' => 'css_get_in_touchget_in_touch_wrapperulli_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .get_in_touch_wrapper ul li',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Lines', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li:--mfn-contactbox-line',
'id' => 'css_get_in_touchulli_mfn_contactbox_line',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li',
'css_style' => '--mfn-contactbox-line',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Line color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Content -------------------------------------------------------
'content' => array(
'type' => 'content',
'title' => __('Content WP', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'typography',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('Content from WordPress editor. Can be used once per page.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Countdown -----------------------------------------------------
'countdown' => array(
'type' => 'countdown',
'title' => __('Countdown', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'date',
'type' => 'text',
're_render' => true,
'title' => __('Launch date', 'mfn-opts'),
'desc' => __('month/day/year hour:minute:second', 'mfn-opts'),
'std' => '12/30/2024 12:00:00',
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Label tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h3',
),
array(
'id' => 'timezone',
'type' => 'select',
're_render' => true,
'title' => __('Timezone', 'mfn-opts'),
'options' => mfna_utc(),
'std' => '0',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'show',
're_render' => true,
'type' => 'select',
'title' => __('Show', 'mfn-opts'),
'options' => array(
'' => __('days hours minutes seconds', 'mfn-opts'),
'dhm' => __('days hours minutes', 'mfn-opts'),
'dh' => __('days hours', 'mfn-opts'),
'd' => __('days', 'mfn-opts'),
),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact:background-color',
'id' => 'css_downcount_fact_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact:margin',
'id' => 'css_downcount_fact_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact:padding',
'id' => 'css_downcount_fact_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact:border-style',
'id' => 'css_downcount_fact_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact',
'css_style' => 'border-style',
'attr_id' => 'border_style_dcqf',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact:border-color',
'id' => 'css_downcount_fact_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_dcqf', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact:border-width',
'id' => 'css_downcount_fact_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_dcqf', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact:border-radius',
'id' => 'css_downcount_fact_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Number', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .number-wrapper .number:color',
'id' => 'css_downcount_factnumber-wrappernumber_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .number-wrapper .number',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .number-wrapper:margin',
'id' => 'css_downcount_factnumber-wrapper_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .number-wrapper',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .number-wrapper:typography',
'id' => 'css_downcount_factnumber-wrapper_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .number-wrapper',
'css_style' => 'typography',
'type' => 'typography_vb',
'typography' => 'simple',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Label', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .title:color',
'id' => 'css_downcount_facttitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .title:margin',
'id' => 'css_downcount_facttitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .title:typography',
'id' => 'css_downcount_facttitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'typography' => 'simple',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'themeoptions' => 'style:',
'title' => __('Divider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact hr:width',
'id' => 'css_downcount_facthr_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact hr',
'css_style' => 'width',
'type' => 'text',
'themeoptions' => 'style:',
'default_unit' => '%',
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact hr:background-color',
'id' => 'css_downcount_facthr_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .downcount .column .quick_fact hr',
'css_style' => 'background-color',
'themeoptions' => 'style:',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Counter -------------------------------------------------------
'counter' => array(
'type' => 'counter',
'title' => __('Counter', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.desc_wrapper | .title',
'edit_position' => 'append',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'p',
),
// counter
array(
'type' => 'header',
'title' => __('Counter', 'mfn-opts'),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp',
'preview' => 'icon',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Replaces icon if uploaded', 'mfn-opts'),
'preview' => 'image',
),
array(
'id' => 'prefix',
'type' => 'text',
'title' => __('Prefix', 'mfn-opts'),
'class' => 'narrow',
),
array(
'id' => 'number',
'type' => 'text',
'title' => __('Number', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow',
'std' => '50',
'preview' => 'number',
),
array(
'id' => 'label',
'type' => 'text',
'title' => __('Postfix', 'mfn-opts'),
'class' => 'narrow',
),
array(
'id' => 'duration',
'type' => 'sliderbar',
'title' => __('Duration [ms]', 'mfn-opts'),
'desc' => __('1000 = 1 second', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow',
'std' => '1000',
'param' => array(
'min' => '0',
'max' => '9500',
'step' => '500',
'unit' => 'ms',
),
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'thousands_separator',
'type' => 'switch',
're_render' => true,
'title' => __('Thousands separator', 'mfn-opts'),
'options' => array(
'' => __('Disable', 'mfn-opts'),
'comma' => __('Comma', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'type',
'type' => 'switch',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'desc' => __('Vertical style works for column widths: 1/4, 1/3 & 1/2', 'mfn-opts'),
'options' => array(
'vertical' => __('Vertical', 'mfn-opts'),
'horizontal' => __('Horizontal', 'mfn-opts'),
),
'std' => 'vertical',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'color',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter:text-align',
'id' => 'css_counter_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter:padding',
'id' => 'css_counter_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter',
'css_style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper i:color',
'id' => 'css_countericon_wrapperi_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper i',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper:margin',
'id' => 'css_countericon_wrapper_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img:border-style',
'id' => 'css_countericon_wrapperimg_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img',
'css_style' => 'border-style',
'attr_id' => 'border_style_ciwi',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img:border-color',
'id' => 'css_countericon_wrapperimg_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_ciwi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img:border-width',
'id' => 'css_countericon_wrapperimg_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_ciwi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img:border-radius',
'id' => 'css_countericon_wrapperimg_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper:margin',
'id' => 'css_countericon_wrapper_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img:width',
'id' => 'css_countericon_wrapperimg_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img',
'css_style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
'desc' => __('Use px, %, vw, vh or auto to set content width', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img:height',
'id' => 'css_countericon_wrapperimg_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .icon_wrapper img',
'css_style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
'desc' => __('Use px, %, vw, vh or auto to set content width', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Pre', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .prefix:color',
'id' => 'css_counternumber-wrapperprefix_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .prefix',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .prefix:margin',
'id' => 'css_counternumber-wrapperprefix_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .prefix',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .prefix:typography',
'id' => 'css_counternumber-wrapperprefix_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .prefix',
'css_style' => 'typography',
'type' => 'typography_vb',
'typography' => 'simple',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Number', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .number:color',
'id' => 'css_counternumber-wrappernumber_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .number',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper:margin',
'id' => 'css_counternumber-wrapper_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .number:typography',
'id' => 'css_counternumber-wrappernumber_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .number',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Post', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .postfix:color',
'id' => 'css_counternumber-wrapperpostfix_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .postfix',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .postfix:margin',
'id' => 'css_counternumber-wrapperpostfix_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .postfix',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .postfix:typography',
'id' => 'css_counternumber-wrapperpostfix_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .number-wrapper .postfix',
'css_style' => 'typography',
'type' => 'typography_vb',
'typography' => 'simple',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .title:color',
'id' => 'css_countertitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .title:margin',
'id' => 'css_countertitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .title:typography',
'id' => 'css_countertitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .counter .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Fancy Divider -------------------------------------------------
'fancy_divider' => array(
'type' => 'fancy_divider',
'title' => __('Fancy Divider', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('Please use on pages without sidebar.', 'mfn-opts'),
),
array(
'id' => 'style',
'type' => 'select',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'circle up' => __('Circle up', 'mfn-opts'),
'circle down' => __('Circle down', 'mfn-opts'),
'curve up' => __('Curve up', 'mfn-opts'),
'curve down' => __('Curve down', 'mfn-opts'),
'stamp' => __('Stamp', 'mfn-opts'),
'triangle up' => __('Triangle up', 'mfn-opts'),
'triangle down' => __('Triangle down', 'mfn-opts'),
),
'std' => 'circle up',
'preview' => 'style',
),
array(
'id' => 'color_top',
'type' => 'color',
'title' => __('Color top', 'mfn-opts'),
),
array(
'id' => 'color_bottom',
'type' => 'color',
'title' => __('Color bottom', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Fancy Heading --------------------------------------------------
'fancy_heading' => array(
'type' => 'fancy_heading',
'title' => __('Fancy Heading', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.fancy_heading | .title',
'edit_position' => 'append',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'h1',
're_render' => true,
'type' => 'switch',
'title' => __('Tag', 'mfn-opts'),
'kl_options' => array( // prevent js sort
(object) array('key' => 'h1', 'label' => 'H1'),
(object) array('key' => 0, 'label' => 'H2'),
(object) array('key' => 'h3', 'label' => 'H3'),
(object) array('key' => 'h4', 'label' => 'H4'),
(object) array('key' => 'h5', 'label' => 'H5'),
(object) array('key' => 'h6', 'label' => 'H6'),
(object) array('key' => 'p', 'label' => 'p'),
(object) array('key' => 'p.lead', 'label' => 'p.lead'),
(object) array('key' => 'span', 'label' => 'span'),
),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 0
),
array(
'id' => 'content',
'type' => 'textarea',
'edit_tag' => '.fancy_heading | div.inside',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// style
array(
'type' => 'header',
'title' => __('Style', 'mfn-opts'),
),
array(
'id' => 'style',
'type' => 'switch',
'attr_id' => 'fancy_header_style',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'icon' => __('Icon', 'mfn-opts'),
'line' => __('Line', 'mfn-opts'),
'arrows' => __('Arrows', 'mfn-opts'),
),
'std' => 'icon',
),
array(
'id' => 'icon',
'condition' => array( 'id' => 'fancy_header_style', 'opt' => 'is', 'val' => 'icon' ),
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'desc' => __('for style: icon', 'mfn-opts'),
),
array(
'id' => 'slogan',
'condition' => array( 'id' => 'fancy_header_style', 'opt' => 'is', 'val' => 'line' ),
'edit_tag' => '.fh-top | span.slogan',
'edit_position' => 'append',
'type' => 'text',
'title' => __('Slogan', 'mfn-opts'),
'desc' => __('for style: line', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading:text-align',
'id' => 'css_fancy_heading_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .title:color',
'id' => 'css_fancy_headingtitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .title:typography',
'id' => 'css_fancy_headingtitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .title:margin',
'id' => 'css_fancy_headingtitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .title',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .inside:color',
'id' => 'css_fancy_headinginside_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .inside',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .inside:typography',
'id' => 'css_fancy_headinginside_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .inside',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .inside:margin',
'id' => 'css_fancy_headinginside_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .inside',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Style Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading_icon .icon_top:color',
'id' => 'css_fancy_heading_iconicon_top_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading_icon .icon_top',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading_icon .icon_top:font-size',
'id' => 'css_fancy_heading_iconicon_top_font_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading_icon .icon_top',
'css_style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading_icon .icon_top:margin',
'id' => 'css_fancy_heading_iconicon_top_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading_icon .icon_top',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Style Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading.fancy_heading_line .slogan:color',
'id' => 'css_fancy_headingfancy_heading_lineslogan_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading.fancy_heading_line .slogan',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Slogan Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading.fancy_heading_line .slogan:typography',
'id' => 'css_fancy_headingfancy_heading_lineslogan_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading.fancy_heading_line .slogan',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Slogan Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Style Arrows', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .title i:color',
'id' => 'css_fancy_headingtitlei_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .fancy_heading .title i',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Arrows Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// FAQ -----------------------------------------------------------
'faq' => array(
'type' => 'faq',
'title' => __('FAQ', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info-key',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('Try the new Toggle element with unlimited customization options', 'mfn-opts'),
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.faq | .heading',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h4',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('FAQ', 'mfn-opts'),
'desc' => __('JavaScript content like Google Maps and some plugins shortcodes do not work in tabs', 'mfn-opts'),
'options' => [
'title' => [
'input',
__('Question', 'mfn-opts'),
__('Sample question', 'mfn-opts'),
],
'content' => [
'textarea',
__('Answer', 'mfn-opts'),
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'std' => [
0 => [
'title' => __('This is the 1st question', 'mfn-opts'),
'content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
1 => [
'title' => __('This is the 2nd question', 'mfn-opts'),
'content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'primary' => 'title',
'preview' => 'tabs',
),
array(
'id' => 'open1st',
're_render' => true,
'type' => 'switch',
'title' => __('Open first', 'mfn-opts'),
'options' => array(
0 => __('Default', 'mfn-opts'),
1 => __('Open first', 'mfn-opts'),
),
'std' => '0',
),
array(
'id' => 'openAll',
're_render' => true,
'type' => 'switch',
'title' => __('Open all', 'mfn-opts'),
'options' => array(
0 => __('Default', 'mfn-opts'),
1 => __('Open all', 'mfn-opts'),
),
'std' => '0',
),
array(
'id' => 'style',
're_render' => true,
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'accordion' => __('Accordion', 'mfn-opts'),
'toggle' => __('Toggle', 'mfn-opts'),
),
'std' => 'accordion',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .heading:color',
'id' => 'css_faqheading_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .heading',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .heading:margin',
'id' => 'css_faqheading_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .heading',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .heading:typography',
'id' => 'css_faqheading_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .heading',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Bar', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question:margin',
'id' => 'css_faqquestion_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title|before:border-style',
'id' => 'css_faqquestionfaqquestiontitlebefore_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title:before',
'css_style' => 'border-style',
'attr_id' => 'border_style_faqt',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title|before:border-color',
'id' => 'css_faqquestionfaqquestiontitlebefore_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title:before',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_faqt', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question:border-width',
'id' => 'css_faqquestion_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_faqt', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question:border-radius',
'id' => 'css_faqquestion_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title:box-shadow',
'id' => 'css_faqquestiontitle_box_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title',
'css_style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq:--mfn-faq-line',
'id' => 'css_faq___mfn_faq_line',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq',
'css_style' => '--mfn-faq-line',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Line color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title bar', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title:typography',
'id' => 'css_faqquestiontitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .answer:color',
'id' => 'css_faqquestionanswer_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .answer',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .answer:typography',
'id' => 'css_faqquestionanswer_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .faq .question .answer',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'themeoptions' => 'style:simple',
'title' => __('Bar line', 'mfn-opts'),
),
array(
'type' => 'html',
'themeoptions' => 'style:simple',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Feature Box -------------------------------------------------------
'feature_box' => array(
'type' => 'feature_box',
'title' => __('Feature Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image width 384px - 960px depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.desc_wrapper | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'desc' => __('Allowed HTML tags: span, strong, b, em, i, u', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h4',
),
array(
'id' => 'content',
'type' => 'textarea',
'dynamic_data' => 'content',
'edit_tag' => '.desc_wrapper | div.desc',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'background',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box .photo_wrapper img:border-style',
'id' => 'css_feature_boxphoto_wrapperimg_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box .photo_wrapper img',
'css_style' => 'border-style',
'attr_id' => 'border_style_fbimg',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box .photo_wrapper img:border-color',
'id' => 'css_feature_boxphoto_wrapperimg_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box .photo_wrapper img',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_fbimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box .photo_wrapper img:border-width',
'id' => 'css_feature_boxphoto_wrapperimg_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box .photo_wrapper img',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_fbimg', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box .photo_wrapper img:border-radius',
'id' => 'css_feature_boxphoto_wrapperimg_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box .photo_wrapper img',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title:color',
'id' => 'css_desc_wrappertitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title:margin',
'id' => 'css_desc_wrappertitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title:typography',
'id' => 'css_desc_wrappertitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box_wrapper .desc_wrapper:text-align',
'id' => 'css_feature_box_wrapperdesc_wrapper_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_box_wrapper .desc_wrapper',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .desc:color',
'id' => 'css_desc_wrapperdesc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper:padding',
'id' => 'css_desc_wrapper_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .desc:typography',
'id' => 'css_desc_wrapperdesc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Feature List ---------------------------------------------------
'feature_list' => array(
'type' => 'feature_list',
'title' => __('Feature List', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Items', 'mfn-opts'),
'options' => [
'title' => [
'input',
__('Title', 'mfn-opts'),
__('List item', 'mfn-opts'),
],
'icon' => [
'icon',
__('Icon', 'mfn-opts'),
'icon-lamp',
],
'link' => [
'input',
__('Link', 'mfn-opts'),
'',
],
'target' => [
'input',
__('Target', 'mfn-opts'),
'',
],
'animate' => [
'input',
__('Animate', 'mfn-opts'),
'',
],
],
'std' => [
0 => [
'title' => 'This is the 1st item',
'icon' => 'icon-book',
'link' => '',
'target' => '',
'animate' => '',
],
1 => [
'title' => 'This is the 2nd item',
'icon' => 'icon-bucket',
'link' => '',
'target' => '',
'animate' => '',
],
],
'primary' => 'title',
'preview' => 'tabs',
),
array(
'id' => 'content',
'dynamic_data' => 'content',
'type' => 'textarea',
'edit_tag' => '.feature_list | ul.fl-content',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'preview' => 'content',
'class' => 'form-content-full-width',
),
array(
'id' => 'columns',
're_render' => true,
'type' => 'switch',
'title' => __('Columns', 'mfn-opts'),
'options' => array(
2 => 2,
3 => 3,
4 => 4,
5 => 5,
6 => 6,
),
'std' => 4,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li p:typography',
'id' => 'css_feature_listullip_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li p',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li .icon i:font-size',
'id' => 'css_feature_listulliiconi_font_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list ul li .icon i',
'css_style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'themeoptions' => 'style:',
'title' => __('Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list hr:background-color',
'id' => 'css_feature_listhr_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .feature_list hr',
'css_style' => 'background-color',
'type' => 'color',
'themeoptions' => 'style:',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Flat Box -------------------------------------------------------
'flat_box' => array(
'type' => 'flat_box',
'title' => __('Flat Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image width 768px - 1920px depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.desc_wrapper | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'desc' => __('Allowed HTML tags: span, strong, b, em, i, u', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'content',
'type' => 'textarea',
'dynamic_data' => 'content',
'edit_tag' => '.desc_wrapper | div.desc',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// icon
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp',
),
array(
'id' => 'icon_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Replaces icon if uploaded', 'mfn-opts'),
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'dynamic_data' => 'title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'background',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper:border-style',
'id' => 'css_flat_boxphoto_wrapper_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper',
'css_style' => 'border-style',
'attr_id' => 'border_style_fbpw',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper:border-color',
'id' => 'css_flat_boxphoto_wrapper_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_fbpw', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper:border-width',
'id' => 'css_flat_boxphoto_wrapper_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_fbpw', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper:border-radius',
'id' => 'css_flat_boxphoto_wrapper_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper:margin',
'id' => 'css_flat_boxphoto_wrapper_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title:color',
'id' => 'css_desc_wrappertitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title:margin',
'id' => 'css_desc_wrappertitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title:typography',
'id' => 'css_desc_wrappertitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper .icon:color',
'id' => 'css_flat_boxphoto_wrappericon_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper .icon',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper .icon:background-color',
'id' => 'css_flat_boxphoto_wrappericon_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper .icon',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper .icon i:font-size',
'id' => 'css_flat_boxphoto_wrappericoni_font_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .flat_box .photo_wrapper .icon i',
'css_style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .desc:color',
'id' => 'css_desc_wrapperdesc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .desc:typography',
'id' => 'css_desc_wrapperdesc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper .desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Heading --------------------------------------------------------
'heading' => array(
'type' => 'heading',
'title' => __('Heading', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'typography',
'attr' => array(
//'fields' => array(
// HTML content
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'type' => 'textarea',
'dynamic_data' => 'title',
'class' => 'form-content-full-width',
'edit_tag' => '.mcb-item-heading-inner | .title',
'edit_position' => 'append',
'edit_tag_var' => 'preview-header_taginput',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the heading', 'mfn-opts'),
'preview' => 'title',
'rm' => 'heading',
),
array(
'id' => 'header_tag',
're_render' => true,
'type' => 'switch',
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h2',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
array(
'id' => 'onclick',
'type' => 'text',
'title' => __('Onclick', 'mfn-opts'),
'before' => 'onclick=',
),
// mask shape
array(
'type' => 'header',
'title' => __('Mask shape', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:background-image',
'id' => 'css_bg_img',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => 'background-image',
'type' => 'upload',
'title' => __('Background image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:background-position',
'id' => 'css_bg_img_pos',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => 'background-position',
'type' => 'select',
'title' => __('Background position', 'mfn-opts'),
'options' => array(
'center center' => __('Center Center', 'mfn-opts'),
'center left' => __('Center Left', 'mfn-opts'),
'center right' => __('Center Right', 'mfn-opts'),
'top left' => __('Top Left', 'mfn-opts'),
'top right' => __('Top Right', 'mfn-opts'),
'top center' => __('Top Center', 'mfn-opts'),
'bottom left' => __('Bottom Left', 'mfn-opts'),
'bottom right' => __('Bottom Right', 'mfn-opts'),
'bottom center' => __('Bottom Center', 'mfn-opts'),
),
'std' => 'center center',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:-webkit-text-stroke-width',
'id' => 'css_stroke_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => '-webkit-text-stroke-width',
'type' => 'select',
'title' => __('Text stroke width', 'mfn-opts'),
'options' => [
'initial' => __('Default', 'mfn-opts'),
'thin' => __('Thin', 'mfn-opts'),
'medium' => __('Medium', 'mfn-opts'),
'thick' => __('Thick', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:-webkit-text-stroke-color',
'id' => 'css_stroke_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => '-webkit-text-stroke-color',
'type' => 'color',
'title' => __('Text stroke color', 'mfn-opts'),
'std' => '',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Heading', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:text-align',
'id' => 'css_txt_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
),
array(
'type' => 'html',
'html' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:text-shadow',
'id' => 'css_text_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => 'text-shadow',
'type' => 'text_shadow',
'class' => 'mfn-toggled',
'title' => __('Text shadow', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:typography',
'id' => 'css_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'toggle_fields mfn-toggled',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_line_clamp',
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:-webkit-line-clamp',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => '-webkit-line-clamp',
'type' => 'text',
'title' => __('Line clamp', 'mfn-opts'),
'desc' => __('Limit the number of lines to', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow mfn-line-clamp-field',
'preview' => 'number',
),
// HTML end: settings
array(
'type' => 'html',
'html' => '
',
),
),
),
// Helper -------------------------------------------------------
'helper' => array(
'type' => 'helper',
'title' => __('Helper', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.helper_header | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
// item 1
array(
'type' => 'header',
'title' => __('Item 1', 'mfn-opts'),
),
array(
'id' => 'title1',
'dynamic_data' => 'title',
'type' => 'text',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the 1st item title', 'mfn-opts'),
),
array(
'id' => 'content1',
'dynamic_data' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
'desc' => __('Some shortcodes and HTML tags allowed', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'class' => 'form-content-full-width',
),
array(
'id' => 'link1',
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
'desc' => __('Use if you want to link to another page instead of showing the content', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'target1',
'type' => 'switch',
'title' => __('Link target', 'mfn-opts'),
'options' => array(
0 => __('_self', 'mfn-opts'),
1 => __('_blank', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'class1',
'type' => 'text',
'title' => __('Link class', 'mfn-opts'),
'desc' => __('e.g. prettyphoto or scroll', 'mfn-opts'),
),
// item 2
array(
'type' => 'header',
'title' => __('Item 2', 'mfn-opts'),
),
array(
'id' => 'title2',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Title', 'mfn-opts'),
),
array(
'id' => 'content2',
'type' => 'textarea',
'dynamic_data' => 'content',
'title' => __('Content', 'mfn-opts'),
'desc' => __('Some shortcodes and HTML tags allowed', 'mfn-opts'),
'class' => 'form-content-full-width',
),
array(
'id' => 'link2',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
'desc' => __('Use if you want to link to another page instead of showing the content', 'mfn-opts'),
),
array(
'id' => 'link_type_2',
'attr_id' => 'link_type_2',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id_2',
'condition' => array( 'id' => 'link_type_2', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'target2',
'type' => 'switch',
'title' => __('Link target', 'mfn-opts'),
'options' => array(
0 => __('_self', 'mfn-opts'),
1 => __('_blank', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'class2',
'type' => 'text',
'title' => __('Link class', 'mfn-opts'),
'desc' => __('e.g. prettyphoto or scroll', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .title:color',
'id' => 'css_helper_headertitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .title:typography',
'id' => 'css_helper_headertitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_header .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Button', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_content .item:color',
'id' => 'css_helper_contentitem_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_content .item',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_content .item:typography',
'id' => 'css_helper_contentitem_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .helper_content .item',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Hover Box ------------------------------------------------------
'hover_box' => array(
'type' => 'hover_box',
'title' => __('Hover Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image width 768px - 1920px depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'image_hover',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Hover image', 'mfn-opts'),
'desc' => __('Images must have the same size', 'mfn-opts'),
'std' => $this->get_placeholder(),
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link',
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Hover Color ----------------------------------------------------
'hover_color' => array(
'type' => 'hover_color',
'title' => __('Hover Color', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'content',
'edit_tag' => '.hover_color_bg | div.hover_color_wrapper',
'edit_position' => 'prepend',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'dynamic_data' => 'content',
'class' => 'form-content-full-width',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link',
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'text',
'title' => __('Class', 'mfn-opts'),
'desc' => __('e.g. scroll', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'align',
'class' => 'mfn-deprecated',
'type' => 'switch',
'title' => __('Text alignment', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
),
array(
'id' => 'padding',
'class' => 'mfn-deprecated',
'type' => 'text',
'title' => __('Padding', 'mfn-opts'),
'desc' => __('Use value with px or %. Example: 20px or 20px 10px 20px 10px or 20px 1%', 'mfn-opts'),
),
array(
'id' => 'background',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'background_hover',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Background color hover', 'mfn-opts'),
),
array(
'id' => 'border',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'border_hover',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Border color hover', 'mfn-opts'),
),
array(
'id' => 'border_width',
'class' => 'mfn-deprecated',
'type' => 'text',
'title' => __('Border width', 'mfn-opts'),
'desc' => __('Use value with px. Example: 1px or 2px 5px 2px 5px', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'id' => 'style',
'type' => 'textarea',
'title' => __('Element inline CSS', 'mfn-opts'),
'desc' => __('Example: opacity: 0.5;', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper:text-align',
'id' => 'css__color_wrapper_text_align_hover',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner .hover_color_wrapper:padding',
'id' => 'css_mcb-column-inner_color_wrapper_padding_hover',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner .hover_color_wrapper',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper:typography',
'id' => 'css_color_wrapper_typography_hover',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper:border-style',
'id' => 'css__color_wrapper_border_style_hover',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper',
'css_style' => 'border-style',
'type' => 'select',
'attr_id' => 'border_style_hc',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper:border-width',
'id' => 'css__color_wrapper_border_width_hover',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_hc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper:border-radius',
'id' => 'css__color_wrapper_border_radius_hover',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper:box-shadow',
'id' => 'css__color_wrapper_box_shadow_hover',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hover_color_wrapper',
'css_style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// How It Works ---------------------------------------------------
'how_it_works' => array(
'type' => 'how_it_works',
'title' => __('How It Works', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.how_it_works | .title',
'edit_position' => 'append',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'image',
'type' => 'upload',
'title' => __('Background', 'mfn-opts'),
'desc' => __('Recommended: Square Image with transparent background.', 'mfn-opts'),
'preview' => 'image',
),
array(
'id' => 'number',
'type' => 'text',
'title' => __('Number', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow',
'std' => '1',
'preview' => 'number',
),
array(
'id' => 'content',
'type' => 'textarea',
'edit_tag' => '.how_it_works | div.desc',
'dynamic_data' => 'content',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// style
array(
'type' => 'header',
'title' => __('Style', 'mfn-opts'),
),
array(
'id' => 'border',
'type' => 'switch',
're_render' => true,
'title' => __('Line', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'style',
'type' => 'select',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Small centered image (image size: max 116px)', 'mfn-opts'),
'fill' => __('Fill the circle (image size: 200px x 200px)', 'mfn-opts'),
),
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'dynamic_data' => 'title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .title:color',
'id' => 'css_how_it_workstitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .title:typography',
'id' => 'css_how_it_workstitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .desc:color',
'id' => 'css_how_it_worksdesc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .desc:typography',
'id' => 'css_how_it_worksdesc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Number', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number:color',
'id' => 'css_how_it_worksnumber_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number:background-color',
'id' => 'css_how_it_worksnumber_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number:border-style',
'id' => 'css_how_it_worksnumber_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number',
'css_style' => 'border-style',
'attr_id' => 'border_style_hiw_number',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number:border-color',
'id' => 'css_how_it_worksnumber_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_hiw_number', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number:border-width',
'id' => 'css_how_it_worksnumber_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_hiw_number', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number:border-radius',
'id' => 'css_how_it_worksnumber_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number:box-shadow',
'id' => 'css_how_it_worksnumber_box_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .number',
'css_style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image:background-color',
'id' => 'css_how_it_worksimage_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image:border-style',
'id' => 'css_how_it_worksimage_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image',
'css_style' => 'border-style',
'attr_id' => 'border_style_hiw_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image:border-color',
'id' => 'css_how_it_worksimage_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_hiw_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image:border-width',
'id' => 'css_how_it_worksimage_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_hiw_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image:border-radius',
'id' => 'css_how_it_worksimage_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image_wrapper:margin',
'id' => 'css_how_it_worksimage_wrapper_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image_wrapper',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works.has_border|after:background-color',
'id' => 'css_how_it_workshas_borderafter_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works.has_border:after',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'themeoptions' => 'style:simple',
'title' => __('Divider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image:border-color',
'id' => 'css_how_it_worksimage_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .how_it_works .image',
'css_style' => 'border-color',
'type' => 'color',
'themeoptions' => 'style:simple',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// HotSpot ----------------------------------------------------
'hotspot' => array(
'type' => 'hotspot',
'title' => __('Hotspot', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'image',
'type' => 'upload',
'dynamic_data' => 'featured_image',
'title' => __('Image', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'row-header',
'title' => __('General', 'mfn-opts'),
),
array(
'id' => 'marker_animation',
'attr_id' => 'marker_animation',
'type' => 'switch',
'title' => __('Marker animation', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'pulse' => __('Pulse', 'mfn-opts'),
'scale' => __('Scale', 'mfn-opts'),
'bounce' => __('Bounce', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'content_animation',
'type' => 'switch',
'title' => __('Content animation', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'fadeIn' => __('Fade In', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'style',
'attr_id' => 'style',
'type' => 'switch',
're_render' => true,
'title' => __('Points style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'line' => __('Line', 'mfn-opts'),
),
'std' => ''
),
array(
'type' => 'header',
'class' => 'row-header',
'title' => __('Hotspots', 'mfn-opts'),
),
array(
'id' => 'hotspots',
'type' => 'hotspot',
'title' => __('Hotspots', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'id' => 'img_height',
'attr_id' => 'img_height',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'img_height_style',
'condition' => array( 'id' => 'img_height', 'opt' => 'is', 'val' => 'custom' ),
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Image style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'cover' => __('Cover', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'css_img_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot-height .hotspot-image img',
'css_style' => 'height',
'condition' => array( 'id' => 'img_height', 'opt' => 'is', 'val' => 'custom' ),
'type' => 'text',
'responsive' => true,
'default_unit' => 'px',
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Custom height', 'mfn-opts'),
),
array(
'id' => 'css_image-hotspot_justify_content',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'css_style' => 'justify-content',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'desc' => __('Doesn\'t work with Image Cover mode'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'css_hotspot-image_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-image',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot-image_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-image',
'css_style' => 'border-style',
'attr_id' => 'hotspot-border-img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_hotspot-image_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-image',
'css_style' => 'border-color',
'condition' => array( 'id' => 'hotspot-border-img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot-image_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-image',
'css_style' => 'border-width',
'condition' => array( 'id' => 'hotspot-border-img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'responsive' => true,
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'id' => 'css_hotspot-image_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-image',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
),
array(
'id' => 'css_hotspot-image_box_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-image',
'css_style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Marker', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_default_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'css_style' => '--mfn-image-hotspot-marker-default-bg',
'type' => 'color',
'class' => 'mfn-toggled',
're_render' => true,
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot-marker_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-marker',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Default', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_default_pulse_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'css_style' => '--mfn-image-hotspot-marker-default-pulse-bg',
'condition' => array( 'id' => 'marker_animation', 'opt' => 'is', 'val' => 'pulse' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Pulse color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_default_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'css_style' => '--mfn-image-hotspot-marker-default-size',
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'%' => array('min' => 1, 'max' => 100, 'step' => 1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_icon_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'css_style' => '--mfn-image-hotspot-marker-icon-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_icon_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'css_style' => '--mfn-image-hotspot-marker-icon-bg',
'type' => 'color',
'class' => 'mfn-toggled',
're_render' => true,
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_icon_pulse_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'css_style' => '--mfn-image-hotspot-marker-icon-pulse-bg',
'condition' => array( 'id' => 'marker_animation', 'opt' => 'is', 'val' => 'pulse' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Pulse color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_icon_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'css_style' => '--mfn-image-hotspot-marker-icon-size',
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'%' => array('min' => 1, 'max' => 100, 'step' => 1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'id' => 'css_hotspot_marker_icon_font_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'css_style' => '--mfn-image-hotspot-marker-icon-font-size',
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Icon size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'%' => array('min' => 1, 'max' => 100, 'step' => 1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Text', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_text_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'css_style' => '--mfn-image-hotspot-marker-text-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_text_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'css_style' => '--mfn-image-hotspot-marker-text-bg',
'type' => 'color',
'class' => 'mfn-toggled',
're_render' => true,
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_marker_text_pulse_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'css_style' => '--mfn-image-hotspot-marker-text-pulse-bg',
'condition' => array( 'id' => 'marker_animation', 'opt' => 'is', 'val' => 'pulse' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Pulse color', 'mfn-opts'),
),
array(
'id' => 'css_marker_txt_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .marker-text',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_marker_txt_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .marker-text',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => '' ),
'class' => 'toggled_header row-header',
'title' => __('Box', 'mfn-opts'),
),
array(
'id' => 'css_hotspot-content_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-content',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'std' => '',
'preview' => 'align',
),
array(
'id' => 'css_hotspot-content_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-content',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_hotspot_content_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'css_style' => '--mfn-image-hotspot-content-bg',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_image-hotspothotspot-content_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot .hotspot-content',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot-content_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-content',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_hotspot_content_offset',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-image-hotspot',
'css_style' => '--mfn-image-hotspot-content-offset',
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Offset', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'%' => array('min' => 1, 'max' => 100, 'step' => 1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'id' => 'css_hotspot-content_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-content',
'css_style' => 'border-style',
'attr_id' => 'hotspot-border-content',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_hotspot-content_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-content',
'css_style' => 'border-color',
'condition' => array( 'id' => 'hotspot-border-content', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_hotspot-content_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-content',
'css_style' => 'border-width',
'condition' => array( 'id' => 'hotspot-border-content', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'responsive' => true,
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'id' => 'css_hotspot-content_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-content',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
),
array(
'id' => 'css_hotspot-content_box_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .hotspot-content',
'css_style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
'responsive' => true,
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// HTML ----------------------------------------------------
'html' => array(
'type' => 'html',
'title' => __('HTML', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'content',
'type' => 'ace',
'class' => 'ace-html-editor form-content-full-width',
'title' => __('Html code', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('This element has no attributes. Please check advanced tab for more customisation options.', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Icon ----------------------------------------------------------
'icon_2' => array(
'type' => 'icon_2',
'title' => __('Icon', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
// icon
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp',
'preview' => 'icon',
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '' ),
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '' ),
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
'' => __('Default | _self', 'mfn-opts'),
'_blank' => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
array(
'type' => 'header',
'title' => __('Hover effect', 'mfn-opts'),
),
array(
'id' => 'hover',
'type' => 'select',
'title' => __('Hover effect', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'move-up' => __('Move up', 'mfn-opts'),
'box-scale' => __('Zoom', 'mfn-opts')
),
'std' => '',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'css_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2',
'css_style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled narrow',
),
array(
'id' => 'css_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2',
'css_style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Height', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled narrow',
),
array(
'id' => 'css_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2',
'css_style' => 'font-size',
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Icon size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'id' => 'css_transition',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-2',
'css_style' => 'transition',
'type' => 'sliderbar',
'title' => __('Transition duration', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '3',
'step' => '0.1',
'unit' => 's',
)
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Icon Box 2 ------------------------------------------------------
'icon_box_2' => array(
'type' => 'icon_box_2',
'title' => __('Icon Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'attr_id' => 'title',
'type' => 'text',
'edit_tag' => '.mfn-icon-box .desc-wrapper | .title',
'edit_position' => 'prepend',
'dynamic_data' => 'title',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'condition' => array( 'id' => 'title', 'opt' => 'isnt', 'val' => '' ),
'type' => 'switch',
'title' => __('Tag', 'mfn-opts'),
're_render' => true,
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4'
),
array(
'id' => 'content',
'type' => 'textarea',
'edit_tag' => '.mfn-icon-box .desc-wrapper | .desc',
'edit_position' => 'prepend',
'dynamic_data' => 'content',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .desc-wrapper .desc:order',
'id' => 'css_icon_box_order',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box .desc-wrapper .desc',
'css_style' => 'order',
'type' => 'select',
'title' => __('Title / Content order', 'mfn-opts'),
'options' => array(
'' => __('Title first', 'mfn-opts'),
'1' => __('Content first', 'mfn-opts'),
),
),
// icon
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon',
'condition' => array( 'id' => 'title', 'opt' => 'isnt', 'val' => '{postmeta:mfn-post-love}' ),
'attr_id' => 'ib2-icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp',
'preview' => 'icon',
),
array(
'id' => 'icon_position',
'type' => 'switch',
'title' => __('Icon position', 'mfn-opts'),
'options' => array(
'top' => __('Top', 'mfn-opts'),
'bottom' => __('Bottom', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => 'top',
'responsive' => true,
),
array(
'id' => 'icon_align',
'type' => 'switch',
'title' => __('Icon alignment', 'mfn-opts'),
'options' => array(
'start' => __('Start', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'end' => __('End', 'mfn-opts'),
),
'std' => 'center',
'responsive' => true,
),
array(
'id' => 'image',
'condition' => array( 'id' => 'title', 'opt' => 'isnt', 'val' => '{postmeta:mfn-post-love}' ),
'type' => 'upload',
'dynamic_data' => 'featured_image',
'title' => __('Image', 'mfn-opts'),
'attr_id' => 'ib2-image',
'desc' => __('Image instead of an icon', 'mfn-opts'),
'preview' => 'image',
),
array(
'id' => 'label',
'condition' => array( 'id' => 'title', 'opt' => 'isnt', 'val' => '{postmeta:mfn-post-love}' ),
'type' => 'text',
'attr_id' => 'ib2-label',
'title' => __('Label', 'mfn-opts'),
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
'mfn-read-more' => __('Read more', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'link_type_read_more_title',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => 'mfn-read-more' ),
'type' => 'text',
'title' => __('Icon title after expand', 'mfn-opts'),
'std' => ''
),
array(
'id' => 'link_type_read_more_icon',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => 'mfn-read-more' ),
'type' => 'icon',
'title' => __('Icon after expand', 'mfn-opts'),
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link',
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// Hover
array(
'type' => 'header',
'title' => __('Hover effect', 'mfn-opts'),
),
array(
'id' => 'hover',
'type' => 'select',
'title' => __('Hover effect', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'move-up' => __('Move box up', 'mfn-opts'),
'box-scale' => __('Zoom box', 'mfn-opts'),
'icon-scale' => __('Zoom icon', 'mfn-opts'),
),
'std' => '',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box:padding',
'id' => 'css_icon_box_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-icon-box',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icon wrapper', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:width',
'id' => 'css_icon_box_icon_wrapper_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'css_style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled narrow',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:height',
'id' => 'css_icon_box_icon_wrapper_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'css_style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Height', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled narrow',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper:margin',
'id' => 'css_icon_box_icon_wrapper_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-label:typography',
'id' => 'css_icon_box_icon_wrapper_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-label',
'css_style' => 'typography',
'condition' => array( 'id' => 'ib2-label', 'opt' => 'isnt', 'val' => '' ),
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper i:font-size',
'id' => 'css_icon_box_icon_wrapper_i_font_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper i',
'css_style' => 'font-size',
'condition' => array( 'id' => 'ib2-icon', 'opt' => 'isnt', 'val' => '' ),
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Icon size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper img:max-width',
'id' => 'css_icon_box_icon_wrapper_img_max_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon-wrapper img',
'css_style' => 'max-width',
'condition' => array( 'id' => 'ib2-image', 'opt' => 'isnt', 'val' => '' ),
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow',
'title' => __('Image width', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Description wrapper', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc-wrapper:text-align',
'id' => 'css_icon_box_desc_wrapper_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc-wrapper',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'std' => '',
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc-wrapper:padding',
'id' => 'css_icon_box_desc_wrapper_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc-wrapper',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:margin',
'id' => 'css_icon_box_title_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:typography',
'id' => 'css_icon_box_title_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Description', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc:margin',
'id' => 'css_icon_box_desc_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc:typography',
'id' => 'css_icon_box_desc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Icon Box ------------------------------------------------------
'icon_box' => array(
'type' => 'icon_box',
'title' => __('Icon Box Basic', 'mfn-opts'),
// 'deprecated' => 'Icon Box',
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'type' => 'text',
'edit_tag' => '.icon_box .desc_wrapper | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4'
),
array(
'id' => 'content',
'type' => 'textarea',
'edit_tag' => '.icon_box .desc_wrapper | .desc',
'edit_position' => 'prepend',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// icon
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp',
'preview' => 'icon',
),
array(
'id' => 'icon_position',
'type' => 'switch',
're_render' => true,
'title' => __('Icon position', 'mfn-opts'),
'desc' => __('Left position works only for column widths: 1/4, 1/3 & 1/2', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'top' => __('Top', 'mfn-opts'),
),
'std' => 'top',
),
array(
'id' => 'image',
'type' => 'upload',
'dynamic_data' => 'featured_image',
'title' => __('Image', 'mfn-opts'),
'preview' => 'image',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'border',
'class' => 'mfn-deprecated',
'type' => 'switch',
'title' => __('Border', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper i:font-size',
'id' => 'css_icon_boxicon_wrapperi_font_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper i',
'css_style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper:border-style',
'id' => 'css_icon_boxicon_wrapper_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper',
'css_style' => 'border-style',
'attr_id' => 'border_style_ib_icon',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper:border-color',
'id' => 'css_icon_boxicon_wrapper_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_ib_icon', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper:border-width',
'id' => 'css_icon_boxicon_wrapper_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_ib_icon', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper:border-radius',
'id' => 'css_icon_boxicon_wrapper_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .icon_wrapper',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .image_wrapper img:border-style',
'id' => 'css_icon_boximage_wrapperimg_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .image_wrapper img',
'css_style' => 'border-style',
'attr_id' => 'border_style_ib_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .image_wrapper img:border-color',
'id' => 'css_icon_boximage_wrapperimg_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .image_wrapper img',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_ib_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .image_wrapper img:border-width',
'id' => 'css_icon_boximage_wrapperimg_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .image_wrapper img',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_ib_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .image_wrapper img:border-radius',
'id' => 'css_icon_boximage_wrapperimg_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .image_wrapper img',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .title:color',
'id' => 'css_icon_boxdesc_wrappertitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .title:margin',
'id' => 'css_icon_boxdesc_wrappertitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .title:typography',
'id' => 'css_icon_boxdesc_wrappertitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .desc:color',
'id' => 'css_icon_boxdesc_wrapperdesc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .desc:margin',
'id' => 'css_icon_boxdesc_wrapperdesc_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .desc',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .desc:typography',
'id' => 'css_icon_boxdesc_wrapperdesc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box .desc_wrapper .desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'themeoptions' => 'style:simple',
'title' => __('Divider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box|hover .desc_wrapper .title|before:background-color',
'id' => 'css_icon_boxdesc_wrappertitlebefore_background_color_hover',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box:hover .desc_wrapper .title:before',
'css_style' => 'background-color',
'themeoptions' => 'style:simple',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box|hover .desc_wrapper .title|before:width',
'id' => 'css_icon_boxdesc_wrappertitlebefore_width_hover',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .icon_box:hover .desc_wrapper .title:before',
'css_style' => 'width',
'themeoptions' => 'style:simple',
'type' => 'text',
'default_unit' => '%',
'title' => __('Width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Image ---------------------------------------------------------
'image' => array(
'type' => 'image',
'title' => __('Image', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'typography',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'src',
'type' => 'upload',
'dynamic_data' => 'featured_image',
're_render' => true,
'title' => __('Image', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'size',
'type' => 'select',
're_render' => true,
'title' => __('Size', 'mfn-opts'),
'desc' => __('Select image size from
Settings > Media > Image sizes (Media Library images only)
or use below fields for HTML resize', 'mfn-opts'),
'php_options' => array(
'full' => __('Full size', 'mfn-opts'),
'large' => __('Large', 'mfn-opts') .' | '. mfn_get_image_sizes('large', 1),
'medium' => __('Medium', 'mfn-opts') .' | '. mfn_get_image_sizes('medium', 1),
'thumbnail' => __('Thumbnail', 'mfn-opts') .' | '. mfn_get_image_sizes('thumbnail', 1),
),
'js_options' => 'media_sizes',
'std' => 'full',
),
array(
'id' => 'stretch',
'type' => 'select',
're_render' => true,
'title' => __('Stretch', 'mfn-opts'),
'desc' => __('Stretch image to column width, height will be changed proportionally', 'mfn-opts'),
'options' => array(
'0' => __('No', 'mfn-opts'),
'1' => __('Yes', 'mfn-opts'),
'ultrawide' => __('Yes, on ultrawide screens only > 1920px', 'mfn-opts'),
),
),
// lazy load
array(
'type' => 'header',
'title' => __('Lazy load', 'mfn-opts'),
),
array(
'id' => 'lazy_load',
'type' => 'switch',
'title' => __('Lazy load', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'disable' => __('Disable', 'mfn-opts'),
'lazy' => __('Enable', 'mfn-opts'),
),
'std' => '',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link_image',
'attr_id' => 'link_image',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '' ),
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Popup image', 'mfn-opts'),
'desc' => __('This
image or embed video will be opened in lightbox', 'mfn-opts'),
),
array(
'id' => 'link',
'attr_id' => 'link',
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'rel',
'type' => 'text',
'title' => __('Rel', 'mfn-opts'),
'desc' => __('"Rel" attribute to the link', 'mfn-opts'),
'before' => 'rel='
),
array(
'id' => 'target',
'type' => 'switch',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('_self', 'mfn-opts'),
1 => __('_blank', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
array(
'id' => 'hover',
'type' => 'switch',
'title' => __('Hover effect', 'mfn-opts'),
'desc' => __('Hover effect selected in Theme Options', 'mfn-opts'),
'options' => array(
'disable' => __('Disable', 'mfn-opts'),
'' => __('Enable', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'onclick',
'type' => 'text',
'title' => __('Onclick', 'mfn-opts'),
'before' => 'onclick=',
),
// description
array(
'type' => 'header',
'title' => __('Description', 'mfn-opts'),
),
array(
'id' => 'alt',
'type' => 'text',
'title' => __('Alternate text', 'mfn-opts'),
),
array(
'id' => 'caption',
'attr_id' => 'caption',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.image_frame | p.wp-caption-text',
'edit_position' => 'append',
'title' => __('Caption', 'mfn-opts'),
),
// mask shape
array(
'type' => 'header',
'title' => __('Mask shape', 'mfn-opts'),
),
array(
'id' => 'mask_shape_type',
'attr_id' => 'mask_type',
'type' => 'select',
'title' => __('Mask type', 'mfn-opts'),
'options' => array(
'0' => __('None', 'mfn-opts'),
'blob' => __('Blob', 'mfn-opts'),
'blob-2' => __('Blob 2', 'mfn-opts'),
'brush' => __('Brush', 'mfn-opts'),
'brush-2' => __('Brush 2', 'mfn-opts'),
'circle' => __('Circle', 'mfn-opts'),
'cross' => __('Cross', 'mfn-opts'),
'irregular-circle' => __('Irregular Circle', 'mfn-opts'),
'stain' => __('Stain', 'mfn-opts'),
'triangle' => __('Triangle', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => '0'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_wrapper:background-color',
'id' => 'css_image_mask_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_wrapper',
'css_style' => 'background-color',
'type' => 'color',
'title' => __('Mask color', 'mfn-opts'),
'condition' => array( 'id' => 'mask_type', 'opt' => 'isnt', 'val' => '0' ),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img:-webkit-mask-image',
'id' => 'css_image_mask_img',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img',
'css_style' => '-webkit-mask-image',
'type' => 'upload',
'title' => __('Mask image', 'mfn-opts'),
'desc' => 'Only SVG type of image works',
'condition' => array( 'id' => 'mask_type', 'opt' => 'is', 'val' => 'custom' ),
),
array(
'id' => 'mask_shape_size',
'attr_id' => 'mask_shape_size',
'type' => 'select',
'title' => __('Size', 'mfn-opts'),
'condition' => array( 'id' => 'mask_type', 'opt' => 'isnt', 'val' => '0' ),
'options' => array(
'cover' => __('Cover', 'mfn-opts'),
'contain' => __('Contain', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => 'contain',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img:-webkit-mask-size',
'id' => 'css_image_mask_img_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img',
'css_style' => '-webkit-mask-size',
'type' => 'sliderbar',
'condition' => array( 'id' => 'mask_shape_size', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Scale', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '200',
'step' => '1',
'unit' => '%',
),
),
array(
'id' => 'mask_shape_position',
'attr_id' => 'mask_shape_position',
'type' => 'select',
'title' => __('Position', 'mfn-opts'),
'condition' => array( 'id' => 'mask_type', 'opt' => 'isnt', 'val' => '0' ),
'options' => array(
'center center' => __('Center Center', 'mfn-opts'),
'center left' => __('Center Left', 'mfn-opts'),
'center right' => __('Center Right', 'mfn-opts'),
'top left' => __('Top Left', 'mfn-opts'),
'top right' => __('Top Right', 'mfn-opts'),
'top center' => __('Top Center', 'mfn-opts'),
'bottom left' => __('Bottom Left', 'mfn-opts'),
'bottom right' => __('Bottom Right', 'mfn-opts'),
'bottom center' => __('Bottom Center', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => 'center center',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img:-webkit-mask-position-x',
'id' => 'css_image_mask_img_pos_x',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img',
'css_style' => '-webkit-mask-position-x',
'type' => 'sliderbar',
'condition' => array( 'id' => 'mask_shape_position', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Position X', 'mfn-opts'),
'param' => array(
'min' => '-100',
'max' => '100',
'step' => '1',
'unit' => '%',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img:-webkit-mask-position-y',
'id' => 'css_image_mask_img_pos_y',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img',
'css_style' => '-webkit-mask-position-y',
'type' => 'sliderbar',
'condition' => array( 'id' => 'mask_shape_position', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Position Y', 'mfn-opts'),
'param' => array(
'min' => '-100',
'max' => '100',
'step' => '1',
'unit' => '%',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img:-webkit-mask-repeat',
'id' => 'css_image_mask_img_repeat',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-mask-shape .image_wrapper img',
'css_style' => '-webkit-mask-repeat',
'type' => 'select',
'title' => __('Repeat', 'mfn-opts'),
'condition' => array( 'id' => 'mask_type', 'opt' => 'isnt', 'val' => '0' ),
'options' => array(
'' => __('No repeat', 'mfn-opts'),
'repeat-x' => __('Repeat X', 'mfn-opts'),
'repeat-y' => __('Repeat Y', 'mfn-opts'),
'repeat' => __('Repeat', 'mfn-opts'),
),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'border',
'class' => 'mfn-deprecated',
're_render' => true,
'type' => 'switch',
'title' => __('Border', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'align',
'class' => 'mfn-deprecated',
're_render' => true,
'type' => 'switch',
'title' => __('Align', 'mfn-opts'),
'desc' => __('If you want image to be
resized to column width use
align none', 'mfn-opts'),
'options' => array(
'' => __('None', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
'preview' => 'align',
),
array(
'id' => 'margin',
'type' => 'text',
'title' => __('Margin top', 'mfn-opts'),
'param' => 'number',
'after' => 'px',
'class' => 'narrow mfn-deprecated',
),
array(
'id' => 'margin_bottom',
'type' => 'text',
'title' => __('Margin bottom', 'mfn-opts'),
'param' => 'number',
'after' => 'px',
'class' => 'narrow mfn-deprecated',
),
array(
'id' => 'width',
'type' => 'text',
'title' => __('Width', 'mfn-opts'),
'desc' => __('HTML resize, optional', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow mfn-deprecated',
'after' => 'px',
),
array(
'id' => 'height',
'type' => 'text',
'title' => __('Height', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow mfn-deprecated',
'after' => 'px',
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame:width',
'id' => 'css_image_frame_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame',
'css_style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Width', 'mfn-opts'),
'desc' => __('Use px, %, vw, vh or auto to set content width', 'mfn-opts'),
),
array(
'id' => 'image_height',
'attr_id' => 'image_height',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'image_height_style',
'condition' => array( 'id' => 'image_height', 'opt' => 'is', 'val' => 'custom' ),
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Fill', 'mfn-opts'),
'fit' => __('Fit', 'mfn-opts'),
),
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-coverimg .image_wrapper img:height',
'id' => 'css_image_cover_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame.mfn-coverimg .image_wrapper img',
'css_style' => 'height',
'condition' => array( 'id' => 'image_height', 'opt' => 'is', 'val' => 'custom' ),
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Height value', 'mfn-opts'),
'desc' => __('Use px, %, vw, vh or auto to set image height', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:text-align',
'id' => 'css_image_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame:border-style',
'id' => 'css_image_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame',
'css_style' => 'border-style',
'attr_id' => 'border_style_imgif',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame:border-color',
'id' => 'css_image_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_imgif', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame:border-width',
'id' => 'css_image_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_imgif', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame:border-radius',
'id' => 'css_image_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .image_frame',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => 'Grayscale',
'class' => 'mfn-toggled',
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
array(
'type' => 'header',
'condition' => array( 'id' => 'caption', 'opt' => 'isnt', 'val' => '' ),
'class' => 'toggled_header row-header',
'title' => __('Caption', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:text-align',
'id' => 'css_image_caption_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:color',
'id' => 'css_image_caption_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:background-color',
'id' => 'css_image_caption_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:padding',
'id' => 'css_image_caption_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:margin',
'id' => 'css_image_caption_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:border-style',
'id' => 'css_image_caption_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'css_style' => 'border-style',
'attr_id' => 'border_style_img_capt',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:border-color',
'id' => 'css_image_caption_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_img_capt', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:border-width',
'id' => 'css_image_caption_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_img_capt', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:border-radius',
'id' => 'css_image_caption_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text:typography',
'id' => 'css_image_caption_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .wp-caption-text',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Image Gallery ---------------------------------------------------------
'image_gallery' => array(
'type' => 'image_gallery',
'title' => __('Image Gallery', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'typography',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'ids',
'type' => 'upload_multi',
'title' => __('Images', 'mfn-opts'),
'preview' => 'images',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'size',
're_render' => true,
'type' => 'select',
'title' => __('Size', 'mfn-opts'),
'php_options' => array(
'thumbnail' => __('Thumbnail', 'mfn-opts') .' | '. mfn_get_image_sizes('thumbnail', 1),
'medium' => __('Medium', 'mfn-opts') .' | '. mfn_get_image_sizes('medium', 1),
'large' => __('Large', 'mfn-opts') .' | '. mfn_get_image_sizes('large', 1),
'full' => __('Full size', 'mfn-opts'),
),
'js_options' => 'media_sizes',
'std' => 'full',
),
array(
'id' => 'style',
'attr_id' => 'style',
're_render' => true,
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'flat' => __('Flat', 'mfn-opts'),
'fancy' => __('Fancy', 'mfn-opts'),
'masonry' => __('Masonry', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'layout',
'attr_id' => 'layout',
'condition' => array( 'id' => 'style', 'opt' => 'isnt', 'val' => 'masonry' ),
'type' => 'switch',
'title' => __('Layout', 'mfn-opts'),
'options' => array(
'' => __('Equal columns', 'mfn-opts'),
'1' => __('Equal heights', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'columns',
're_render' => true,
'condition' => array( 'id' => 'layout', 'opt' => 'is', 'val' => '' ),
'type' => 'text',
'title' => __('Columns', 'mfn-opts'),
'desc' => __('min: 1 | max: 9', 'mfn-opts'),
'after' => 'columns',
'param' => 'number',
'class' => 'narrow',
'std' => '3',
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => __('Grayscale', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'id' => 'image_height',
'attr_id' => 'image_height',
'type' => 'switch',
'title' => __('Height', 'mfn-opts'),
'class' => 'gallery-msnry-rerender-item',
'options' => array(
'' => __('Default', 'mfn-opts'),
'mfn_custom_img_height' => __('Custom', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery.mfn_custom_img_height .image_frame .image_wrapper img:--mfn-gal-img-height',
'id' => 'css_gallery_custom_img_heightimage_frameimage_wrapperimg_mfn_gal_img_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery.mfn_custom_img_height .image_frame .image_wrapper img',
'css_style' => '--mfn-gal-img-height',
'condition' => array( 'id' => 'image_height', 'opt' => 'is', 'val' => 'mfn_custom_img_height' ),
'type' => 'text',
'class' => 'gallery-msnry-rerender-item',
'default_unit' => 'px',
'responsive' => true,
'title' => __('Height', 'mfn-opts'),
'std' => '300px',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery.equal-heights .image_frame .image_wrapper img:--mfn-gal-img-max-width',
'id' => 'css_galleryequal-heightsimage_frameimage_wrapperimg_mfn_gal_img_max_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery.equal-heights .image_frame .image_wrapper img',
'css_style' => '--mfn-gal-img-max-width',
'condition' => array( 'id' => 'layout', 'opt' => 'is', 'val' => '1' ),
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'title' => __('Max width', 'mfn-opts'),
'param' => array(
'unit' => 'px',
'min' => '50',
'max' => '1200',
'step' => '1',
),
'std' => '300px'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame:border-style',
'id' => 'css_galleryimage_frame_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame',
'css_style' => 'border-style',
'attr_id' => 'border_style_ig',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame:border-color',
'id' => 'css_galleryimage_frame_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_ig', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame:border-width',
'id' => 'css_galleryimage_frame_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_ig', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame:border-radius',
'id' => 'css_galleryimage_frame_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame:margin',
'id' => 'css_galleryimage_frame_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .image_frame',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled gallery-msnry-rerender-item',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Caption', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption:display',
'id' => 'css_gallerygallery-itemgallery-caption_display',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption',
'css_style' => 'display',
'attr_id' => 'image_caption',
'class' => 'mfn-layout-modifier',
'type' => 'switch',
'title' => __('Visibility', 'mfn-opts'),
'options' => array(
'' => __('Visible', 'mfn-opts'),
'none' => __('Hidden', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'image_caption_style',
'condition' => array( 'id' => 'image_caption', 'opt' => 'is', 'val' => '' ),
'type' => 'switch',
'class' => 'mfn-layout-modifier',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'img_caption_overlay' => __('Overlay', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption:background-color',
'id' => 'css_gallerygallery-itemgallery-caption_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption',
'css_style' => 'background-color',
'condition' => array( 'id' => 'image_caption', 'opt' => 'is', 'val' => '' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption:color',
'id' => 'css_gallerygallery-itemgallery-caption_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption',
'css_style' => 'color',
'condition' => array( 'id' => 'image_caption', 'opt' => 'is', 'val' => '' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption:typography',
'id' => 'css_gallerygallery-itemgallery-caption_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption:text-align',
'id' => 'css_gallerygallery-itemgallery-caption_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption:padding',
'id' => 'css_gallerygallery-itemgallery-caption_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item .gallery-caption',
'css_style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled mfn-layout-modifier',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Item', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item:padding',
'id' => 'css_gallerygallery-item_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item',
'css_style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled gallery-msnry-rerender-item',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item:background-color',
'id' => 'css_gallerygallery-item_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .gallery .gallery-item',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Info box -------------------------------------------------------
'info_box' => array(
'type' => 'info_box',
'title' => __('Info Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.infobox | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Items', 'mfn-opts'),
'options' => [
'content' => [
'input',
__('Title', 'mfn-opts'),
__('List item', 'mfn-opts'),
],
],
'std' => [
0 => [
'content' => 'This is the 1st item',
],
1 => [
'content' => 'This is the 2nd item',
],
],
'primary' => 'content',
'preview' => 'tabs',
),
array(
'id' => 'content',
'dynamic_data' => 'content',
'type' => 'textarea',
'edit_tag' => '.infobox_wrapper | span.ib-desc',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'class' => 'form-content-full-width',
),
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'image',
'class' => 'mfn-deprecated',
'type' => 'upload',
'title' => __('Background image', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Item title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .title:color',
'id' => 'css_infoboxtitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .title:margin',
'id' => 'css_infoboxtitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .title:typography',
'id' => 'css_infoboxtitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox ul li|before:color',
'id' => 'css_infoboxullibefore_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox ul li:before',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('List', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox ul:color',
'id' => 'css_infoboxul_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox ul',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .ib-desc:color',
'id' => 'css_infoboxib-desc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .ib-desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .ib-desc:margin',
'id' => 'css_infoboxib-desc_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox .ib-desc',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Lines', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox:--mfn-infobox-line',
'id' => 'css_infobox___mfn_infobox_line',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .infobox',
'css_style' => '--mfn-infobox-line',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Line color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// List NEW -----------------------------------------------------------
'list_2' => array(
'type' => 'list_2',
'title' => __('List', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Items', 'mfn-opts'),
'options' => [
'content' => [
'textarea',
__('Content', 'mfn-opts'),
'This is the list item',
],
'link' => [
'input',
__('Link', 'mfn-opts'),
'',
],
'target' => [
'select',
__('Target', 'mfn-opts'),
'',
[
'' => __('Default | _self', 'mfn-opts'),
'_blank' => __('New tab or window | _blank', 'mfn-opts'),
],
],
'icon' => [
'icon',
__('Icon', 'mfn-opts'),
'',
],
'image' => [
'image',
__('Image', 'mfn-opts'),
'',
],
'color' => [
'color',
__('Icon color', 'mfn-opts'),
'',
],
'background' => [
'color',
__('Icon background', 'mfn-opts'),
'',
],
],
'std' => [
0 => [
'content' => __('This is the 1st item', 'mfn-opts'),
],
1 => [
'content' => __('This is the 2nd item', 'mfn-opts'),
],
],
'preview' => 'tabs',
'primary' => 'content',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'type',
'attr_id' => 'list-2-type',
'type' => 'switch',
'title' => __('Type', 'mfn-opts'),
're_render' => true,
'options' => array(
'' => __('Unordered', 'mfn-opts'),
'ordered' => __('Ordered', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'starting',
'type' => 'text',
'title' => __('Starting number', 'mfn-opts'),
'condition' => array( 'id' => 'list-2-type', 'opt' => 'is', 'val' => 'ordered' ),
're_render' => true,
'std' => '1'
),
array(
'id' => 'align',
'type' => 'switch',
'title' => __('Alignment', 'mfn-opts'),
're_render' => true,
'options' => array(
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => 'left',
'responsive' => true,
),
array(
'id' => 'valign',
'type' => 'switch',
'title' => __('Vertical alignment', 'mfn-opts'),
'attr_id' => 'list-2-valign',
're_render' => true,
'options' => array(
'top' => __('Top', 'mfn-opts'),
'middle' => __('Middle', 'mfn-opts'),
'bottom' => __('Bottom', 'mfn-opts'),
),
'std' => 'middle',
'responsive' => true,
),
array(
'id' => 'divider',
'type' => 'switch',
'title' => __('Divider', 'mfn-opts'),
're_render' => true,
'options' => array(
'' => __('Disable', 'mfn-opts'),
'enable' => __('Enable', 'mfn-opts'),
),
'std' => '',
),
// icon
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
're_render' => true,
'preview' => 'icon',
'std' => 'icon-dot',
),
array(
'id' => 'image',
'type' => 'upload',
're_render' => true,
'title' => __('Image', 'mfn-opts'),
'desc' => __('Image replaces icon selected above', 'mfn-opts'),
'preview' => 'image',
),
array(
'type' => 'html',
'html' => '
',
),
// list item
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('List item', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list .mfn-list-item:padding',
'id' => 'css_list-list-item_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list .mfn-list-item',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
// icon wrapper
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icon wrapper', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon:width',
'id' => 'css_list-icon_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon',
'css_style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon:height',
'id' => 'css_list-icon_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon',
'css_style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Height', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon:top',
'id' => 'css_list-icon_top',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon',
'css_style' => 'top',
'condition' => array( 'id' => 'list-2-valign', 'opt' => 'is', 'val' => 'top' ),
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Top', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list:--mfn-list-icon-spacing',
'id' => 'css_list___mfn_list_icon_spacing',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list',
'css_style' => '--mfn-list-icon-spacing',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Spacing', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '200',
'step' => '1',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list:--mfn-list-icon-size',
'id' => 'css_list___mfn_list_icon_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list',
'css_style' => '--mfn-list-icon-size',
'condition' => array( 'id' => 'list-2-type', 'opt' => 'isnt', 'val' => 'ordered' ),
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Icon size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list .mfn-list-icon|after:typography',
'id' => 'css_list-list-icon_after_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list .mfn-list-icon:after',
'css_style' => 'typography',
'condition' => array( 'id' => 'list-2-type', 'opt' => 'is', 'val' => 'ordered' ),
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list:--mfn-list-icon-color',
'id' => 'css_list___mfn_list_icon_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list',
'css_style' => '--mfn-list-icon-color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher_list2',
'type' => 'switch',
'class' => 'mfn-fields-switcher mfn-toggled disable-history',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon:background-color',
'id' => 'css_list-icon_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon',
'css_style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_list2', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon:gradient',
'id' => 'css_-list-icon_gradient',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon',
'css_style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_list2', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon:border-style',
'id' => 'css_list-icon_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon',
'css_style' => 'border-style',
'attr_id' => 'list2-border-style',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon:border-color',
'id' => 'css_list-icon_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon',
'css_style' => 'border-color',
'condition' => array( 'id' => 'list2-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon:border-width',
'id' => 'css_list-icon_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon',
'css_style' => 'border-width',
'condition' => array( 'id' => 'list2-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon:border-radius',
'id' => 'css_list-icon_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-icon',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
),
// description wrapper
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Description wrapper', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-desc:color',
'id' => 'css_list-desc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-desc:typography',
'id' => 'css_list-desc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list-desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
// divider
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Divider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list:--mfn-list-divider-width',
'id' => 'css_list___mfn_list_divider_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list',
'css_style' => '--mfn-list-divider-width',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Width', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 1000, 'step' => 1),
'%' => array('min' => 1, 'max' => 100, 'step' => 1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list:--mfn-list-divider-height',
'id' => 'css_list___mfn_list_divider_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list',
'css_style' => '--mfn-list-divider-height',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '20',
'step' => '1',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list:--mfn-list-divider-color',
'id' => 'css_list___mfn_list_divider_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-list',
'css_style' => '--mfn-list-divider-color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// List -----------------------------------------------------------
'list' => array(
'type' => 'list',
'title' => __('List Basic', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp',
'preview' => 'icon',
),
array(
'id' => 'image',
'type' => 'upload',
'dynamic_data' => 'featured_image',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Image replaces icon selected above', 'mfn-opts'),
'preview' => 'image',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'content',
'edit_tag' => '.list_right | div.desc',
'edit_position' => 'append',
'type' => 'textarea',
'dynamic_data' => 'content',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
array(
'id' => 'style',
'type' => 'switch',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
1 => __('With bg', 'mfn-opts'),
2 => __('Transparent', 'mfn-opts'),
3 => __('Vertical', 'mfn-opts'),
4 => __('Ordered list', 'mfn-opts'),
),
'std' => 1,
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'switch',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('_self', 'mfn-opts'),
1 => __('_blank', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_right .title:color',
'id' => 'css_list_righttitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_right .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_right .title:typography',
'id' => 'css_list_righttitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_right .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_right .desc:color',
'id' => 'css_list_rightdesc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_right .desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_right .desc:typography',
'id' => 'css_list_rightdesc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_right .desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left i,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle:color',
'id' => 'css_list_lefticircle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left i,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle:background',
'id' => 'css_list_leftcircle_background',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle',
'css_style' => 'background',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left i,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle:font-size',
'id' => 'css_list_lefticircle_font_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left i,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle',
'css_style' => 'font-size',
'type' => 'sliderbar',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle:border-style',
'id' => 'css_list_leftcircle_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle',
'css_style' => 'border-style',
'attr_id' => 'border_style_llc',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle:border-color',
'id' => 'css_list_leftcircle_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_llc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle:border-width',
'id' => 'css_list_leftcircle_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_llc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle:border-radius',
'id' => 'css_list_leftcircle_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .list_left,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .circle',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Live search -----------------------------------------------------------
'livesearch' => array(
'type' => 'livesearch',
'title' => __('Live search', 'mfn-opts'),
'desc' => __('Display search form and browse your item live', 'mfn-opts'),
'size' => '1/3',
'cat' => '',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'item_info',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('You can only use one Live search element per page', 'mfn-opts'),
),
array(
'id' => 'min_characters',
'type' => 'text',
'title' => __('Minimal characters', 'mfn-opts'),
'desc' => __('Minimal amount of characters in input to load posts', 'mfn-opts'),
'std' => '3',
'param' => 'number',
'class' => 'narrow',
'after' => __('characters', 'mfn-opts'),
),
array(
'id' => 'container_height',
'type' => 'text',
'title' => __('Search results container height', 'mfn-opts'),
'std' => '300',
'param' => 'number',
'class' => 'narrow',
'after' => __('px', 'mfn-opts'),
),
array(
'id' => 'featured_image',
'type' => 'switch',
'title' => __('Featured image', 'mfn-opts'),
'options' => array(
'0' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '1',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
)
),
),
// Map Basic ------------------------------------------------------------
'map_basic' => array(
'type' => 'map_basic',
'title' => __('Map Basic', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info-iframe',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('Number of
iframe map loads is unlimited.', 'mfn-opts'),
),
array(
'type' => 'header',
'title' => __('Iframe', 'mfn-opts'),
),
array(
'id' => 'iframe',
'type' => 'textarea',
're_render' => true,
'title' => __('Iframe', 'mfn-opts'),
'desc' => __('Visit
Google Maps and follow these instructions:
1. Find place. 2. Click the share button in the left panel. 3. Select "embed a map" 4. Choose size. 5. Click "copy HTML" and paste it above', 'mfn-opts'),
),
// embed
array(
'id' => 'info-embed',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('Number of
embed map loads is unlimited. Google Maps API key is required.', 'mfn-opts'),
'label' => __('Enter key', 'mfn-opts'),
'link' => 'admin.php?page='. apply_filters('betheme_slug','be'). '-options#advanced&options',
),
array(
'type' => 'header',
'title' => __('Embed', 'mfn-opts'),
),
array(
'id' => 'address',
'type' => 'text',
're_render' => true,
'title' => __('Address or place name', 'mfn-opts'),
),
array(
'id' => 'zoom',
'type' => 'text',
're_render' => true,
'title' => __('Zoom', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow',
'std' => 13,
),
array(
'id' => 'height',
'type' => 'text',
're_render' => true,
'title' => __('Height', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow',
'after' => 'px',
'std' => 300,
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Map Advanced ------------------------------------------------------------
'map' => array(
'type' => 'map',
'title' => __('Map Advanced', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/4',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info-key',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('Number of free dynamic map loads is limited. Google Maps API key is required.', 'mfn-opts'),
'label' => __('Enter key', 'mfn-opts'),
'link' => 'admin.php?page='. apply_filters('betheme_slug','be'). '-options#advanced&options',
),
array(
'id' => 'lat',
'type' => 'text',
're_render' => true,
'title' => __('Latitude', 'mfn-opts'),
'before' => 'LAT',
'placeholder' => '-33.87',
'std' => '-33.87',
),
array(
'id' => 'lng',
'type' => 'text',
're_render' => true,
'title' => __('Longitude', 'mfn-opts'),
'before' => 'LNG',
'placeholder' => '151.21',
'std' => '151.21',
),
array(
'id' => 'info_window',
'type' => 'textarea',
're_render' => true,
'title' => __('Info window (optional)', 'mfn-opts'),
'desc' => __('Additional information that would appear in Info window on marker click', 'mfn-opts'),
),
array(
'id' => 'zoom',
'type' => 'text',
're_render' => true,
'title' => __('Zoom', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow',
'std' => 13,
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'type',
'type' => 'switch',
're_render' => true,
'title' => __('Type', 'mfn-opts'),
'options' => array(
'ROADMAP' => __('Map', 'mfn-opts'),
'SATELLITE' => __('Satellite', 'mfn-opts'),
'HYBRID' => __('Satellite + Map', 'mfn-opts'),
'TERRAIN' => __('Terrain', 'mfn-opts'),
),
'std' => 'ROADMAP',
),
array(
'id' => 'controls',
'type' => 'select',
're_render' => true,
'title' => __('Controls', 'mfn-opts'),
'options' => array(
'' => __('Zoom', 'mfn-opts'),
'mapType' => __('Map Type', 'mfn-opts'),
'streetView' => __('Street View', 'mfn-opts'),
'zoom mapType' => __('Zoom & Map Type', 'mfn-opts'),
'zoom streetView' => __('Zoom & Street View', 'mfn-opts'),
'mapType streetView' => __('Map Type & Street View', 'mfn-opts'),
'zoom mapType streetView' => __('Zoom, Map Type & Street View', 'mfn-opts'),
'hide' => __('Hide All', 'mfn-opts'),
),
),
array(
'id' => 'draggable',
'type' => 'switch',
're_render' => true,
'title' => __('Draggable', 'mfn-opts'),
'options' => array(
'disable' => __('Disable', 'mfn-opts'),
'disable-mobile'=> __('Disable on mobile', 'mfn-opts'),
'' => __('Enable', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'border',
'type' => 'switch',
're_render' => true,
'title' => __('Border', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'icon',
're_render' => true,
'type' => 'upload',
'title' => __('Marker icon', 'mfn-opts'),
'desc' => __('.png', 'mfn-opts'),
),
array(
'id' => 'color',
're_render' => true,
'type' => 'color',
'title' => __('Map color', 'mfn-opts'),
),
array(
'id' => 'styles',
're_render' => true,
'type' => 'textarea',
'title' => __('Styles', 'mfn-opts'),
'desc' => __('You can get predefined styles from
snazzymaps.com/explore or generate your own
snazzymaps.com/editor', 'mfn-opts'),
'class' => 'form-content-full-width',
),
// additional markers
array(
'type' => 'header',
'title' => __('Additional markers', 'mfn-opts'),
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Markers', 'mfn-opts'),
'options' => [
// Add Title
'title' => [
'input',
__('Title (optional)', 'mfn-opts'),
'',
],
'lat' => [
'input',
__('Lat', 'mfn-opts'),
'-33.88',
],
'lng' => [
'input',
__('Lng', 'mfn-opts'),
'151.21',
],
'icon' => [
'input',
__('Icon URL (optional)', 'mfn-opts'),
'',
],
'content' => [
'textarea',
__('Info window (optional)', 'mfn-opts'),
'',
],
],
'std' => [],
'primary' => 'title',
'secondary' => 'lat',
),
// contact
array(
'type' => 'header',
'title' => __('Contact box', 'mfn-opts'),
),
array(
'id' => 'title',
're_render' => true,
'type' => 'text',
'title' => __('Title', 'mfn-opts'),
),
array(
'id' => 'content',
're_render' => true,
'type' => 'textarea',
'title' => __('Address', 'mfn-opts'),
'desc' => __('HTML tags allowed', 'mfn-opts'),
),
array(
'id' => 'telephone',
're_render' => true,
'type' => 'text',
'title' => __('Telephone', 'mfn-opts'),
),
array(
'id' => 'email',
're_render' => true,
'type' => 'text',
'title' => __('Email', 'mfn-opts'),
),
array(
'id' => 'www',
're_render' => true,
'type' => 'text',
'title' => __('WWW', 'mfn-opts'),
),
array(
'id' => 'style',
're_render' => true,
'type' => 'select',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'box' => __('Box on the map (for full width column/wrap)', 'mfn-opts'),
'bar' => __('Bar at the top', 'mfn-opts'),
),
),
array(
'id' => 'info-pricing',
'class' => 'mfn-alert',
'type' => 'info',
'title' => __('If you need more than 28500 map loads per month please check current Google Maps Pricing or choose Map Basic instead.', 'mfn-opts'),
'label' => __('Google Maps Pricing', 'mfn-opts'),
'link' => 'https://cloud.google.com/maps-platform/pricing/',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'height',
'type' => 'text',
'title' => __('Height', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow mfn-deprecated',
'after' => 'px',
),
array(
'id' => 'latlng',
'type' => 'text',
'title' => __('Lat,Lng,IconURL', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Map', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner .google-map:height',
'id' => 'css_mcb-column-innergoogle-map_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner .google-map',
'css_style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts')
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .google-map-contact-wrapper .get_in_touch:background-color',
'id' => 'css_google-map-contact-wrapperget_in_touch_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .google-map-contact-wrapper .get_in_touch',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch h3:color',
'id' => 'css_get_in_touchh3_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch h3',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch h3:margin',
'id' => 'css_get_in_touchh3_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch h3',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch h3:typography',
'id' => 'css_get_in_touchh3_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch h3',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li .icon:color',
'id' => 'css_get_in_touchulliicon_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li .icon',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('List', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .get_in_touch_wrapper ul li:color',
'id' => 'css_get_in_touchget_in_touch_wrapperulli_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch .get_in_touch_wrapper ul li',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Lines', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li:--mfn-contactbox-line',
'id' => 'css_get_in_touchulli_mfn_contactbox_line',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .get_in_touch ul li',
'css_style' => '--mfn-contactbox-line',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Line color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Offer Slider Full ----------------------------------------------
'offer' => array(
'type' => 'offer',
'title' => __('Offer Slider Full', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info',
'type' => 'info',
'class' => 'mfn-alert',
'title' => __('Please use on pages without sidebar and within full width sections. One item per section.', 'mfn-opts'),
),
array(
'id' => 'category',
'type' => 'select',
're_render' => true,
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('offer-types'),
'js_hierarchical_options' => 'offer_types',
'preview' => 'category',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'align',
'type' => 'select',
'class' => 'mfn-deprecated',
'title' => __('Text align', 'mfn-opts'),
'desc' => __('Text align center does not affect title if button is active', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'std' => 'left',
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .image_wrapper:border-style',
'id' => 'css_offeroffer_liimage_wrapper_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .image_wrapper',
'css_style' => 'border-style',
'attr_id' => 'border_style_os_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .image_wrapper:border-color',
'id' => 'css_offeroffer_liimage_wrapper_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .image_wrapper',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_os_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .image_wrapper:border-width',
'id' => 'css_offeroffer_liimage_wrapper_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .image_wrapper',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_os_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .image_wrapper:border-radius',
'id' => 'css_offeroffer_liimage_wrapper_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .image_wrapper',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title h3:color',
'id' => 'css_offeroffer_lidesc_wrappertitleh3_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title h3',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title h3:typography',
'id' => 'css_offeroffer_lidesc_wrappertitleh3_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title h3',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper:text-align',
'id' => 'css_desc_wrapper_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .desc:color',
'id' => 'css_offeroffer_lidesc_wrapperdesc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .desc:typography',
'id' => 'css_offeroffer_lidesc_wrapperdesc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Nav', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slider_pagination:background-color',
'id' => 'css_offerslider_pagination_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slider_pagination',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Label background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slider_pagination, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slider_pagination span:color',
'id' => 'css_offerslider_paginationofferslider_paginationspan_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slider_pagination, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .slider_pagination span',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Label color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:padding',
'id' => 'css_offeroffer_lidesc_wrappertitleabutton_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:typography',
'id' => 'css_offeroffer_lidesc_wrappertitleabutton_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:border-style',
'id' => 'css_offeroffer_lidesc_wrappertitleabutton_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button',
'css_style' => 'border-style',
'attr_id' => 'border_style_osf_border',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:border-width',
'id' => 'css_offeroffer_lidesc_wrappertitleabutton_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_osf_border', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button:border-radius',
'id' => 'css_offeroffer_lidesc_wrappertitleabutton_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer .offer_li .desc_wrapper .title a.button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Offer Slider Thumb ---------------------------------------------
'offer_thumb' => array(
'type' => 'offer_thumb',
'title' => __('Offer Slider Thumb', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('offer-types'),
'js_hierarchical_options' => 'offer_types',
'preview' => 'category',
),
array(
'id' => 'style',
're_render' => true,
'type' => 'switch',
'title' => __('Thumbnails position', 'mfn-opts'),
'options' => array(
'bottom' => __('Bottom', 'mfn-opts'),
'' => __('Left', 'mfn-opts'),
),
'std' => 'bottom',
),
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'align',
'type' => 'switch',
'class' => 'mfn-deprecated',
'title' => __('Text align', 'mfn-opts'),
'desc' => __('Text align center does not affect title if button is active', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'std' => 'left',
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .image_wrapper:border-style',
'id' => 'css_offer_thumboffer_thumb_liimage_wrapper_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .image_wrapper',
'css_style' => 'border-style',
'attr_id' => 'border_style_os_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .image_wrapper:border-color',
'id' => 'css_offer_thumboffer_thumb_liimage_wrapper_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .image_wrapper',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_os_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .image_wrapper:border-width',
'id' => 'css_offer_thumboffer_thumb_liimage_wrapper_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .image_wrapper',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_os_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .image_wrapper:border-radius',
'id' => 'css_offer_thumboffer_thumb_liimage_wrapper_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .image_wrapper',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title h3:color',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleh3_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title h3',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title h3:typography',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleh3_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title h3',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper:text-align',
'id' => 'css_desc_wrapper_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc_wrapper',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .desc:color',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrapperdesc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .desc:typography',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrapperdesc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Nav', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:padding',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleabutton_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:typography',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleabutton_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:border-style',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleabutton_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button',
'css_style' => 'border-style',
'attr_id' => 'border_style_osf_border',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:border-width',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleabutton_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_osf_border', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button:border-radius',
'id' => 'css_offer_thumboffer_thumb_lidesc_wrappertitleabutton_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .offer_thumb_li .desc_wrapper .title a.button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'themeoptions' => 'style:',
'title' => __('Decoration', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .slider_pagination li:--mfn-offer-thumbs-nav',
'id' => 'css_offer_thumbslider_paginationli_offer_thumbs_nav',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .offer_thumb .slider_pagination li',
'css_style' => '--mfn-offer-thumbs-nav',
'themeoptions' => 'style:',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Active', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Opening Hours --------------------------------------------------
'opening_hours' => array(
'type' => 'opening_hours',
'title' => __('Opening Hours', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'edit_tag' => '.opening_hours | .title',
'edit_position' => 'prepend',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Days', 'mfn-opts'),
'options' => [
'days' => [
'input',
__('Days', 'mfn-opts'),
'Monday - Friday',
],
'hours' => [
'input',
__('Hours', 'mfn-opts'),
'8am - 4pm',
],
],
'std' => [
0 => [
'days' => 'Monday - Friday',
'hours' => '8am - 4pm',
],
1 => [
'days' => 'Saturday',
'hours' => '10am - 2pm',
],
],
'primary' => 'days',
'preview' => 'tabs',
),
array(
'id' => 'content',
'type' => 'textarea',
'edit_tag' => '.opening_hours_wrapper | span.ohw-desc',
'edit_position' => 'prepend',
'dynamic_data' => 'content',
'title' => __('Content', 'mfn-opts'),
'preview' => 'content',
'class' => 'form-content-full-width',
'std' => __('Vitae adipiscing turpis. Aenean ligula nibh, molestie id viverra a, dapibus at dolor.', 'mfn-opts')
),
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'image',
'class' => 'mfn-deprecated',
'type' => 'upload',
'title' => __('Background image', 'mfn-opts'),
'desc' => __('Recommended image width 768px - 1920px depending on size of the item', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours:text-align',
'id' => 'css_opening_hours_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Row', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li:border-style',
'id' => 'css_opening_hoursopening_hours_wrapperli_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li',
'css_style' => 'border-style',
'attr_id' => 'border_style_oh_row',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li:border-width',
'id' => 'css_opening_hoursopening_hours_wrapperli_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_oh_row', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li:border-color',
'id' => 'css_opening_hoursopening_hours_wrapperli_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_oh_row', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li:border-radius',
'id' => 'css_opening_hoursopening_hours_wrapperli_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li:margin',
'id' => 'css_opening_hoursopening_hours_wrapperli_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li:padding',
'id' => 'css_opening_hoursopening_hours_wrapperli_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li:text-align',
'id' => 'css_opening_hoursopening_hours_wrapperli_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .title:color',
'id' => 'css_opening_hourstitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .title:typography',
'id' => 'css_opening_hourstitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .title:margin',
'id' => 'css_opening_hourstitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours_wrapper .ohw-desc:color',
'id' => 'css_opening_hours_wrapperohw-desc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours_wrapper .ohw-desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours_wrapper .ohw-desc:typography',
'id' => 'css_opening_hours_wrapperohw-desc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours_wrapper .ohw-desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours_wrapper .ohw-desc:margin',
'id' => 'css_opening_hours_wrapperohw-desc_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours_wrapper .ohw-desc',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Days', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label:color',
'id' => 'css_opening_hoursopening_hours_wrapperlilabel_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label:background',
'id' => 'css_opening_hoursopening_hours_wrapperlilabel_background',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label',
'css_style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label:typography',
'id' => 'css_opening_hoursopening_hours_wrapperlilabel_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label:padding',
'id' => 'css_opening_hoursopening_hours_wrapperlilabel_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label:border-style',
'id' => 'css_opening_hoursopening_hours_wrapperlilabel_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label',
'css_style' => 'border-style',
'attr_id' => 'border_style_oh',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label:border-width',
'id' => 'css_opening_hoursopening_hours_wrapperlilabel_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_oh', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label:border-color',
'id' => 'css_opening_hoursopening_hours_wrapperlilabel_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_oh', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label:border-radius',
'id' => 'css_opening_hoursopening_hours_wrapperlilabel_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li label',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Hours', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li span:color',
'id' => 'css_opening_hoursopening_hours_wrapperlispan_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li span',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li span:typography',
'id' => 'css_opening_hoursopening_hours_wrapperlispan_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .opening_hours .opening_hours_wrapper li span',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Our team -------------------------------------------------------
'our_team' => array(
'type' => 'our_team',
'title' => __('Our Team', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'heading',
'dynamic_data' => 'title',
'type' => 'text',
'edit_tag' => '.team | .title',
'edit_position' => 'prepend',
'title' => __('Heading', 'mfn-opts'),
'std' => __('This is the heading', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'heading_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Heading tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Photo', 'mfn-opts'),
'desc' => __('Recommended image width 768px - 1920px depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'title',
'dynamic_data' => 'title',
'type' => 'text',
'edit_tag' => '.desc_wrapper | .desc_wrappper_title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'subtitle',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'subtitle',
'type' => 'text',
'edit_tag' => '.desc_wrapper | p.subtitle',
'edit_position' => 'prepend',
'title' => __('Subtitle', 'mfn-opts'),
'std' => __('This is the subtitle', 'mfn-opts'),
),
// description
array(
'type' => 'header',
'title' => __('Description', 'mfn-opts'),
),
array(
'id' => 'phone',
'type' => 'text',
'title' => __('Phone', 'mfn-opts'),
),
array(
'id' => 'content',
'type' => 'textarea',
'dynamic_data' => 'content',
'edit_tag' => '.desc_wrapper | div.desc',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'desc' => __('Some shortcodes and HTML tags allowed', 'mfn-opts'),
'class' => 'form-content-full-width',
),
array(
'id' => 'email',
'type' => 'text',
'title' => __('Email', 'mfn-opts'),
),
// social
array(
'type' => 'header',
'title' => __('Social', 'mfn-opts'),
),
array(
'id' => 'facebook',
'type' => 'text',
'title' => __('Facebook', 'mfn-opts'),
),
array(
'id' => 'twitter',
'type' => 'text',
'title' => __('Twitter', 'mfn-opts'),
),
array(
'id' => 'linkedin',
'type' => 'text',
'title' => __('LinkedIn', 'mfn-opts'),
),
array(
'id' => 'vcard',
'type' => 'text',
'title' => __('vCard', 'mfn-opts'),
),
// other
array(
'type' => 'header',
'title' => __('Other', 'mfn-opts'),
),
array(
'id' => 'blockquote',
'type' => 'textarea',
'title' => __('Blockquote', 'mfn-opts'),
'class' => 'form-content-full-width',
),
array(
'id' => 'style',
'type' => 'switch',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'circle' => __('Circle', 'mfn-opts'),
'vertical' => __('Vertical', 'mfn-opts'),
'horizontal' => __('Horizontal', 'mfn-opts'),
),
'std' => 'vertical',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Heading', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .title:color',
'id' => 'css_teamtitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .title:typography',
'id' => 'css_teamtitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:margin',
'id' => 'css_teamimage_frame_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:border-style',
'id' => 'css_teamimage_frame_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'css_style' => 'border-style',
'attr_id' => 'border_style_os_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:border-color',
'id' => 'css_teamimage_frame_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_os_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:border-width',
'id' => 'css_teamimage_frame_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_os_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:border-radius',
'id' => 'css_teamimage_frame_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper:text-align',
'id' => 'css_teamdesc_wrapper_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper:background-color',
'id' => 'css_teamdesc_wrapper_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper:padding',
'id' => 'css_teamdesc_wrapper_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper:border-style',
'id' => 'css_teamdesc_wrapper_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper',
'css_style' => 'border-style',
'attr_id' => 'border_style_os_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper:border-color',
'id' => 'css_teamdesc_wrapper_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_os_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper:border-width',
'id' => 'css_teamdesc_wrapper_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_os_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper:border-radius',
'id' => 'css_teamdesc_wrapper_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc_wrappper_title:color',
'id' => 'css_teamdesc_wrapperdesc_wrappper_title_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc_wrappper_title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc_wrappper_title:typography',
'id' => 'css_teamdesc_wrapperdesc_wrappper_title_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc_wrappper_title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Subtitle', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .subtitle:color',
'id' => 'css_teamdesc_wrappersubtitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .subtitle',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .subtitle:typography',
'id' => 'css_teamdesc_wrappersubtitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .subtitle',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Phone', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone a:color',
'id' => 'css_teamdesc_wrapperphonea_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone a',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone i:color',
'id' => 'css_teamdesc_wrapperphonei_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone i',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone:typography',
'id' => 'css_teamdesc_wrapperphone_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc:color',
'id' => 'css_teamdesc_wrapperdesc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc:typography',
'id' => 'css_teamdesc_wrapperdesc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Blockquote', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote:color',
'id' => 'css_teamdesc_wrapperblockquote_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote:typography',
'id' => 'css_teamdesc_wrapperblockquote_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Blockquote icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .mfn-blockquote-icon:color',
'id' => 'css_teamdesc_wrapper-blockquote-icon_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .mfn-blockquote-icon',
'css_style' => 'color',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .mfn-blockquote-icon:font-size',
'id' => 'css_teamdesc_wrapper-blockquote-icon_font_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .mfn-blockquote-icon',
'css_style' => 'font-size',
'type' => 'sliderbar',
'themeoptions' => 'style:',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Blockquote lines', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote:text-decoration-color',
'id' => 'css_teamdesc_wrapperblockquote_text_decoration_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote',
'css_style' => 'text-decoration-color',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote:text-underline-offset',
'id' => 'css_teamdesc_wrapperblockquote_text_underline_offset',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote',
'css_style' => 'text-underline-offset',
'type' => 'text',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Offset', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote:text-decoration-thickness',
'id' => 'css_teamdesc_wrapperblockquote_text_decoration_thickness',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper blockquote',
'css_style' => 'text-decoration-thickness',
'type' => 'text',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Thickness', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icons', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a:border-style',
'id' => 'css_teamdesc_wrapperlinksa_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a',
'css_style' => 'border-style',
'attr_id' => 'border_style_ot_icon',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a:border-width',
'id' => 'css_teamdesc_wrapperlinksa_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_ot_icon', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a:border-radius',
'id' => 'css_teamdesc_wrapperlinksa_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .links a',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Divider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper hr:background-color',
'id' => 'css_teamdesc_wrapperhr_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper hr',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper hr:width',
'id' => 'css_teamdesc_wrapperhr_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper hr',
'css_style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper hr:margin',
'id' => 'css_teamdesc_wrapperhr_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper hr',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Our team list --------------------------------------------------
'our_team_list' => array(
'type' => 'our_team_list',
'title' => __('Our Team List', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Photo', 'mfn-opts'),
'desc' => __('Recommended minimum image width 768px', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.desc_wrapper | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'subtitle',
'edit_tag' => '.desc_wrapper | p.subtitle',
'edit_position' => 'append',
'type' => 'text',
'title' => __('Subtitle', 'mfn-opts'),
'std' => __('This is the subtitle', 'mfn-opts'),
'preview' => 'subtitle',
),
// description
array(
'type' => 'header',
'title' => __('Description', 'mfn-opts'),
),
array(
'id' => 'phone',
'type' => 'text',
'title' => __('Phone', 'mfn-opts'),
),
array(
'id' => 'content',
'type' => 'textarea',
'dynamic_data' => 'content',
'edit_tag' => '.desc_wrapper | div.desc',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'desc' => __('Some shortcodes and HTML tags allowed', 'mfn-opts'),
'preview' => 'content',
'class' => 'form-content-full-width',
),
array(
'id' => 'blockquote',
'type' => 'textarea',
'title' => __('Blockquote', 'mfn-opts'),
'class' => 'form-content-full-width',
),
array(
'id' => 'email',
'type' => 'text',
'title' => __('Email', 'mfn-opts'),
),
// social
array(
'type' => 'header',
'title' => __('Social', 'mfn-opts'),
),
array(
'id' => 'facebook',
'type' => 'text',
'title' => __('Facebook', 'mfn-opts'),
),
array(
'id' => 'twitter',
'type' => 'text',
'title' => __('Twitter', 'mfn-opts'),
),
array(
'id' => 'linkedin',
'type' => 'text',
'title' => __('LinkedIn', 'mfn-opts'),
),
array(
'id' => 'vcard',
'type' => 'text',
'title' => __('vCard', 'mfn-opts'),
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:margin',
'id' => 'css_teamimage_frame_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:border-style',
'id' => 'css_teamimage_frame_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'css_style' => 'border-style',
'attr_id' => 'border_style_team_list_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:border-color',
'id' => 'css_teamimage_frame_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_team_list_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:border-width',
'id' => 'css_teamimage_frame_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_team_list_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame:border-radius',
'id' => 'css_teamimage_frame_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .image_frame',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Right content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper:background-color',
'id' => 'css_teambq_wrapper_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper:padding',
'id' => 'css_teambq_wrapper_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper:border-style',
'id' => 'css_teambq_wrapper_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper',
'css_style' => 'border-style',
'attr_id' => 'border_style_team_list_desc',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper:border-color',
'id' => 'css_teambq_wrapper_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_team_list_desc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper:border-width',
'id' => 'css_teambq_wrapper_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_team_list_desc', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper:border-radius',
'id' => 'css_teambq_wrapper_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .bq_wrapper',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .title:color',
'id' => 'css_teamdesc_wrappertitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .title:typography',
'id' => 'css_teamdesc_wrappertitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Subtitle', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .subtitle:color',
'id' => 'css_teamdesc_wrappersubtitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .subtitle',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .subtitle:typography',
'id' => 'css_teamdesc_wrappersubtitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .subtitle',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Phone', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone a:color',
'id' => 'css_teamdesc_wrapperphonea_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone a',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone i:color',
'id' => 'css_teamdesc_wrapperphonei_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone i',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Icon color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone:typography',
'id' => 'css_teamdesc_wrapperphone_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .phone',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc:color',
'id' => 'css_teamdesc_wrapperdesc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc:typography',
'id' => 'css_teamdesc_wrapperdesc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .desc_wrapper .desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Blockquote', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote:color',
'id' => 'css_teamblockquote_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote:typography',
'id' => 'css_teamblockquote_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'themeoptions' => 'style:',
'title' => __('Blockquote icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .mfn-blockquote-icon:color',
'id' => 'css_team-blockquote-icon_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .mfn-blockquote-icon',
'css_style' => 'color',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .mfn-blockquote-icon:font-size',
'id' => 'css_team-blockquote-icon_font_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .mfn-blockquote-icon',
'css_style' => 'font-size',
'type' => 'sliderbar',
'themeoptions' => 'style:',
'responsive' => true,
'class' => 'mfn-toggled sliderbar-units',
'title' => __('Size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Blockquote lines', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote:text-decoration-color',
'id' => 'css_teamblockquote_text_decoration_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote',
'css_style' => 'text-decoration-color',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote:text-underline-offset',
'id' => 'css_teamblockquote_text_underline_offset',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote',
'css_style' => 'text-underline-offset',
'type' => 'text',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Offset', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote:text-decoration-thickness',
'id' => 'css_teamblockquote_text_decoration_thickness',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team blockquote',
'css_style' => 'text-decoration-thickness',
'type' => 'text',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Thickness', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icons', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a:border-style',
'id' => 'css_teamlinksa_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a',
'css_style' => 'border-style',
'attr_id' => 'border_style_team_list_icon',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a:border-width',
'id' => 'css_teamlinksa_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_team_list_icon', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a:border-radius',
'id' => 'css_teamlinksa_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team .links a',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Divider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team hr:background-color',
'id' => 'css_teamhr_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team hr',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team hr:width',
'id' => 'css_teamhr_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team hr',
'css_style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team hr:margin',
'id' => 'css_teamhr_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .team hr',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Lottie --------------------------------------------------
'lottie' => array(
'type' => 'lottie',
'title' => __('Lottie', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'source_switcher',
'attr_id' => 'lottie_source_switcher',
'type' => 'switch',
'class' => 'mfn-fields-switcher',
'title' => __('Lottie Source', 'mfn-opts'),
'options' => array(
'file' => __('Media File', 'mfn-opts'),
'url' => __('External URL', 'mfn-opts'),
),
'std' => 'file',
),
array(
'id' => 'file',
'condition' => array( 'id' => 'lottie_source_switcher', 'opt' => 'is', 'val' => 'file' ),
'type' => 'upload',
're_render' => true,
'title' => __('Lottie File', 'mfn-opts'),
'desc' => __('Upload self-hosted JSON file', 'mfn-opts'),
'preview' => 'image',
),
array(
'id' => 'src',
'condition' => array( 'id' => 'lottie_source_switcher', 'opt' => 'is', 'val' => 'url' ),
'type' => 'text',
're_render' => true,
'title' => __('Lottie URL', 'mfn-opts'),
'desc' => __('Your Lottie JSON url', 'mfn-opts'),
),
array(
'type' => 'header',
'title' => __('Settings', 'mfn-opts'),
),
array(
'id' => 'trigger',
'attr_id' => 'lottie_trigger',
'type' => 'select',
're_render' => true,
'title' => __('Trigger', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'hover' => __('On hover', 'mfn-opts'),
'click' => __('On click', 'mfn-opts'),
'scroll' => __('On scroll', 'mfn-opts'),
'viewport' => __('Viewport', 'mfn-opts'),
),
'std' => 'default',
),
array(
'id' => 'loop',
'condition' => array( 'id' => 'lottie_trigger', 'opt' => 'isnt', 'val' => 'scroll' ),
'attr_id' => 'lottie_loop',
'type' => 'switch',
'title' => __('Loop', 'mfn-opts'),
'options' => array(
"0" => __('No', 'mfn-opts'),
"1" => __('Yes', 'mfn-opts'),
),
'std' => "0",
),
array(
'id' => 'speed',
'type' => 'sliderbar',
'title' => __('Speed', 'mfn-opts'),
'std' => '1',
'param' => array(
'min' => '0.1',
'max' => '5',
'step' => '0.1',
)
),
array(
'id' => 'viewport',
'condition' => array( 'id' => 'lottie_trigger', 'opt' => 'is', 'val' => 'viewport,scroll' ),
'type' => 'sliderbar',
're_render' => true,
'title' => __('Viewport bottom offset', 'mfn-opts'),
'std' => '10',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
)
),
array(
'id' => 'frame_start',
'type' => 'sliderbar',
'title' => __('Start point', 'mfn-opts'),
'std' => '1',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
)
),
array(
'id' => 'frame_end',
'type' => 'sliderbar',
'title' => __('End point', 'mfn-opts'),
'std' => '100',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
)
),
array(
'id' => 'direction',
'condition' => array( 'id' => 'lottie_trigger', 'opt' => 'isnt', 'val' => 'scroll' ),
'type' => 'switch',
'title' => __('Direction', 'mfn-opts'),
'options' => array(
'1' => __('Forward', 'mfn-opts'),
'-1' => __('Backward', 'mfn-opts'),
),
'std' => '1',
),
array(
'id' => 'link',
'condition' => array( 'id' => 'lottie_trigger', 'opt' => 'isnt', 'val' => 'click' ),
'type' => 'text',
'placeholder' => __('Enter your custom URL', 'mfn-opts'),
'title' => __('Link', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-lottie-wrapper:justify-content',
'id' => 'css_lottie-wrapper_justify_content',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-lottie-wrapper',
'css_style' => 'justify-content',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-lottie-wrapper .lottie:width',
'id' => 'css_lottie-wrapperlottie_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-lottie-wrapper .lottie',
'css_style' => 'width',
'responsive' => true,
'type' => 'text',
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Payments methods ----------------------------------------------------
'payment_methods' => array(
'type' => 'payment_methods',
'title' => __('Payment methods', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'other',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'dynamic_items',
'type' => 'dynamic_items',
'title' => __('Payment methods', 'mfn-opts'),
'options' => array(
'var' => array(
'predefined' => __('Predefined', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts')
),
'add_button' => false,
'preview' => 'img',
'options' => array(
'predefined' => array(
'type' => 'select-img',
'label' => __('Predefined', 'mfn-opts'),
'options' => array(
'Affirm' => get_template_directory_uri().'/images/payment-methods/Affirm.svg',
'Alipay' => get_template_directory_uri().'/images/payment-methods/Alipay.svg',
'AmazonPay' => get_template_directory_uri().'/images/payment-methods/AmazonPay.svg',
'Amex' => get_template_directory_uri().'/images/payment-methods/Amex.svg',
'ApplePay' => get_template_directory_uri().'/images/payment-methods/ApplePay.svg',
'Bancontact' => get_template_directory_uri().'/images/payment-methods/Bancontact.svg',
'Bitcoin' => get_template_directory_uri().'/images/payment-methods/Bitcoin.svg',
'BitcoinCash' => get_template_directory_uri().'/images/payment-methods/BitcoinCash.svg',
'Bitpay' => get_template_directory_uri().'/images/payment-methods/Bitpay.svg',
'Citadele' => get_template_directory_uri().'/images/payment-methods/Citadele.svg',
'DinersClub' => get_template_directory_uri().'/images/payment-methods/DinersClub.svg',
'Discover' => get_template_directory_uri().'/images/payment-methods/Discover.svg',
'Elo' => get_template_directory_uri().'/images/payment-methods/Elo.svg',
'Etherium' => get_template_directory_uri().'/images/payment-methods/Etherium.svg',
'FacebookPay' => get_template_directory_uri().'/images/payment-methods/FacebookPay.svg',
'Forbrugsforeningen' => get_template_directory_uri().'/images/payment-methods/Forbrugsforeningen.svg',
'Giropay' => get_template_directory_uri().'/images/payment-methods/Giropay.svg',
'GooglePay' => get_template_directory_uri().'/images/payment-methods/GooglePay.svg',
'Ideal' => get_template_directory_uri().'/images/payment-methods/Ideal.svg',
'Interac' => get_template_directory_uri().'/images/payment-methods/Interac.svg',
'JCB' => get_template_directory_uri().'/images/payment-methods/JCB.svg',
'Klarna' => get_template_directory_uri().'/images/payment-methods/Klarna.svg',
'Lightcoin' => get_template_directory_uri().'/images/payment-methods/Lightcoin.svg',
'Maestro' => get_template_directory_uri().'/images/payment-methods/Maestro.svg',
'Mastercard' => get_template_directory_uri().'/images/payment-methods/Mastercard.svg',
'PayPal' => get_template_directory_uri().'/images/payment-methods/PayPal.svg',
'Payoneer' => get_template_directory_uri().'/images/payment-methods/Payoneer.svg',
'Paysafe' => get_template_directory_uri().'/images/payment-methods/Paysafe.svg',
'Poli' => get_template_directory_uri().'/images/payment-methods/Poli.svg',
'Qiwi' => get_template_directory_uri().'/images/payment-methods/Qiwi.svg',
'SEPA' => get_template_directory_uri().'/images/payment-methods/SEPA.svg',
'ShopPay' => get_template_directory_uri().'/images/payment-methods/ShopPay.svg',
'Skrill' => get_template_directory_uri().'/images/payment-methods/Skrill.svg',
'Sofort' => get_template_directory_uri().'/images/payment-methods/Sofort.svg',
'Stripe' => get_template_directory_uri().'/images/payment-methods/Stripe.svg',
'UnionPay' => get_template_directory_uri().'/images/payment-methods/UnionPay.svg',
'Venmo' => get_template_directory_uri().'/images/payment-methods/Venmo.svg',
'Verifone' => get_template_directory_uri().'/images/payment-methods/Verifone.svg',
'Visa' => get_template_directory_uri().'/images/payment-methods/Visa.svg',
'WeChat' => get_template_directory_uri().'/images/payment-methods/WeChat.svg',
'Webmoney' => get_template_directory_uri().'/images/payment-methods/Webmoney.svg',
'Yandex' => get_template_directory_uri().'/images/payment-methods/Yandex.svg',
)
),
'custom' => array(
'type' => 'upload',
'label' => __('Custom', 'mfn-opts'),
)
)
),
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => __('Grayscale', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'invert',
'type' => 'switch',
'title' => __('Invert', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list:justify-content',
'id' => 'css_payment-methods-list_justify_content',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list',
'css_style' => 'justify-content',
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Alignment', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'flex-start' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
'space-between' => __('Space between', 'mfn-opts'),
'space-around' => __('Space around', 'mfn-opts'),
],
'std' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li img:width',
'id' => 'css_payment-methods-listliimg_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li img',
'css_style' => 'width',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Size', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '10',
'max' => '300',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li:opacity',
'id' => 'css_payment-methods-listli_opacity',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li',
'css_style' => 'opacity',
'type' => 'sliderbar',
'title' => __('Opacity', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '1',
'step' => '0.1',
),
'std' => '1'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li:background-color',
'id' => 'css_payment-methods-listli_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li:padding',
'id' => 'css_payment-methods-listli_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li',
'css_style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li:margin',
'id' => 'css_payment-methods-listli_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li:border-style',
'id' => 'css_payment-methods-listli_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li',
'css_style' => 'border-style',
'attr_id' => 'border_style_paymet',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li:border-color',
'id' => 'css_payment-methods-listli_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_paymet', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li:border-width',
'id' => 'css_payment-methods-listli_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_paymet', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li:border-radius',
'id' => 'css_payment-methods-listli_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .payment-methods-list li',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '
',
),
)
),
// Photo Box ------------------------------------------------------
'photo_box' => array(
'type' => 'photo_box',
'title' => __('Photo Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/4',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.photo_box | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'desc' => __('Allowed HTML tags: span, strong, b, em, i, u', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image width 768px - 1920px depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'content',
'type' => 'textarea',
'dynamic_data' => 'content',
'edit_tag' => '.photo_box | div.desc',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'desc' => __('Some shortcodes and HTML tags allowed', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
// advanced
array(
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => __('Grayscale', 'mfn-opts'),
'desc' => __('Works only for images with link', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'align',
'class' => 'mfn-deprecated',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box:text-align',
'id' => 'css_photo_box_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .title:color',
'id' => 'css_photo_boxtitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .title:typography',
'id' => 'css_photo_boxtitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame:margin',
'id' => 'css_photo_boximage_frame_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame:border-style',
'id' => 'css_photo_boximage_frame_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame',
'css_style' => 'border-style',
'attr_id' => 'border_style_pb_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame:border-color',
'id' => 'css_photo_boximage_frame_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_pb_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame:border-width',
'id' => 'css_photo_boximage_frame_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_pb_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame:border-radius',
'id' => 'css_photo_boximage_frame_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .image_frame',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .desc:color',
'id' => 'css_photo_boxdesc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .desc:typography',
'id' => 'css_photo_boxdesc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .photo_box .desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Plain text
'plain_text' => array(
'type' => 'plain_text',
'title' => __('Plain Text', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/4',
'tablet_resized' => '0',
'cat' => 'typography',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'content',
'type' => 'textarea',
'dynamic_data' => 'content',
'edit_tag' => '.mcb-column-inner | div.desc',
'edit_position' => 'append',
'title' => __('Text', 'mfn-opts'),
'desc' => __('Some shortcodes and HTML tags allowed', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'vbstd' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
array(
'id' => 'shortcodes_parser',
'type' => 'switch',
'title' => __('Shortcodes parser', 'mfn-opts'),
'options' => array(
'' => __('Disabled', 'mfn-opts'),
'1' => __('Enabled', 'mfn-opts'),
),
'preview' => '1',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc:text-align',
'id' => 'css_desc_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc a:color',
'id' => 'css_descdesca_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc a',
'css_style' => 'color',
'type' => 'color',
'desc' => __('May be overwritten by individual tags or inline CSS', 'mfn-opts'),
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc:text-shadow',
'id' => 'css_desc_text_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc',
'css_style' => 'text-shadow',
'type' => 'text_shadow',
'title' => __('Text shadow', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc:typography',
'id' => 'css_desc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Portfolio ------------------------------------------------------
'portfolio' => array(
'type' => 'portfolio',
'title' => __('Portfolio', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h5',
),
array(
'id' => 'count',
're_render' => true,
'type' => 'text',
'title' => __('Projects number', 'mfn-opts'),
'param' => 'number',
'after' => 'projects',
'class' => 'narrow',
'std' => 3,
'preview' => 'number',
),
array(
'id' => 'style',
're_render' => true,
'type' => 'select',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'flat' => __('Flat', 'mfn-opts'),
'grid' => __('Grid', 'mfn-opts'),
'masonry' => __('Masonry blog style', 'mfn-opts'),
'masonry-hover' => __('Masonry hover description', 'mfn-opts'),
'masonry-minimal' => __('Masonry minimal', 'mfn-opts'),
'masonry-flat' => __('Masonry flat', 'mfn-opts'),
'list' => __('List', 'mfn-opts'),
'exposure' => __('Exposure', 'mfn-opts'),
),
'std' => 'grid',
'preview' => 'style',
),
array(
'id' => 'columns',
're_render' => true,
'type' => 'switch',
'title' => __('Columns', 'mfn-opts'),
'desc' => __('for styles: Flat, Grid, Masonry blog style, Masonry hover description', 'mfn-opts'),
'options' => array(
2 => 2,
3 => 3,
4 => 4,
5 => 5,
6 => 6,
),
'std' => 3,
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
'wpml' => 'portfolio-types',
'preview' => 'category',
),
array(
'id' => 'category_multi',
're_render' => true,
'type' => 'text',
'title' => __('Multiple categories', 'mfn-opts'),
'desc' => __('Slugs should be separated with coma ( , )', 'mfn-opts'),
'preview' => 'category-all',
),
array(
'id' => 'orderby',
'type' => 'switch',
're_render' => true,
'title' => __('Order by', 'mfn-opts'),
'desc' => __('Do not use random order with pagination or load more', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'date'
),
array(
'id' => 'order',
're_render' => true,
'type' => 'switch',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC'
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'portfolio-link',
'type' => 'select',
'title' => __('Project link', 'mfn-opts'),
'options' => array(
'' => __('Default (from Theme Options)', 'mfn-opts'),
'details' => __('Details', 'mfn-opts'),
'popup' => __('Popup Image', 'mfn-opts'),
'disable' => __('Disable Details | Only Popup Image', 'mfn-opts'),
'_self' => __('Project Website | Open in the same window', 'mfn-opts'),
'_blank' => __('Project Website | Open in new window', 'mfn-opts'),
)
),
array(
'id' => 'exclude_id',
're_render' => true,
'type' => 'text',
'title' => __('Exclude posts', 'mfn-opts'),
'desc' => __('IDs should be separated with coma ( , )', 'mfn-opts'),
),
array(
'id' => 'related',
're_render' => true,
'type' => 'switch',
'title' => __('Use as related projects', 'mfn-opts'),
'desc' => __('Exclude current project on single project page. This option will overwrite exclude posts option above.', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'filters',
'attr_id' => 'filters',
're_render' => true,
'type' => 'switch',
'title' => __('Filters', 'mfn-opts'),
'desc' => __('for category: all or multiple categories (only selected categories show in filters)', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
// pagination
array(
'type' => 'header',
'title' => __('Pagination', 'mfn-opts'),
),
array(
'id' => 'pagination',
're_render' => true,
'type' => 'switch',
'title' => __('Pagination', 'mfn-opts'),
'desc' => __('Does not work on WMPL homepage', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'load_more',
're_render' => true,
'type' => 'switch',
'title' => __('Load More button', 'mfn-opts'),
'desc' => __('Sliders will be replaced with featured images. Please use with pagination enabled.', 'mfn-opts'),
'options' => array(
0 => __('No', 'mfn-opts'),
1 => __('Yes', 'mfn-opts'),
),
'std' => 0,
),
// style
array(
'type' => 'header',
'title' => __('Style', 'mfn-opts'),
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => __('Grayscale', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item:background-color',
'id' => 'css_portfolio-item_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item:padding',
'id' => 'css_portfolio-item_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item',
'css_style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item:border-style',
'id' => 'css_portfolio-item_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item',
'css_style' => 'border-style',
'attr_id' => 'border_style_portfolio',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item:border-color',
'id' => 'css_portfolio-item_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_portfolio', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item:border-width',
'id' => 'css_portfolio-item_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_portfolio', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item:border-radius',
'id' => 'css_portfolio-item_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .image_frame:border-style',
'id' => 'css_portfolio-itemimage_frame_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .image_frame',
'css_style' => 'border-style',
'attr_id' => 'border_style_portfolio_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .image_frame:border-color',
'id' => 'css_portfolio-itemimage_frame_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .image_frame',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_portfolio_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .image_frame:border-width',
'id' => 'css_portfolio-itemimage_frame_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .image_frame',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_portfolio_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .image_frame:border-radius',
'id' => 'css_portfolio-itemimage_frame_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .image_frame',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc:background-color',
'id' => 'css_portfolio-itemdesc_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc:margin',
'id' => 'css_portfolio-itemdesc_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc:padding',
'id' => 'css_portfolio-itemdesc_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc',
'css_style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'version' => 'separated-fields',
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:body .mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .entry-title a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .entry-title:color',
'id' => 'css_title_color',
'css_path' => 'body .mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .entry-title a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .entry-title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .entry-title:typography',
'id' => 'css_portfolio-itementry-title_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .entry-title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Excerpt', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc-wrapper:color',
'id' => 'css_portfolio-itemdesc-wrapper_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc-wrapper',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc-wrapper:typography',
'id' => 'css_portfolio-itemdesc-wrapper_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc-wrapper',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icons', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Masonry hover', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group.masonry-hover .portfolio-item .masonry-hover-wrapper .hover-desc:background-color',
'id' => 'css_masonry_portfolio-item_desc_background_color_hover',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group.masonry-hover .portfolio-item .masonry-hover-wrapper .hover-desc',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group.masonry-hover .portfolio-item .masonry-hover-wrapper .hover-desc h3|after:background',
'id' => 'css_masonry_portfolio-item_desch3after_background_hover',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group.masonry-hover .portfolio-item .masonry-hover-wrapper .hover-desc h3:after',
'css_style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Decoration', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Meta', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper h5:color',
'id' => 'css_details_wrapper_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper h5',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper a:color',
'id' => 'css_portfolio-itemdetails-wrappera_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper a',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper .column:border-color',
'id' => 'css_meta_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper .column',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper:typography',
'id' => 'css_portfolio-itemdetails-wrapper_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .details-wrapper',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Exposure', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc-inner .line:background-color',
'id' => 'css_portfolio-itemdesc-innerline_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .desc-inner .line',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Line', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:padding',
'id' => 'css_portfolio-itemlist__headerlinks_wrapperbutton_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:typography',
'id' => 'css_portfolio-itemlist__headerlinks_wrapperbutton_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:border-style',
'id' => 'css_portfolio-itemlist__headerlinks_wrapperbutton_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button',
'css_style' => 'border-style',
'attr_id' => 'border_style',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:border-width',
'id' => 'css_portfolio-itemlist__headerlinks_wrapperbutton_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button:border-radius',
'id' => 'css_portfolio-itemlist__headerlinks_wrapperbutton_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_group .portfolio-item .list_style_header .links_wrapper .button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'condition' => array( 'id' => 'filters', 'opt' => 'is', 'val' => '1' ),
'title' => __('Filters', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:padding',
'id' => 'css_filters_wrapper_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:margin',
'id' => 'css_filters_wrapper_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:background',
'id' => 'css_filters_wrapper_background',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'css_style' => 'background',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:border-style',
'id' => 'css_filters_wrapper_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'css_style' => 'border-style',
'attr_id' => 'border_blog_filters_wrapper',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:border-width',
'id' => 'css_filters_wrapper_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_blog_filters_wrapper', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper:border-radius',
'id' => 'css_filters_wrapper_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li:width',
'id' => 'css_filters_wrapperli_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li',
'css_style' => 'width',
'attr_id' => 'filters_items_width_switcher',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Items width', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'auto' => __('Auto', 'mfn-opts'),
],
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:padding',
'id' => 'css_filters_wrapperlia_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li:margin',
'id' => 'css_filters_wrapperli_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:border-style',
'id' => 'css_filters_wrapperlia_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'css_style' => 'border-style',
'attr_id' => 'border_blog_filters_wrapper_li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:border-width',
'id' => 'css_filters_wrapperlia_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_blog_filters_wrapper_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a:border-radius',
'id' => 'css_filters_wrapperlia_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li a',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li:typography',
'id' => 'css_filters_wrapperli_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Filters exit', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:width',
'id' => 'css_filters_wrapperliclosea_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a',
'css_style' => 'width',
'attr_id' => 'filters_items_width_switcher',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'auto' => __('Auto', 'mfn-opts'),
],
'std' => ''
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a:padding',
'id' => 'css_filters_wrapperliclosea_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement #Filters .filters_wrapper li.close a',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
), array(
'type' => 'html',
'html' => '
',
),
),
),
// Portfolio Grid -------------------------------------------------
'portfolio_grid' => array(
'type' => 'portfolio_grid',
'title' => __('Portfolio Grid', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'count',
're_render' => true,
'type' => 'text',
'title' => __('Projects number', 'mfn-opts'),
'param' => 'number',
'after' => 'projects',
'class' => 'narrow',
'std' => 4,
'preview' => 'number',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
'wpml' => 'portfolio-types',
'preview' => 'category',
),
array(
'id' => 'category_multi',
're_render' => true,
'type' => 'text',
'title' => __('Multiple categories', 'mfn-opts'),
'desc' => __('Slugs should be separated with coma ( , )', 'mfn-opts'),
'preview' => 'category-all',
),
array(
'id' => 'orderby',
're_render' => true,
'type' => 'switch',
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'date',
),
array(
'id' => 'order',
're_render' => true,
'type' => 'switch',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC',
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => 'Grayscale',
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Box', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li:width',
'id' => 'css_portfolio_gridli_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li',
'css_style' => 'width',
'type' => 'text',
'default_unit' => '%',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li:padding',
'id' => 'css_portfolio_gridli_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li:border-style',
'id' => 'css_portfolio_gridli_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li',
'css_style' => 'border-style',
'type' => 'select',
'attr_id' => 'border_style_portgrid',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li:border-width',
'id' => 'css_portfolio_gridli_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_portgrid', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li:border-radius',
'id' => 'css_portfolio_gridli_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio_grid li',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Icons', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Portfolio Photo ------------------------------------------------
'portfolio_photo' => array(
'type' => 'portfolio_photo',
'title' => __('Portfolio Photo', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3',
),
array(
'id' => 'count',
're_render' => true,
'type' => 'text',
'title' => __('Projects number', 'mfn-opts'),
'param' => 'number',
'after' => 'projects',
'class' => 'narrow',
'std' => 5,
'preview' => 'number',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
'wpml' => 'portfolio-types',
'preview' => 'category',
),
array(
'id' => 'category_multi',
're_render' => true,
'type' => 'text',
'title' => __('Multiple categories', 'mfn-opts'),
'desc' => __('Slugs should be separated with coma ( , )', 'mfn-opts'),
'preview' => 'category-all',
),
array(
'id' => 'orderby',
're_render' => true,
'type' => 'switch',
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'date',
),
array(
'id' => 'order',
're_render' => true,
'type' => 'switch',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC',
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'switch',
'title' => __('Link target', 'mfn-opts'),
'options' => array(
0 => __('_self', 'mfn-opts'),
1 => __('_blank', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => __('Grayscale', 'mfn-opts'),
'options' => array(
0 => __('Disable', 'mfn-opts'),
1 => __('Enable', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'margin',
're_render' => true,
'type' => 'switch',
'title' => __('Margin', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Box', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details:background-color',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetails_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details:border-style',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetails_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details',
'css_style' => 'border-style',
'type' => 'select',
'attr_id' => 'border_style_port_photo',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details:border-color',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetails_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_port_photo', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details:border-width',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetails_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_port_photo', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details:border-radius',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetails_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .title:color',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetailstitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .title:typography',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetailstitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Decoration', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .title:border-color',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetailstitle_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .title',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Meta', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .categories:color',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetailscategories_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .categories',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .categories:typography',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsdetailscategories_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .details .categories',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more:background-color',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsmore_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more h4:color',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsmoreh4_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more h4',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more:typography',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsmore_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more:padding',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsmore_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more:border-style',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsmore_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more',
'css_style' => 'border-style',
'type' => 'select',
'attr_id' => 'border_style_port_photo',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more:border-color',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsmore_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_port_photo', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more:border-width',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsmore_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_port_photo', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more:border-radius',
'id' => 'css_portfolio-photoportfolio-itemportfolio-detailsmore_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .portfolio-photo .portfolio-item .portfolio-details .more',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Portfolio Slider -----------------------------------------------
'portfolio_slider' => array(
'type' => 'portfolio_slider',
'title' => __('Portfolio Slider', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'count',
're_render' => true,
'type' => 'text',
'title' => __('Projects number', 'mfn-opts'),
'param' => 'number',
'after' => 'projects',
'class' => 'narrow',
'std' => 6,
'preview' => 'number',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('portfolio-types'),
'js_hierarchical_options' => 'portfolio_types',
'wpml' => 'portfolio-types',
'preview' => 'category',
),
array(
'id' => 'category_multi',
're_render' => true,
'type' => 'text',
'title' => __('Multiple categories', 'mfn-opts'),
'desc' => __('Slugs should be separated with coma (,).', 'mfn-opts'),
'preview' => 'category-all',
),
array(
'id' => 'orderby',
'type' => 'switch',
're_render' => true,
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random', 'mfn-opts'),
),
'std' => 'date',
),
array(
'id' => 'order',
'type' => 'switch',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC',
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'arrows',
're_render' => true,
'type' => 'switch',
'title' => __('Navigation', 'mfn-opts'),
'options' => array(
'' => __('Hide', 'mfn-opts'),
'always' => __('Show', 'mfn-opts'),
'hover' => __('Show on hover', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'size',
'type' => 'switch',
're_render' => true,
'title' => __('Image size', 'mfn-opts'),
'options' => array(
'small' => __('Small', 'mfn-opts'),
'medium' => __('Medium', 'mfn-opts'),
'large' => __('Large', 'mfn-opts'),
),
'std' => 'small',
),
array(
'id' => 'scroll',
'type' => 'switch',
're_render' => true,
'title' => __('Slides to scroll', 'mfn-opts'),
'options' => array(
'page' => __('One page', 'mfn-opts'),
'slide' => __('Single slide', 'mfn-opts'),
),
'std' => 'page',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Nav', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Pricing item ---------------------------------------------------
'pricing_item' => array(
'type' => 'pricing_item',
'title' => __('Pricing Item', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/4',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.plan-header | .title',
'title' => __('Title', 'mfn-opts'),
'edit_position' => 'before | .price',
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h2',
),
// price
array(
'type' => 'header',
'title' => __('Price', 'mfn-opts'),
),
array(
'id' => 'price',
'type' => 'text',
'title' => __('Price', 'mfn-opts'),
'class' => 'narrow',
'edit_tag' => '.price | span',
'edit_position' => 'append',
'std' => '99',
'preview' => 'number',
),
array(
'id' => 'currency',
'edit_tag' => '.price | sup.currency',
'edit_position' => 'prepend',
'type' => 'text',
'title' => __('Currency', 'mfn-opts'),
'class' => 'narrow',
),
array(
'id' => 'currency_pos',
're_render' => true,
'type' => 'switch',
'title' => __('Currency position', 'mfn-opts'),
'options' => array(
'' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'period',
'type' => 'text',
'edit_tag' => '.price | .period',
'edit_position' => 'append',
'title' => __('Period', 'mfn-opts'),
'class' => 'narrow',
),
// description
array(
'type' => 'header',
'title' => __('Description', 'mfn-opts'),
),
array(
'id' => 'subtitle',
'edit_tag' => '.plan-header | p.subtitle',
'edit_position' => 'append',
'type' => 'text',
'title' => __('Subtitle', 'mfn-opts'),
),
array(
'id' => 'content',
'type' => 'textarea',
'dynamic_data' => 'content',
'edit_tag' => '.plan-inside | span.pi-content',
'edit_position' => 'prepend',
'title' => __('Content', 'mfn-opts'),
'desc' => __('HTML tags allowed', 'mfn-opts'),
'preview' => 'content',
'class' => 'form-content-full-width',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('List', 'mfn-opts'),
'options' => [
'title' => [
'input',
__('Title', 'mfn-opts'),
'List item',
],
],
'std' => [
0 => [
'title' => __('This is the 1st item', 'mfn-opts'),
],
1 => [
'title' => __('This is the 2nd item', 'mfn-opts'),
],
],
'primary' => 'title',
'preview' => 'tabs',
),
// button
array(
'type' => 'header',
'title' => __('Button', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link_title',
're_render' => true,
'dynamic_data' => 'title',
'type' => 'text',
'title' => __('Title', 'mfn-opts'),
),
array(
'id' => 'icon',
're_render' => true,
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
),
array(
'id' => 'link',
're_render' => true,
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
'desc' => __('Button will appear only if this field is filled.', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Link target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// style
array(
'type' => 'header',
'title' => __('Style', 'mfn-opts'),
),
array(
'id' => 'style',
're_render' => true,
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'box' => __('Box', 'mfn-opts'),
'table' => __('Table', 'mfn-opts'),
'label' => __('Table label', 'mfn-opts'),
),
'std' => 'box',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'featured',
'class' => 'mfn-deprecated',
'type' => 'switch',
'title' => __('Featured', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
1 => __('Featured', 'mfn-opts'),
),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box:text-align',
'id' => 'css_pricing-box_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image:border-style',
'id' => 'css_pricing-boxplan-headerimage_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image',
'css_style' => 'border-style',
'attr_id' => 'border_style_pricing_box',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image:border-color',
'id' => 'css_pricing-boxplan-headerimage_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_pricing_box', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image:border-width',
'id' => 'css_pricing-boxplan-headerimage_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_pricing_box', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image:border-radius',
'id' => 'css_pricing-boxplan-headerimage_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image:margin',
'id' => 'css_pricing-boxplan-headerimage_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .image',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .title:color',
'id' => 'css_pricing-boxplan-headertitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .title:typography',
'id' => 'css_pricing-boxplan-headertitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .title:margin',
'id' => 'css_pricing-boxplan-headertitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .title',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Price', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price span:color',
'id' => 'css_pricing-boxplan-headerpricespan_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price span',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price span:typography',
'id' => 'css_pricing-boxplan-headerpricespan_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price span',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price:margin',
'id' => 'css_pricing-boxplan-headerprice_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Price currency', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price sup.currency:color',
'id' => 'css_pricing-boxplan-headerpricesupcurrency_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price sup.currency',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner .pricing-box .plan-header .price sup.currency:typography',
'id' => 'css_mcb-column-innerpricing-boxplan-headerpricesupcurrency_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner .pricing-box .plan-header .price sup.currency',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Price period', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price sup.period:color',
'id' => 'css_pricing-boxplan-headerpricesupperiod_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header .price sup.period',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner .pricing-box .plan-header .price sup.period:typography',
'id' => 'css_mcb-column-innerpricing-boxplan-headerpricesupperiod_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner .pricing-box .plan-header .price sup.period',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Decoration', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header hr:background-color',
'id' => 'css_pricing-boxplan-headerhr_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header hr',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header hr:width',
'id' => 'css_pricing-boxplan-headerhr_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header hr',
'css_style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'class' => 'mfn-toggled',
'title' => __('Width', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Subtitle', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header p.subtitle:color',
'id' => 'css_pricing-boxplan-headerpsubtitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header p.subtitle',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header p.subtitle:typography',
'id' => 'css_pricing-boxplan-headerpsubtitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-header p.subtitle',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside .pi-content:color',
'id' => 'css_pricing-boxplan-insidepi-content_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside .pi-content',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside .pi-content:typography',
'id' => 'css_pricing-boxplan-insidepi-content_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside .pi-content',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside .pi-content:margin',
'id' => 'css_pricing-boxplan-insidepi-content_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside .pi-content',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('List', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul:margin',
'id' => 'css_pricing-boxplan-insideul_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li:typography',
'id' => 'css_pricing-boxplan-insideulli_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('List row', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li:color',
'id' => 'css_pricing-boxplan-insideulli_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li:text-align',
'id' => 'css_pricing-boxplan-insideulli_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li:border-style',
'id' => 'css_pricing-boxplan-insideulli_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li',
'css_style' => 'border-style',
'attr_id' => 'border_style_pricing_li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li:border-color',
'id' => 'css_pricing-boxplan-insideulli_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_pricing_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li:border-width',
'id' => 'css_pricing-boxplan-insideulli_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_pricing_li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li:border-radius',
'id' => 'css_pricing-boxplan-insideulli_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li:margin',
'id' => 'css_pricing-boxplan-insideulli_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li:padding',
'id' => 'css_pricing-boxplan-insideulli_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-inside ul li',
'css_style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:padding',
'id' => 'css_pricing-boxplan-footerabutton_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:typography',
'id' => 'css_pricing-boxplan-footerabutton_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:border-style',
'id' => 'css_pricing-boxplan-footerabutton_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button',
'css_style' => 'border-style',
'attr_id' => 'border_style_pricing_button',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:border-width',
'id' => 'css_pricing-boxplan-footerabutton_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_pricing_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button:border-radius',
'id' => 'css_pricing-boxplan-footerabutton_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .pricing-box .plan-footer a.button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Progress Bars -------------------------------------------------
'progress_bars' => array(
'type' => 'progress_bars',
'title' => __('Progress Bars', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'type' => 'text',
'edit_tag' => '.progress_bars | .title',
'dynamic_data' => 'title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Bars', 'mfn-opts'),
'options' => [
'title' => [
'input',
__('Title', 'mfn-opts'),
__('Bar item', 'mfn-opts'),
],
'value' => [
'input',
__('Value', 'mfn-opts'),
'50',
],
'size' => [
'input',
__('Size', 'mfn-opts'),
'20',
],
'color' => [
'input',
__('Color (optional)', 'mfn-opts'),
'',
],
],
'std' => [
0 => [
'title' => 'This is the 1st bar',
'value' => '50',
'size' => '10',
'color' => '#72a5d8',
],
1 => [
'title' => 'This is the 2nd bar',
'value' => '30',
'size' => '15',
'color' => 'grey',
],
],
'primary' => 'title',
'preview' => 'tabs',
),
array(
'id' => 'content',
'edit_tag' => '.bars_list | ul.pb-desc',
'edit_position' => 'append',
'dynamic_data' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
'class' => 'form-content-full-width',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .title:color',
'id' => 'css_progress_barstitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .title:typography',
'id' => 'css_progress_barstitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .title:margin',
'id' => 'css_progress_barstitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .title',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list .pb-desc:color',
'id' => 'css_progress_bars_listpb-desc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list .pb-desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list .pb-desc:typography',
'id' => 'css_progress_bars_listpb-desc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list .pb-desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list .pb-desc:margin',
'id' => 'css_progress_bars_listpb-desc_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list .pb-desc',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Bar title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6:color',
'id' => 'css_progress_bars_listlih6_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6:typography',
'id' => 'css_progress_bars_listlih6_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Bar value', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6 .label:display',
'id' => 'css_progress_bars_listlih6label_display',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6 .label',
'css_style' => 'display',
'attr_id' => 'progress_bar_percents',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Visibility', 'mfn-opts'),
'options' => array(
'' => __('Visible', 'mfn-opts'),
'none' => __('Hidden', 'mfn-opts'),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6 .label:color',
'id' => 'css_progress_bars_listlih6label_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6 .label',
'css_style' => 'color',
'condition' => array( 'id' => 'progress_bar_percents', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6 .label:background-color',
'id' => 'css_progress_bars_listlih6label_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6 .label',
'css_style' => 'background-color',
'condition' => array( 'id' => 'progress_bar_percents', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6 .label:typography',
'id' => 'css_progress_bars_listlih6label_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li h6 .label',
'css_style' => 'typography',
'condition' => array( 'id' => 'progress_bar_percents', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Bar', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li .bar:background-color',
'id' => 'css_progress_bars_listlibar_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li .bar',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li .bar .progress:background-color',
'id' => 'css_progress_bars_listlibarprogress_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li .bar .progress',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background active', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li .bar:box-shadow',
'id' => 'css_progress_bars_listlibar_box_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li .bar',
'css_style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li .bar:border-radius',
'id' => 'css_progress_bars_listlibar_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .progress_bars .bars_list li .bar',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Promo Box ------------------------------------------------------
'promo_box' => array(
'type' => 'promo_box',
'title' => __('Promo Box', 'mfn-opts'),
'size' => '1/2',
'tablet_size' => '1/2',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended minimum image width 768px', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.desc_wrapper | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h2',
),
array(
'id' => 'content',
'type' => 'textarea',
'dynamic_data' => 'content',
'edit_tag' => '.desc_wrapper | div.desc',
'edit_position' => 'prepend',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// button
array(
'type' => 'header',
'title' => __('Button', 'mfn-opts'),
),
array(
'id' => 'btn_text',
'type' => 'text',
'dynamic_data' => 'title',
're_render' => true,
'title' => __('Text', 'mfn-opts'),
),
array(
'id' => 'btn_link',
'dynamic_data' => 'link',
'type' => 'text',
're_render' => true,
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Link target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'position',
'type' => 'switch',
're_render' => true,
'title' => __('Image position', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => 'left',
),
array(
'id' => 'border',
'type' => 'switch',
're_render' => true,
'title' => __('Border right', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .photo_wrapper:border-style',
'id' => 'css_promo_box_wrapperphoto_wrapper_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .photo_wrapper',
'css_style' => 'border-style',
'attr_id' => 'border_style_pricing_box',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .photo_wrapper:border-color',
'id' => 'css_promo_box_wrapperphoto_wrapper_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .photo_wrapper',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_pricing_box', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .photo_wrapper:border-width',
'id' => 'css_promo_box_wrapperphoto_wrapper_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .photo_wrapper',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_pricing_box', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .photo_wrapper:border-radius',
'id' => 'css_promo_box_wrapperphoto_wrapper_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .photo_wrapper',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper:text-align',
'id' => 'css_promo_box_desc__text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .title:color',
'id' => 'css_promo_box_desc_title_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .title:typography',
'id' => 'css_promo_box_desc_title_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .title:margin',
'id' => 'css_promo_box_desc_title_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .title',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .desc:color',
'id' => 'css_promo_box_desc_desc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .desc:typography',
'id' => 'css_promo_box_desc_desc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .desc:margin',
'id' => 'css_promo_box_desc_desc_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .desc',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:padding',
'id' => 'css_promo_box_desc_button_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:typography',
'id' => 'css_promo_box_desc_button_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:border-style',
'id' => 'css_promo_box_desc_button_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button',
'css_style' => 'border-style',
'attr_id' => 'border_style_promo',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:border-width',
'id' => 'css_promo_box_desc_button_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_promo', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button:border-radius',
'id' => 'css_promo_box_desc_button_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box_wrapper .desc_wrapper .button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box.has_border|after:border-color',
'id' => 'css_promo_boxhas_borderafter_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .promo_box.has_border:after',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Quick Fact -----------------------------------------------------
'quick_fact' => array(
'type' => 'quick_fact',
'title' => __('Quick Fact', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'heading',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Heading', 'mfn-opts'),
'edit_tag' => '.quick_fact | .heading_tag',
'edit_position' => 'prepend',
'edit_tag_var' => 'preview-heading_taginput',
'std' => __('This is the heading', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'heading_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Heading tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4'
),
array(
'id' => 'title',
'type' => 'text',
'title' => __('Title', 'mfn-opts'),
'dynamic_data' => 'title',
'std' => __('This is the title', 'mfn-opts'),
'edit_tag' => '.quick_fact | .title_tag',
'edit_tag_var' => 'preview-title_taginput',
'edit_position' => 'before | .hr_narrow',
'preview' => 'subtitle',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3'
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'dynamic_data' => 'content',
'edit_tag' => '.quick_fact | div.desc',
'class' => 'form-content-full-width',
),
// quick fact
array(
'type' => 'header',
'title' => __('Quick fact', 'mfn-opts'),
),
array(
'id' => 'number',
'type' => 'text',
'title' => __('Number', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow',
'std' => '99',
'preview' => 'number',
),
array(
'id' => 'prefix',
'type' => 'text',
'title' => __('Prefix', 'mfn-opts'),
'class' => 'narrow',
),
array(
'id' => 'label',
'type' => 'text',
'title' => __('Postfix', 'mfn-opts'),
'class' => 'narrow',
),
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'align',
'class' => 'mfn-deprecated',
'type' => 'switch',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact:text-align',
'id' => 'css_quick_fact_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Heading', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .heading_tag:color',
'id' => 'css_quick_factheading_tag_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .heading_tag',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .heading_tag:margin',
'id' => 'css_quick_factheading_tag_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .heading_tag',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .heading_tag:typography',
'id' => 'css_quick_factheading_tag_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .heading_tag',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Pre', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .prefix:color',
'id' => 'css_quick_factnumber-wrapperprefix_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .prefix',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .prefix:margin',
'id' => 'css_quick_factnumber-wrapperprefix_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .prefix',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .prefix:typography',
'id' => 'css_quick_factnumber-wrapperprefix_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .prefix',
'css_style' => 'typography',
'type' => 'typography_vb',
'typography' => 'simple',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Number', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .number:color',
'id' => 'css_quick_factnumber-wrappernumber_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .number',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper:margin',
'id' => 'css_quick_factnumber-wrapper_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .number:typography',
'id' => 'css_quick_factnumber-wrappernumber_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .number',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Post', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .postfix:color',
'id' => 'css_quick_factnumber-wrapperpostfix_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .postfix',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .postfix:margin',
'id' => 'css_quick_factnumber-wrapperpostfix_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .postfix',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .postfix:typography',
'id' => 'css_quick_factnumber-wrapperpostfix_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .number-wrapper .postfix',
'css_style' => 'typography',
'type' => 'typography_vb',
'typography' => 'simple',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .title_tag:color',
'id' => 'css_quick_facttitle_tag_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .title_tag',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .title_tag:margin',
'id' => 'css_quick_facttitle_tag_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .title_tag',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .title_tag:typography',
'id' => 'css_quick_facttitle_tag_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .title_tag',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Desc', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .desc:color',
'id' => 'css_quick_factdesc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .desc:margin',
'id' => 'css_quick_factdesc_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .desc',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .desc:typography',
'id' => 'css_quick_factdesc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'themeoptions' => 'style:',
'title' => __('Divider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .hr_narrow:background-color',
'id' => 'css_quick_facthr_narrow_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .hr_narrow',
'css_style' => 'background-color',
'themeoptions' => 'style:',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .hr_narrow:margin',
'id' => 'css_quick_facthr_narrow_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .hr_narrow',
'css_style' => 'margin',
'themeoptions' => 'style:',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .hr_narrow:width',
'id' => 'css_quick_facthr_narrow_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .quick_fact .hr_narrow',
'css_style' => 'width',
'themeoptions' => 'style:',
'type' => 'text',
'default_unit' => '%',
'title' => __('Width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// share
'share' => array(
'type' => 'share',
'title' => __('Share', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'title' => __('Copy link', 'mfn-opts'),
),
array(
'id' => 'copy_link',
'attr_id' => 'copy_link',
're_render' => true,
'type' => 'switch',
'title' => __('Copy link', 'mfn-opts'),
'options' => array(
'1' => 'Show',
'' => 'Hide',
),
'std' => '1',
),
array(
'id' => 'copy_link_icon',
'condition' => array( 'id' => 'copy_link', 'opt' => 'is', 'val' => '1' ),
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'far fa-copy'
),
array(
'id' => 'copy_link_label',
'condition' => array( 'id' => 'copy_link', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Label', 'mfn-opts'),
'std' => __('Copy link', 'mfn-opts'),
),
array(
'type' => 'header',
'title' => __('Facebook', 'mfn-opts'),
),
array(
'id' => 'facebook',
'attr_id' => 'facebook',
're_render' => true,
'type' => 'switch',
'title' => __('Facebook', 'mfn-opts'),
'options' => array(
'1' => 'Show',
'' => 'Hide',
),
'std' => '1',
),
array(
'id' => 'facebook_icon',
'condition' => array( 'id' => 'facebook', 'opt' => 'is', 'val' => '1' ),
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'icon-facebook'
),
array(
'id' => 'facebook_label',
'condition' => array( 'id' => 'facebook', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Label', 'mfn-opts'),
),
array(
'type' => 'header',
'title' => __('X', 'mfn-opts'),
),
array(
'id' => 'twitter',
'attr_id' => 'twitter',
're_render' => true,
'type' => 'switch',
'title' => __('X', 'mfn-opts'),
'options' => array(
'1' => 'Show',
'' => 'Hide',
),
'std' => '1',
),
array(
'id' => 'twitter_icon',
'condition' => array( 'id' => 'twitter', 'opt' => 'is', 'val' => '1' ),
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'icon-x-twitter'
),
array(
'id' => 'twitter_label',
'condition' => array( 'id' => 'twitter', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Label', 'mfn-opts'),
),
array(
'type' => 'header',
'title' => __('LinkedIn', 'mfn-opts'),
),
array(
'id' => 'linkedin',
'attr_id' => 'linkedin',
're_render' => true,
'type' => 'switch',
'title' => __('LinkedIn', 'mfn-opts'),
'options' => array(
'1' => 'Show',
'' => 'Hide',
),
'std' => '1',
),
array(
'id' => 'linkedin_icon',
'condition' => array( 'id' => 'linkedin', 'opt' => 'is', 'val' => '1' ),
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'preview' => 'icon',
'std' => 'icon-linkedin'
),
array(
'id' => 'linkedin_label',
'condition' => array( 'id' => 'linkedin', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Label', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post:justify-content',
'id' => 'css_share-post_justify_content',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post',
'css_style' => 'justify-content',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Items', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post:typography',
'id' => 'css_share-post_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post:gap',
'id' => 'css_share-post_gap',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post',
'css_style' => 'gap',
'type' => 'sliderbar',
'title' => __('Gap', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button:padding',
'id' => 'css_share-post-button_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button:border-style',
'id' => 'css_share-post-button_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button',
'css_style' => 'border-style',
'attr_id' => 'border_sharepost_button',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button:border-width',
'id' => 'css_share-post-button_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_sharepost_button', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button:border-radius',
'id' => 'css_share-post-button_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-share-post .mfn-share-post-button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'facebook', 'opt' => 'is', 'val' => '1' ),
'class' => 'toggled_header row-header',
'title' => __('Facebook', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'twitter', 'opt' => 'is', 'val' => '1' ),
'class' => 'toggled_header row-header',
'title' => __('X', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'condition' => array( 'id' => 'linkedin', 'opt' => 'is', 'val' => '1' ),
'class' => 'toggled_header row-header',
'title' => __('LinkedIn', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
)
),
// Shop Categories ----------------------------------------------------
'shop_categories' => array(
'type' => 'shop_categories',
'title' => __('Shop categories', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
//'fields' => array(
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '
',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'columns',
'type' => 'switch',
're_render' => true,
'title' => __('Columns', 'mfn-opts'),
'options' => array(
2 => 2,
3 => 3,
4 => 4,
),
'std' => '3',
),
array(
'id' => 'display',
'attr_id' => 'shop_cat_display',
'type' => 'select',
'title' => __('Display', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Main categories', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'category',
'condition' => array( 'id' => 'shop_cat_display', 'opt' => 'isnt', 'val' => '1' ),
're_render' => true,
'type' => 'select',
'title' => __('Parent category', 'mfn-opts'),
'php_options' => mfn_get_categories('product_cat'),
'js_hierarchical_options' => 'product_cat',
'preview' => 'category',
),
array(
'id' => 'subcategory',
'type' => 'select',
'title' => __('Subcatories display', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Subcatories', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'empty',
'type' => 'switch',
're_render' => true,
'title' => __('Empty categories', 'mfn-opts'),
'desc' => __('Show categories without products', 'mfn-opts'),
'options' => array(
1 => __('Hide', 'mfn-opts'),
0 => __('Show', 'mfn-opts'),
),
'std' => 1,
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'image',
'type' => 'switch',
're_render' => true,
'title' => __('Image', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 1,
),
array(
'id' => 'title',
'type' => 'switch',
're_render' => true,
'title' => __('Title', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 1,
),
array(
'id' => 'count',
'type' => 'switch',
're_render' => true,
'title' => __('Count', 'mfn-opts'),
'desc' => __('Number of products in category', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => [
'h1' => 'H1',
'h2' => 'H2',
'h3' => 'H3',
'h4' => 'H4',
'h5' => 'H5',
'h6' => 'H6',
'p' => 'p',
'span' => 'span',
],
'std' => 'h2',
),
// order
array(
'type' => 'header',
'title' => __('Order', 'mfn-opts'),
),
array(
'id' => 'order',
'type' => 'order',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'std' => 'image,title',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:text-align',
'id' => 'css_products_product_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:background-color',
'id' => 'css_products_product_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:padding',
'id' => 'css_products_product_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:border-style',
'id' => 'css_products_product_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'css_style' => 'border-style',
'attr_id' => 'border_style_sc-li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:border-color',
'id' => 'css_products_product_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_sc-li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:border-width',
'id' => 'css_products_product_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_sc-li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:border-radius',
'id' => 'css_products_product_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product img:border-style',
'id' => 'css_products_product_img_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product img',
'css_style' => 'border-style',
'attr_id' => 'border_style_sc-img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product img:border-color',
'id' => 'css_products_product_img_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product img',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_sc-img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product img:border-width',
'id' => 'css_products_product_img_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product img',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_sc-img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product img:border-radius',
'id' => 'css_products_product_img_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product img',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title:color',
'id' => 'css_products_product_woocommerce-loop-category__title_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title:typography',
'id' => 'css_products_product_woocommerce-loop-category__title_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title:margin',
'id' => 'css_products_product_woocommerce-loop-category__title_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Count', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title .count:color',
'id' => 'css_products_product_woocommerce-loop-category__titlecount_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title .count',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title .count:typography',
'id' => 'css_products_product_woocommerce-loop-category__titlecount_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .woocommerce-loop-category__title .count',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Shop ----------------------------------------------------
'shop' => array(
'type' => 'shop',
'title' => __('Shop', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'limit',
're_render' => true,
'type' => 'text',
'title' => __('Products number', 'mfn-opts'),
'std' => '6',
'after' => 'products',
'param' => 'number',
'class' => 'narrow',
'preview' => 'number',
),
array(
'id' => 'columns',
're_render' => true,
'type' => 'switch',
'title' => __('Columns', 'mfn-opts'),
'options' => array(
2 => 2,
3 => 3,
4 => 4,
),
'std' => '3',
),
array(
'id' => 'type',
're_render' => true,
'type' => 'select',
'title' => __('Display', 'mfn-opts'),
'options' => array(
'products' => __('- Default -', 'mfn-opts'),
'sale_products' => __('On sale', 'mfn-opts'),
'best_selling_products' => __('Best selling (order by: Sales)', 'mfn-opts'),
'top_rated_products' => __('Top-rated (order by: Rating)', 'mfn-opts'),
),
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('product_cat'),
'js_hierarchical_options' => 'product_cat',
'preview' => 'category',
),
array(
'id' => 'orderby',
're_render' => true,
'type' => 'select',
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date the product was published', 'mfn-opts'),
'id' => __('ID of the product', 'mfn-opts'),
'menu_order' => __('Menu order (if set)', 'mfn-opts'),
'popularity' => __('Popularity (number of purchases)', 'mfn-opts'),
'rating' => __('Rating', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
'rand' => __('Random (do not use with pagination)', 'mfn-opts'),
),
'std' => 'title'
),
array(
'id' => 'order',
're_render' => true,
'type' => 'switch',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'ASC'
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'paginate',
're_render' => true,
'type' => 'switch',
'title' => __('Pagination', 'mfn-opts'),
'options' => array(
0 => __('Hide', 'mfn-opts'),
1 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:background-color',
'id' => 'css_products_product_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:padding',
'id' => 'css_products_product_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:border-style',
'id' => 'css_products_product_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'css_style' => 'border-style',
'attr_id' => 'border_style_sc-li',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:border-color',
'id' => 'css_products_product_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_sc-li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:border-width',
'id' => 'css_products_product_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_sc-li', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product:border-radius',
'id' => 'css_products_product_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .image_frame:border-style',
'id' => 'css_products_product_image_frame_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .image_frame',
'css_style' => 'border-style',
'attr_id' => 'border_style_sc-img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .image_frame:border-color',
'id' => 'css_products_product_image_frame_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .image_frame',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_sc-img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .image_frame:border-width',
'id' => 'css_products_product_image_frame_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .image_frame',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_sc-img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .image_frame:border-radius',
'id' => 'css_products_product_image_frame_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .image_frame',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .desc:background-color',
'id' => 'css_products_product_desc_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .desc',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .desc:text-align',
'id' => 'css_products_product_desc_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .desc',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .desc:margin',
'id' => 'css_products_product_desc_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .desc',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .desc:padding',
'id' => 'css_products_product_desc_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .desc',
'css_style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .mfn-woo-product-title a:color',
'id' => 'css_products_product_-woo-product-titlea_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .mfn-woo-product-title a',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .mfn-woo-product-title:typography',
'id' => 'css_products_product_-woo-product-title_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .mfn-woo-product-title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .mfn-woo-product-title:margin',
'id' => 'css_products_product_-woo-product-title_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .mfn-woo-product-title',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Price', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price:color',
'id' => 'css_products_product_price_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price:typography',
'id' => 'css_product_price_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price:margin',
'id' => 'css_products_product_price_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Regular price', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price del:color',
'id' => 'css_products_product_pricedel_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price del',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price del:typography',
'id' => 'css_product_pricedel_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .price del',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Excerpt', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .excerpt:color',
'id' => 'css_products_product_excerpt_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .excerpt',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .excerpt:typography',
'id' => 'css_product_excerpt_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .excerpt',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .excerpt:margin',
'id' => 'css_products_product_excerpt_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .excerpt',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:padding',
'id' => 'css_products_product_button_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:typography',
'id' => 'css_products_button_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:border-style',
'id' => 'css_products_product_button_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button',
'css_style' => 'border-style',
'attr_id' => 'border_style_shop',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:border-width',
'id' => 'css_products_product_button_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_shop', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button:border-radius',
'id' => 'css_products_product_button_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .woocommerce ul.products li.product .button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Shop Slider ----------------------------------------------------
'shop_slider' => array(
'type' => 'shop_slider',
'title' => __('Shop Slider', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.blog_slider_header | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h4',
),
array(
'id' => 'count',
're_render' => true,
'type' => 'text',
'title' => __('Products number', 'mfn-opts'),
'std' => '5',
'after' => 'products',
'param' => 'number',
'class' => 'narrow',
'preview' => 'number',
),
array(
'id' => 'show',
're_render' => true,
'type' => 'select',
'title' => __('Display', 'mfn-opts'),
'options' => array(
'' => __('All (or category selected below)', 'mfn-opts'),
'featured' => __('Featured', 'mfn-opts'),
'onsale' => __('Onsale', 'mfn-opts'),
'best-selling' => __('Best Selling (order by: Sales)', 'mfn-opts'),
),
),
array(
'id' => 'out_of_stock',
're_render' => true,
'type' => 'switch',
'title' => __('Out of stock products', 'mfn-opts'),
'options' => array(
'hide' => __('Hide', 'mfn-opts'),
'' => __('Show', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'add_to_cart_button',
'attr_id' => 'add_to_cart_button',
're_render' => true,
'type' => 'switch',
'title' => __('Add to Cart button', 'mfn-opts'),
'kl_options' => array( // prevent js sort
(object) array('key' => '', 'label' => 'Hide'),
(object) array('key' => '1', 'label' => 'Show'),
),
'php_options' => array(
'' => __('Hide', 'mfn-opts'),
'1' => __('Show', 'mfn-opts'),
),
'std' => '',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('product_cat'),
'js_hierarchical_options' => 'product_cat',
'preview' => 'category',
),
array(
'id' => 'orderby',
're_render' => true,
'type' => 'switch',
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
),
'std' => 'date'
),
array(
'id' => 'order',
're_render' => true,
'type' => 'switch',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC'
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Item title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title:color',
'id' => 'css_blog_slider_headertitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title:typography',
'id' => 'css_blog_slider_headertitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title:margin',
'id' => 'css_blog_slider_headertitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .blog_slider_header .title',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .image_frame:border-style',
'id' => 'css_shop_slider_ulliimage_frame_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .image_frame',
'css_style' => 'border-style',
'attr_id' => 'border_style_sc-img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .image_frame:border-color',
'id' => 'css_shop_slider_ulliimage_frame_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .image_frame',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_sc-img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .image_frame:border-width',
'id' => 'css_shop_slider_ulliimage_frame_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .image_frame',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_sc-img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .image_frame:border-radius',
'id' => 'css_shop_slider_ulliimage_frame_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .image_frame',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .desc:background-color',
'id' => 'css_shop_slider_ullidesc_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .desc',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .desc:text-align',
'id' => 'css_shop_slider_ullidesc_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .desc',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .desc:margin',
'id' => 'css_shop_slider_ullidesc_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .desc',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .desc:padding',
'id' => 'css_shop_slider_ullidesc_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .desc',
'css_style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li h4 a:color',
'id' => 'css_shop_slider_ullih4a_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li h4 a',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li h4:typography',
'id' => 'css_shop_slider_ullih4_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li h4',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li h4:margin',
'id' => 'css_shop_slider_ullih4_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li h4',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Price', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price:color',
'id' => 'css_shop_slider_ulliprice_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price:typography',
'id' => 'css_shop_slider_ulliprice_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price:margin',
'id' => 'css_shop_slider_ulliprice_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Regular price', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price del:color',
'id' => 'css_shop_slider_ullipricedel_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price del',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price del:typography',
'id' => 'css_shop_slider_ullipricedel_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .shop_slider_ul li .price del',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Arrows', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:padding',
'id' => 'css_shop_sliderbutton_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:typography',
'id' => 'css_shop_sliderbutton_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:border-style',
'id' => 'css_shop_sliderbutton_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button',
'css_style' => 'border-style',
'attr_id' => 'border_style_shopslider',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:border-width',
'id' => 'css_shop_sliderbutton_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_shopslider', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button:border-radius',
'id' => 'css_shop_sliderbutton_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider .button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'condition' => array( 'id' => 'add_to_cart_button', 'opt' => 'is', 'val' => '1' ),
'title' => __('Button', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:padding',
'id' => 'css_shop_sliderlidescbutton_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:typography',
'id' => 'css_shop_sliderlidescbutton_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:border-style',
'id' => 'css_shop_sliderlidescbutton_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button',
'css_style' => 'border-style',
'attr_id' => 'border_style_ssb',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:border-width',
'id' => 'css_shop_sliderlidescbutton_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_ssb', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button:border-radius',
'id' => 'css_shop_sliderlidescbutton_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .shop_slider li .desc .button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Sidebar Widget -------------------------------------------------
'sidebar_widget' => array(
'type' => 'sidebar_widget',
'title' => __('Sidebar Widget', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/4',
'tablet_resized' => '0',
'cat' => 'other',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'sidebar',
'type' => 'select',
'title' => __('Select Sidebar', 'mfn-opts'),
'desc' => __('1. Create Sidebar in
Theme Options > Sidebars2. Add Widgets
3. Select your sidebar.', 'mfn-opts'),
'php_options' => mfn_opts_get('sidebars'),
'js_options' => 'sidebars',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Slider ---------------------------------------------------------
'slider' => array(
'type' => 'slider',
'title' => __('Slider', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('slide-types'),
'js_hierarchical_options' => 'slide_types',
'preview' => 'category',
),
array(
'id' => 'orderby',
'type' => 'switch',
're_render' => true,
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
),
'std' => 'date'
),
array(
'id' => 'order',
'type' => 'switch',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC'
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'style',
're_render' => true,
'type' => 'select',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'flat' => __('Flat', 'mfn-opts'),
'description' => __('Flat with title and description', 'mfn-opts'),
'carousel' => __('Flat carousel with titles', 'mfn-opts'),
'center' => __('Center mode', 'mfn-opts'),
),
'preview' => 'style',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'span' => 'span',
'div' => 'div',
),
'std' => 'h3',
),
array(
'id' => 'navigation',
're_render' => true,
'type' => 'switch',
'title' => __('Navigation', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'hide-arrows' => __('Hide Arrows', 'mfn-opts'),
'hide-dots' => __('Hide Dots', 'mfn-opts'),
'hide' => __('Hide', 'mfn-opts'),
),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul .slick-list,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider|not(.default) .content_slider_ul li img:border-style',
'id' => 'css_image_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul .slick-list,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider:not(.default) .content_slider_ul li img',
'css_style' => 'border-style',
'attr_id' => 'border_style_slider_img',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul .slick-list,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider|not(.default) .content_slider_ul li img:border-color',
'id' => 'css_image_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul .slick-list,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider:not(.default) .content_slider_ul li img',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_slider_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul .slick-list,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider|not(.default) .content_slider_ul li img:border-width',
'id' => 'css_image_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul .slick-list,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider:not(.default) .content_slider_ul li img',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_slider_img', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul .slick-list,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider|not(.default) .content_slider_ul li img:border-radius',
'id' => 'css_image_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul .slick-list,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider:not(.default) .content_slider_ul li img',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider|not(.default) .content_slider_ul li img:margin',
'id' => 'css_image_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider.default .content_slider_ul,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider:not(.default) .content_slider_ul li img',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider ul li .title:color',
'id' => 'css_content_sliderullititle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider ul li .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider ul li .title:typography',
'id' => 'css_content_sliderullititle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider ul li .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Excerpt', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider ul li .desc:color',
'id' => 'css_content_sliderullidesc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider ul li .desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider ul li .desc:typography',
'id' => 'css_content_sliderullidesc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider ul li .desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Arrows', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button:padding',
'id' => 'css_content_slider_ulbutton_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button:border-style',
'id' => 'css_content_slider_ulbutton_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button',
'css_style' => 'border-style',
'attr_id' => 'border_style_slider',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button:border-width',
'id' => 'css_content_slider_ulbutton_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_slider', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button:border-radius',
'id' => 'css_content_slider_ulbutton_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_slider .content_slider_ul .button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Dots', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination a|after:background-color',
'id' => 'css_dots_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination a:after',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination .slick-active a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination .slick-active a|after:background-color',
'id' => 'css_dots_bg_active',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination .slick-active a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination .slick-active a:after',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Active color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Slider Plugin --------------------------------------------------
'slider_plugin' => array(
'type' => 'slider_plugin',
'title' => __('Slider Plugin', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'plugins',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'title' => __('Slider Revolution', 'mfn-opts'),
),
array(
'id' => 'rev',
'type' => 'select',
'title' => __('Slider', 'mfn-opts'),
'js_options' => 'rev_slider',
'php_options' => $this->sliders['rev'],
'preview' => 'slider-rev',
),
// layer slider
array(
'type' => 'header',
'title' => __('Layer Slider', 'mfn-opts'),
),
array(
'id' => 'layer',
'type' => 'select',
'title' => __('Slider', 'mfn-opts'),
'js_options' => 'layer_slider',
'php_options' => $this->sliders['layer'],
'preview' => 'slider-layer',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Sliding Box ----------------------------------------------------
'sliding_box' => array(
'type' => 'sliding_box',
'title' => __('Sliding Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image width 768px - 1920px depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.desc_wrapper | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'desc' => __('Allowed HTML tags: span, strong, b, em, i, u', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper .title:color',
'id' => 'css_sliding_boxdesc_wrappertitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper:--mfn-sliding-box-bg',
'id' => 'css_sliding_boxdesc_wrapper_sliding_box_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper',
'css_style' => '--mfn-sliding-box-bg',
'themeoptions' => 'style:',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper .title:typography',
'id' => 'css_sliding_boxdesc_wrappertitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper:padding',
'id' => 'css_sliding_boxdesc_wrapper_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'themeoptions' => 'style:simple',
'title' => __('Divider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper|after:background-color',
'id' => 'css_sliding_boxdesc_wrapperafter_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper:after',
'css_style' => 'background-color',
'themeoptions' => 'style:simple',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper|after:margin',
'id' => 'css_sliding_boxdesc_wrapperafter_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .sliding_box .desc_wrapper:after',
'css_style' => 'margin',
'type' => 'dimensions',
'themeoptions' => 'style:simple',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Story Box ------------------------------------------------------
'story_box' => array(
'type' => 'story_box',
'title' => __('Story Box', 'mfn-opts'),
'size' => '1/2',
'tablet_size' => '1/2',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image width 750px - 1500px depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'style',
'type' => 'switch',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Horizontal Image', 'mfn-opts'),
'vertical' => __('Vertical Image', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'title',
'type' => 'text',
'edit_tag' => '.desc_wrapper | .title',
'edit_position' => 'prepend',
'dynamic_data' => 'title',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h3',
),
array(
'id' => 'content',
'type' => 'textarea',
'edit_tag' => '.story_box | div.desc',
'dynamic_data' => 'content',
'edit_position' => 'append',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper:border-style',
'id' => 'css_story_boxphoto_wrapper_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper',
'css_style' => 'border-style',
'attr_id' => 'border_style_slider',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper:border-color',
'id' => 'css_story_boxphoto_wrapper_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_slider', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper:border-width',
'id' => 'css_story_boxphoto_wrapper_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_slider', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper:border-radius',
'id' => 'css_story_boxphoto_wrapper_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper:margin',
'id' => 'css_story_boxphoto_wrapper_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .photo_wrapper',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper .title:color',
'id' => 'css_story_boxdesc_wrappertitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper .title:typography',
'id' => 'css_story_boxdesc_wrappertitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper .title:margin',
'id' => 'css_story_boxdesc_wrappertitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper .title',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc:color',
'id' => 'css_story_boxdesc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc:typography',
'id' => 'css_story_boxdesc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc:margin',
'id' => 'css_story_boxdesc_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper hr:background',
'id' => 'css_story_boxdesc_wrapperhr_background',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper hr',
'css_style' => 'background',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper hr:margin',
'id' => 'css_story_boxdesc_wrapperhr_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .story_box .desc_wrapper hr',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Tabs -----------------------------------------------------------
'tabs' => array(
'type' => 'tabs',
'title' => __('Tabs', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.mcb-item-tabs-inner | .title',
'edit_position' => 'prepend',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
// tabs
array(
'type' => 'header',
'title' => __('Tabs', 'mfn-opts'),
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Tabs', 'mfn-opts'),
'desc' => __('JavaScript content like Google Maps and some plugins shortcodes do not work in tabs. You can use Drag & Drop to set the order', 'mfn-opts'),
'options' => [
'title' => [
'input',
__('Title', 'mfn-opts'),
__('Sample tab', 'mfn-opts'),
],
'content' => [
'textarea',
__('Content', 'mfn-opts'),
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'std' => [
0 => [
'title' => __('This is the 1st tab', 'mfn-opts'),
'content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
1 => [
'title' => __('This is the 2nd tab', 'mfn-opts'),
'content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'primary' => 'title',
'preview' => 'tabs',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'type',
're_render' => true,
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'horizontal' => __('Horizontal', 'mfn-opts'),
'centered' => __('Centered', 'mfn-opts'),
'vertical' => __('Vertical', 'mfn-opts'),
),
'std' => 'horizontal',
),
// custom
array(
'type' => 'header',
'title' => __('Custom', 'mfn-opts'),
),
array(
'id' => 'uid',
'type' => 'text',
'title' => __('Unique ID [optional]', 'mfn-opts'),
'desc' => __('Use if you want to open specified tab from link (does not work on the same page).
For example: Your Unique ID is offer and you want to open 2nd tab, please use link: your-url/#offer-2', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'padding',
'class' => 'mfn-deprecated',
'type' => 'text',
'title' => __('Content padding', 'mfn-opts'),
'desc' => __('Use value with px or %
Example: 20px or 15px 20px 20px or 20px 1%', 'mfn-opts'),
'placeholder' => '20px',
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:text-align',
'id' => 'css_title_text_align',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => 'text-align',
'responsive' => true,
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'justify' => __('Justify', 'mfn-opts'),
),
'preview' => 'align',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:color',
'id' => 'css_title_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:margin',
'id' => 'css_title_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title:typography',
'id' => 'css_title_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper:--mfn-tabs-border-color',
'id' => 'css_tabs_wrapper_mfn_tabs_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper',
'css_style' => '--mfn-tabs-border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper:--mfn-tabs-border-width',
'id' => 'css_tabs_wrapper_mfn_tabs_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper',
'css_style' => '--mfn-tabs-border-width',
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Border width', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '5',
'step' => '1',
'unit' => 'px',
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper:border-radius',
'id' => 'css_tabs_wrapper_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title bar', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper .ui-tabs-nav:background',
'id' => 'css_tabs_wrapperui-tabs-nav_background',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper .ui-tabs-nav',
'css_style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title tab', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper ul li a:padding',
'id' => 'css_tabs_wrapperullia_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper ul li a',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper ul li a:typography',
'id' => 'css_tabs_wrapperullia_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .tabs_wrapper ul li a',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-panel:color',
'id' => 'css_ui-tabsui-tabs-panel_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-panel',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-panel,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-nav li.ui-state-active|after:background',
'id' => 'css_ui-tabs-nav-li-ui-state-after_background_active',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-panel,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-nav li.ui-state-active:after',
'css_style' => 'background',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-panel:padding',
'id' => 'css_ui-tabsui-tabs-panel_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-panel',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-panel:typography',
'id' => 'css_ui-tabsui-tabs-panel_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .ui-tabs .ui-tabs-panel',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Tag cloud -----------------------------------------------------------
'tag_cloud' => array(
'type' => 'tag_cloud',
'title' => __('Tag cloud', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Taxonomy', 'mfn-opts'),
'php_options' => mfna_taxonomies(),
'js_options' => 'taxonomies',
'std' => 'category'
),
array(
'id' => 'reference',
'attr_id' => 'reference',
're_render' => true,
'type' => 'select',
'title' => __('Reference', 'mfn-opts'),
'options' => array(
'' => __('All items', 'mfn-opts'),
'not_empty' => __('Not empty items', 'mfn-opts'),
'post' => __('Current post terms', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'orderby',
'condition' => array( 'id' => 'reference', 'opt' => 'isnt', 'val' => 'post' ),
'type' => 'select',
're_render' => true,
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'name' => __('Name', 'mfn-opts'),
'count' => __('Count', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'order',
'condition' => array( 'id' => 'reference', 'opt' => 'isnt', 'val' => 'post' ),
'type' => 'select',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'options' => array(
'' => __('DESC', 'mfn-opts'),
'asc' => __('ASC', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'design',
'attr_id' => 'design',
're_render' => true,
'type' => 'select',
'title' => __('Design', 'mfn-opts'),
'options' => array(
'' => __('Simple list', 'mfn-opts'),
'pills' => __('Pills', 'mfn-opts'),
),
'std' => ''
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Item', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud:justify-content',
'id' => 'css_tag-cloud_justify_content',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud',
'css_style' => 'justify-content',
'type' => 'select',
'title' => __('Align', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'options' => array(
'' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'flex-end' => __('Right', 'mfn-opts'),
'space-between' => __('Space between', 'mfn-opts'),
'space-around' => __('Space around', 'mfn-opts')
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud:--mfn-tag-cloud-offset',
'id' => 'css_tag-cloud_mfn_tag_cloud_offset',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud',
'css_style' => '--mfn-tag-cloud-offset',
'type' => 'sliderbar',
'title' => __('Gap', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud li a:typography',
'id' => 'css_tag-cloudlia_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud li a',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud.mfn-tag-cloud-pills li a:padding',
'id' => 'css_tag-cloud-pillslia_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud.mfn-tag-cloud-pills li a',
'css_style' => 'padding',
'condition' => array( 'id' => 'design', 'opt' => 'is', 'val' => 'pills' ),
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud.mfn-tag-cloud-pills li a:border-style',
'id' => 'css_tag-cloud-pillslia_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud.mfn-tag-cloud-pills li a',
'css_style' => 'border-style',
'attr_id' => 'border_style_tags',
'condition' => array( 'id' => 'design', 'opt' => 'is', 'val' => 'pills' ),
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud.mfn-tag-cloud-pills li a:border-width',
'id' => 'css_tag-cloud-pillslia_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud.mfn-tag-cloud-pills li a',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_tags', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud.mfn-tag-cloud-pills li a:border-radius',
'id' => 'css_tag-cloud-pillslia_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-tag-cloud.mfn-tag-cloud-pills li a',
'css_style' => 'border-radius',
'type' => 'dimensions',
'condition' => array( 'id' => 'design', 'opt' => 'is', 'val' => 'pills' ),
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
)
),
// Testimonials ---------------------------------------------------
'testimonials' => array(
'type' => 'testimonials',
'title' => __('Testimonials', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h5',
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('testimonial-types'),
'js_hierarchical_options' => 'testimonial_types',
'preview' => 'category',
),
array(
'id' => 'orderby',
're_render' => true,
'type' => 'switch',
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
),
'std' => 'date',
),
array(
'id' => 'order',
're_render' => true,
'type' => 'switch',
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'style',
're_render' => true,
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'single-photo' => __('Single photo', 'mfn-opts'),
),
'std' => '',
'preview' => 'style',
),
array(
'id' => 'hide_photos',
're_render' => true,
'type' => 'switch',
'title' => __('Photos', 'mfn-opts'),
'options' => array(
1 => __('Hide', 'mfn-opts'),
0 => __('Show', 'mfn-opts'),
),
'std' => 0,
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Container', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li:padding',
'id' => 'css_testimonials_slidertestimonials_slider_ulli_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li',
'css_style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Blockquote', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper blockquote:color',
'id' => 'css_testimonials_slider_ullibq_wrapperblockquote_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper blockquote',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper:background-color',
'id' => 'css_testimonials_slider_ullibq_wrapper_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper blockquote:typography',
'id' => 'css_testimonials_slider_ullibq_wrapperblockquote_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper blockquote',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper:padding',
'id' => 'css_testimonials_slidertestimonials_slider_ullibq_wrapper_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper',
'css_style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper:margin',
'id' => 'css_testimonials_slidertestimonials_slider_ullibq_wrapper_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .bq_wrapper',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Blockquote icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .blockquote .mfn-blockquote-icon:color',
'id' => 'css_testimonials_sliderblockquote-icon_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .blockquote .mfn-blockquote-icon',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Blockquote lines', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .blockquote blockquote:text-decoration-color',
'id' => 'css_testimonials_sliderblockquoteblockquote_text_decoration_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .blockquote blockquote',
'css_style' => 'text-decoration-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .blockquote blockquote:text-underline-offset',
'id' => 'css_testimonials_sliderblockquoteblockquote_text_underline_offset',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .blockquote blockquote',
'css_style' => 'text-underline-offset',
'type' => 'text',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Offset', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .blockquote blockquote:text-decoration-thickness',
'id' => 'css_testimonials_sliderblockquoteblockquote_text_decoration_thickness',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .blockquote blockquote',
'css_style' => 'text-decoration-thickness',
'type' => 'text',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Thickness', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Dots', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination a:background-color',
'id' => 'css_slider_paginationa_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination a',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination li.slick-active a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination li.slick-active a|after:background-color',
'id' => 'css_dots_bg_active',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination li.slick-active a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .slider_pagination li.slick-active a:after',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color active', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Author', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .title a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .title:color',
'id' => 'css_author_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .title a,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .title:typography',
'id' => 'css_testimonials_slider_ulliauthortitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Company', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .company:color',
'id' => 'css_testimonials_slider_ulliauthorcompany_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .company',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .company:typography',
'id' => 'css_testimonials_slider_ulliauthorcompany_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .author .company',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Arrows', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button:padding',
'id' => 'css_testimonials_sliderabutton_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button:border-style',
'id' => 'css_testimonials_sliderabutton_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button',
'css_style' => 'border-style',
'attr_id' => 'border_style_testi',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button:border-width',
'id' => 'css_testimonials_sliderabutton_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_testi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button:border-radius',
'id' => 'css_testimonials_sliderabutton_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider a.button',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Decoration', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .hr_dots span:background-color',
'id' => 'css_testimonials_slider_ullihr_dotsspan_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .testimonials_slider_ul li .hr_dots span',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .slider_images li a|after:background-color',
'id' => 'css_testimonials_slider_imagesliaafter_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .slider_images li a:after',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'themeoptions' => 'style:',
'title' => __('Photos background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .slider_images,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .slider_images|before:background-color',
'id' => 'css_photos_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .slider_images,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_slider .slider_images:before',
'css_style' => 'background-color',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Testimonials List ----------------------------------------------
'testimonials_list' => array(
'type' => 'testimonials_list',
'title' => __('Testimonials List', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'loops',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h4',
),
array(
'id' => 'category',
're_render' => true,
'type' => 'select',
'title' => __('Category', 'mfn-opts'),
'php_options' => mfn_get_categories('testimonial-types'),
'js_hierarchical_options' => 'testimonial_types',
'preview' => 'category',
),
array(
'id' => 'orderby',
'type' => 'switch',
're_render' => true,
'title' => __('Order by', 'mfn-opts'),
'options' => array(
'date' => __('Date', 'mfn-opts'),
'menu_order' => __('Menu order', 'mfn-opts'),
'title' => __('Title', 'mfn-opts'),
),
'std' => 'date',
),
array(
'id' => 'order',
'type' => 'switch',
're_render' => true,
'title' => __('Order', 'mfn-opts'),
'options' => array(
'ASC' => __('Ascending', 'mfn-opts'),
'DESC' => __('Descending', 'mfn-opts'),
),
'std' => 'DESC',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'style',
'type' => 'switch',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'quote' => __('Quote above the author', 'mfn-opts'),
),
'std' => '',
'preview' => 'style',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Image', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .image_frame:border-style',
'id' => 'css_testimonials_listimage_frame_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .image_frame',
'css_style' => 'border-style',
'attr_id' => 'border_style_testi_list',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .image_frame:border-color',
'id' => 'css_testimonials_listimage_frame_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .image_frame',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_testi_list', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .image_frame:border-width',
'id' => 'css_testimonials_listimage_frame_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .image_frame',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_testi_list', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .image_frame:border-radius',
'id' => 'css_testimonials_listimage_frame_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .image_frame',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Author', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc .title,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc .title a:color',
'id' => 'css_testimonials_list_item_desc_title_a_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc .title,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc .title a',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc .title:typography',
'id' => 'css_testimonials_listitemdesctitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Company', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc p.subtitle:color',
'id' => 'css_testimonials_listitemdescpsubtitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc p.subtitle',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc p.subtitle:typography',
'id' => 'css_testimonials_listitemdescpsubtitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc p.subtitle',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc p.subtitle:margin',
'id' => 'css_testimonials_listitemdescpsubtitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc p.subtitle',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Divider', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc hr.hr_color:background-color',
'id' => 'css_testimonials_listitemdeschrhr_color_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .item .desc hr.hr_color',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Blockquote', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote:color',
'id' => 'css_testimonials_listblockquoteblockquote_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote:typography',
'id' => 'css_testimonials_listblockquoteblockquote_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Blockquote icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote .mfn-blockquote-icon:color',
'id' => 'css_testimonials_listblockquote-icon_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote .mfn-blockquote-icon',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Blockquote lines', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote:text-decoration-color',
'id' => 'css_testimonials_listblockquoteblockquote_text_decoration_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote',
'css_style' => 'text-decoration-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote:text-underline-offset',
'id' => 'css_testimonials_listblockquoteblockquote_text_underline_offset',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote',
'css_style' => 'text-underline-offset',
'type' => 'text',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Offset', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote:text-decoration-thickness',
'id' => 'css_testimonials_listblockquoteblockquote_text_decoration_thickness',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .testimonials_list .blockquote blockquote',
'css_style' => 'text-decoration-thickness',
'type' => 'text',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Thickness', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Table of contents ---------------------------------------------
'table_of_contents' => array(
'type' => 'table_of_contents',
'title' => __('Table of Contents', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
//'fields' => array(
// HTML content
/*array(
'type' => 'html',
'html' => $this->itemtabs,
),*/
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'info',
'type' => 'info',
'class' => 'mfn-alert',
'title' => __('This item will check all of the Column Text and Heading items to match tags stated in Anchor by HTML tags field below', 'mfn-opts'),
),
array(
'id' => 'title',
'attr_id' => 'toc_title',
'type' => 'text',
'dynamic_data' => 'title',
'edit_tag' => '.table_of_content | .title-inner',
'edit_position' => 'prepend',
'std' => 'Table of contents',
'title' => __('Title', 'mfn-opts'),
'preview' => 'title',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => [
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
],
'std' => 'h4',
),
array(
'id' => 'tags_anchors',
'type' => 'pills',
're_render' => true,
'std' => 'H1 H2 H3 H4 H5 H6',
'desc' => 'Separated with space button.
Maximal depth level: 3',
'title' => __('Anchor by HTML tags', 'mfn-opts'),
),
array(
'id' => 'marker_view',
're_render' => true,
'title' => __('Marker view', 'mfn-opts'),
'type' => 'switch',
'options' => [
'numbers' => __('Numbers', 'mfn-opts'),
'bullets' => __('Bullets', 'mfn-opts'),
],
'std' => 'numbers',
),
array(
'id' => 'icon',
'type' => 'icon',
're_render' => true,
'title' => __('Bullets icon', 'mfn-opts'),
'desc' => __('Only for Bullets type of marker', 'mfn-opts'),
),
array(
'id' => 'url_format',
're_render' => true,
'title' => __('Link format', 'mfn-opts'),
'desc' => __('Use Simple for languages based on non URL friendly characters', 'mfn-opts'),
'type' => 'switch',
'options' => [
'' => __('SEO friendly', 'mfn-opts'),
'simple' => __('Simple', 'mfn-opts'),
],
'std' => '',
),
array(
'id' => 'allow_hide',
'attr_id' => 'toc_allow_hide',
'type' => 'select',
're_render' => true,
'title' => __('Toggle the Visibility', 'mfn-opts'),
'options' => [
'' => __('Disable', 'mfn-opts'),
'enable' => __('Enable', 'mfn-opts'),
'hide' => __('Enable and hide initially', 'mfn-opts'),
],
'std' => '',
),
array(
'id' => 'text_show',
'type' => 'text',
're_render' => true,
'title' => __('Show text', 'mfn-opts'),
'condition' => array( 'id' => 'toc_allow_hide', 'opt' => 'isnt', 'val' => '' ),
'std' => __('Show', 'mfn-opts'),
),
array(
'id' => 'text_hide',
'type' => 'text',
're_render' => true,
'title' => __('Hide text', 'mfn-opts'),
'condition' => array( 'id' => 'toc_allow_hide', 'opt' => 'isnt', 'val' => '' ),
'std' => __('Hide', 'mfn-opts'),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .title .title-inner:color',
'id' => 'css_table_of_contenttitletitle-inner_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .title .title-inner',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .title .title-inner:typography',
'id' => 'css_table_of_contenttitletitle-inner_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .title .title-inner',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .title:margin',
'id' => 'css_table_of_contenttitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .title',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('List row', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .table_of_content_wrapper li:color',
'id' => 'css_table_of_content_wrapperli_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .table_of_content_wrapper li',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .table_of_content_wrapper li a:color',
'id' => 'css_table_of_content_wrapperlia_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .table_of_content_wrapper li a',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Link color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .table_of_content_wrapper li a|hover:color',
'id' => 'css_table_of_content_wrapperlia_color_hover',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .table_of_content_wrapper li a:hover',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Link hover', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .table_of_content_wrapper li:typography',
'id' => 'css_table_of_content_wrapperli_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .table_of_content .table_of_content_wrapper li',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Timeline -------------------------------------------------------
'timeline' => array(
'type' => 'timeline',
'title' => __('Timeline', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Timeline', 'mfn-opts'),
'desc' => __('JavaScript content like Google Maps and some plugins shortcodes do not work in tabs', 'mfn-opts'),
'options' => [
'title' => [
'input',
__('Title', 'mfn-opts'),
__('Sample event', 'mfn-opts'),
],
'date' => [
'input',
__('Date', 'mfn-opts'),
'2021',
],
'content' => [
'textarea',
__('Content', 'mfn-opts'),
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'std' => [
0 => [
'title' => __('This is the 1st event', 'mfn-opts'),
'date' => '2021',
'content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
1 => [
'title' => __('This is the 2nd event', 'mfn-opts'),
'date' => '2022',
'content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu massa orci.',
],
],
'primary' => 'title',
'preview' => 'tabs',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items > li h3:color',
'id' => 'css_timeline_itemslih3_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items > li h3',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items > li h3:typography',
'id' => 'css_timeline_itemslih3_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items > li h3',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Date', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3 span:color',
'id' => 'css_timeline_itemslih3span_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3 span',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3:--mfn-timeline-date-bg',
'id' => 'css_timeline_itemslih3_mfn_timeline_date_bg',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3',
'css_style' => '--mfn-timeline-date-bg',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3 span:typography',
'id' => 'css_timeline_itemslih3span_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3 span',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3 span:padding',
'id' => 'css_timeline_itemslih3span_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3 span',
'css_style' => 'padding',
'type' => 'dimensions',
'themeoptions' => 'style:',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc:color',
'id' => 'css_timeline_itemslidesc_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc:typography',
'id' => 'css_timeline_itemslidesc_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Dot', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3|before:border-color',
'id' => 'css_timeline_itemslih3before_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3:before',
'css_style' => 'border-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'themeoptions' => 'style:',
'title' => __('Placeholder', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc|before:background-image',
'id' => 'css_timeline_itemslidescbefore_background_image',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc:before',
'css_style' => 'background-image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'themeoptions' => 'style:',
'title' => __('Content lines', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc:text-decoration-color',
'id' => 'css_timeline_itemslidesc_text_decoration_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc',
'css_style' => 'text-decoration-color',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc:text-underline-offset',
'id' => 'css_timeline_itemslidesc_text_underline_offset',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc',
'css_style' => 'text-underline-offset',
'type' => 'text',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Offset', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc:text-decoration-thickness',
'id' => 'css_timeline_itemslidesc_text_decoration_thickness',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc',
'css_style' => 'text-decoration-thickness',
'type' => 'text',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'default_unit' => 'px',
'title' => __('Thickness', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'themeoptions' => 'style:simple',
'title' => __('Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc:border-color',
'id' => 'css_timeline_itemslih3lidesc_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li h3,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li .desc',
'css_style' => 'border-color',
'themeoptions' => 'style:simple',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li|hover h3,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li|hover .desc:border-color',
'id' => 'css_timeline_itemslihoverh3lihoverdesc_border_color_hover',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li:hover h3,.mcb-section .mcb-wrap .mcb-item-mfnuidelement .timeline_items li:hover .desc',
'css_style' => 'border-color',
'themeoptions' => 'style:simple',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Hover color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Toggle -----------------------------------------------------------
'toggle' => array(
'type' => 'toggle',
'title' => __('Toggle', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'blocks',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'tabs',
'type' => 'tabs',
'title' => __('Items', 'mfn-opts'),
'options' => [
'title' => [
'input',
__('Title', 'mfn-opts'),
'This is the title',
],
'content' => [
'textarea',
__('Content', 'mfn-opts'),
'This is the content',
],
'icon' => [
'icon',
__('Icon', 'mfn-opts'),
'',
],
'image' => [
'image',
__('Image', 'mfn-opts'),
'',
],
],
'std' => [
0 => [
'title' => __('This is the 1st title', 'mfn-opts'),
'content' => __('This is the 1st content', 'mfn-opts'),
],
1 => [
'title' => __('This is the 2nd title', 'mfn-opts'),
'content' => __('This is the 2nd content', 'mfn-opts'),
],
],
'preview' => 'tabs',
'primary' => 'title',
),
array(
'id' => 'tag',
'type' => 'switch',
'title' => __('Question tag', 'mfn-opts'),
're_render' => true,
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h5',
),
// options
array(
'type' => 'header',
'title' => __('Options', 'mfn-opts'),
),
array(
'id' => 'type',
'attr_id' => 'toggle-type',
'type' => 'switch',
'title' => __('Type', 'mfn-opts'),
're_render' => true,
'options' => array(
'unordered' => __('Unordered', 'mfn-opts'),
'ordered' => __('Ordered', 'mfn-opts'),
),
'std' => 'unordered'
),
array(
'id' => 'starting',
'type' => 'text',
'title' => __('Starting number', 'mfn-opts'),
'condition' => array( 'id' => 'toggle-type', 'opt' => 'is', 'val' => 'ordered' ),
're_render' => true,
'std' => '1'
),
array(
'id' => 'divider',
'attr_id' => 'toggle-divider',
'type' => 'switch',
'title' => __('Divider', 'mfn-opts'),
're_render' => true,
'options' => array(
'disable' => __('Disable', 'mfn-opts'),
'enable' => __('Enable', 'mfn-opts'),
),
'std' => 'disable',
),
array(
'id' => 'open_first',
'type' => 'switch',
'title' => __('Open first', 'mfn-opts'),
're_render' => true,
'options' => array(
'disable' => __('Disable', 'mfn-opts'),
'enable' => __('Enable', 'mfn-opts'),
),
'std' => 'disable',
),
array(
'id' => 'open_all',
'type' => 'switch',
'title' => __('Open all', 'mfn-opts'),
're_render' => true,
'options' => array(
'disable' => __('Disable', 'mfn-opts'),
'enable' => __('Enable', 'mfn-opts'),
),
'std' => 'disable',
),
array(
'id' => 'open_more',
'type' => 'switch',
'title' => __('Open more than one at a time', 'mfn-opts'),
'options' => array(
'disable' => __('Disable', 'mfn-opts'),
'enable' => __('Enable', 'mfn-opts'),
),
'std' => 'disable',
),
// icon
array(
'type' => 'header',
'title' => __('Icon', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'id' => 'icon_animation',
'type' => 'switch',
'title' => __('Animation', 'mfn-opts'),
'options' => array(
'disable' => __('Disable', 'mfn-opts'),
'zoom' => __('Zoom', 'mfn-opts'),
'rotate' => __('Rotate', 'mfn-opts'),
),
'std' => 'disable',
),
// style ---
array(
'type' => 'html',
'html' => '
',
),
// item
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Toggle item', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle:--mfn-toggle-gap',
'id' => 'css_toggle_mfn_toggle_gap',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle',
'css_style' => '--mfn-toggle-gap',
'type' => 'sliderbar',
'title' => __('Gap', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '100',
'step' => '1',
'unit' => 'px',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:border-style',
'id' => 'css_toggle-item_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item',
'css_style' => 'border-style',
'attr_id' => 'toggle-border-style',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:border-width',
'id' => 'css_toggle-item_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item',
'css_style' => 'border-width',
'condition' => array( 'id' => 'toggle-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item:border-radius',
'id' => 'css_toggle-item_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
// divider
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Divider', 'mfn-opts'),
'condition' => array( 'id' => 'toggle-divider', 'opt' => 'is', 'val' => 'enable' ),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-divider:height',
'id' => 'css_toggletoggle-divider_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-divider',
'css_style' => 'height',
'condition' => array( 'id' => 'toggle-divider', 'opt' => 'is', 'val' => 'enable' ),
'type' => 'sliderbar',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
'param' => array(
'min' => '0',
'max' => '20',
'step' => '1',
'unit' => 'px',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle:--mfn-toggle-divider-color',
'id' => 'css_toggle_mfn_toggle_divider_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle',
'css_style' => '--mfn-toggle-divider-color',
'condition' => array( 'id' => 'toggle-divider', 'opt' => 'is', 'val' => 'enable' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
// title bar
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title bar', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar:padding',
'id' => 'css_toggle-itemtoggle-bar_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-heading:typography',
'id' => 'css_toggle-itemtoggle-heading_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-heading',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar:border-style',
'id' => 'css_toggle-itemtoggle-bar_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar',
'css_style' => 'border-style',
'attr_id' => 'toggle-title-border-style',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar:border-width',
'id' => 'css_toggle-itemtoggle-bar_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar',
'css_style' => 'border-width',
'condition' => array( 'id' => 'toggle-title-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar:border-radius',
'id' => 'css_toggle-itemtoggle-bar_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle-item .toggle-bar',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
// content
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content:padding',
'id' => 'css_toggletoggle-content_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content:typography',
'id' => 'css_toggletoggle-content_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content:color',
'id' => 'css_toggletoggle-content_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content:background-color',
'id' => 'css_toggletoggle-content_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle .toggle-content',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
// title icon
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon:width',
'id' => 'css_toggle-bar-icon_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon',
'css_style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon:height',
'id' => 'css_toggle-bar-icon_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon',
'css_style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Height', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle:--mfn-toggle-bar-icon-spacing',
'id' => 'css_toggle_mfn_toggle_bar_icon_spacing',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle',
'css_style' => '--mfn-toggle-bar-icon-spacing',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Spacing', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '200',
'step' => '1',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle:--mfn-toggle-bar-icon-size',
'id' => 'css_toggle_mfn_toggle_bar_icon_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle',
'css_style' => '--mfn-toggle-bar-icon-size',
'condition' => array( 'id' => 'toggle-type', 'opt' => 'isnt', 'val' => 'ordered' ),
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Icon size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon|after:typography',
'id' => 'css_toggle-bar-iconafter_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon:after',
'css_style' => 'typography',
'condition' => array( 'id' => 'toggle-type', 'opt' => 'is', 'val' => 'ordered' ),
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon:border-style',
'id' => 'css_toggle-bar-icon_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon',
'css_style' => 'border-style',
'attr_id' => 'toggle-ti-border-style',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon:border-width',
'id' => 'css_toggle-bar-icon_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon',
'css_style' => 'border-width',
'condition' => array( 'id' => 'toggle-ti-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon:border-radius',
'id' => 'css_toggle-bar-icon_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-bar-icon',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
// toggle icon
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Toggle icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon:width',
'id' => 'css_toggle-icon_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon',
'css_style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon:height',
'id' => 'css_toggle-icon_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon',
'css_style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'title' => __('Height', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle:--mfn-toggle-icon-spacing',
'id' => 'css_toggle_mfn_toggle_icon_spacing',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle',
'css_style' => '--mfn-toggle-icon-spacing',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Spacing', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '200',
'step' => '1',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle:--mfn-toggle-icon-size',
'id' => 'css_toggle_mfn_toggle_icon_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-toggle',
'css_style' => '--mfn-toggle-icon-size',
'condition' => array( 'id' => 'toggle-type', 'opt' => 'isnt', 'val' => 'ordered' ),
'type' => 'sliderbar',
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled narrow sliderbar-units',
'title' => __('Icon size', 'mfn-opts'),
'units' => array(
'px' => array('min' => 1, 'max' => 100, 'step' => 1),
'em' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'rem' => array('min' => 0.1, 'max' => 10, 'step' => 0.1),
'vw' => array('min' => 1, 'max' => 100, 'step' => 1),
)
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon|after:typography',
'id' => 'css_toggle-iconafter_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon:after',
'css_style' => 'typography',
'condition' => array( 'id' => 'toggle-type', 'opt' => 'is', 'val' => 'ordered' ),
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon:border-style',
'id' => 'css_toggle-icon_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon',
'css_style' => 'border-style',
'attr_id' => 'toggle-ti-border-style',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon:border-width',
'id' => 'css_toggle-icon_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon',
'css_style' => 'border-width',
'condition' => array( 'id' => 'toggle-ti-border-style', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon:border-radius',
'id' => 'css_toggle-icon_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .toggle-icon',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Trailer Box ----------------------------------------------------
'trailer_box' => array(
'type' => 'trailer_box',
'title' => __('Trailer Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'image',
'type' => 'upload',
'dynamic_data' => 'featured_image',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image width 768px - 1920px depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'orientation',
'type' => 'switch',
're_render' => true,
'title' => __('Image orientation', 'mfn-opts'),
'options' => array(
'' => __('Vertical', 'mfn-opts'),
'horizontal' => __('Horizontal', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'slogan',
'type' => 'text',
'edit_tag' => '.desc | div.subtitle',
'edit_position' => 'prepend',
'dynamic_data' => 'content',
'title' => __('Slogan', 'mfn-opts'),
'std' => __('This is the slogan', 'mfn-opts'),
'preview' => 'subtitle',
),
array(
'id' => 'title',
'type' => 'text',
'edit_tag' => '.desc | .title',
'dynamic_data' => 'title',
'edit_position' => 'append',
'title' => __('Title', 'mfn-opts'),
'std' => __('This is the title', 'mfn-opts'),
'preview' => 'title',
),
array(
'id' => 'title_tag',
'type' => 'switch',
're_render' => true,
'title' => __('Title tag', 'mfn-opts'),
'options' => array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'p' => 'p',
'p.lead' => 'p.lead',
'span' => 'span',
),
'std' => 'h2',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link',
'dynamic_data' => 'permalink',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'title' => __('Link title', 'mfn-opts'),
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'style',
'type' => 'switch',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'plain' => __('Plain', 'mfn-opts'),
),
'std' => '',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Slogan', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .subtitle:color',
'id' => 'css_trailer_boxdescsubtitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .subtitle',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .subtitle:background',
'id' => 'css_trailer_boxdescsubtitle_background',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .subtitle',
'css_style' => 'background',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .subtitle:typography',
'id' => 'css_trailer_boxdescsubtitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .subtitle',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .subtitle:padding',
'id' => 'css_trailer_boxdescsubtitle_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .subtitle',
'css_style' => 'padding',
'type' => 'dimensions',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Title', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .title:color',
'id' => 'css_trailer_boxdesctitle_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .title',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .title:typography',
'id' => 'css_trailer_boxdesctitle_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .title',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .title:margin',
'id' => 'css_trailer_boxdesctitle_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .title',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'themeoptions' => 'style:simple',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.style-simple .mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box|hover .desc:background-color',
'id' => 'css_simpletrailer_boxdesc_background_color_hover',
'css_path' => '.style-simple .mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box:hover .desc',
'css_style' => 'background-color',
'type' => 'color',
'themeoptions' => 'style:simple',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'themeoptions' => 'style:',
'title' => __('Line', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .line:background-color',
'id' => 'css_trailer_boxdescline_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .trailer_box .desc .line',
'css_style' => 'background-color',
'type' => 'color',
'themeoptions' => 'style:',
'class' => 'mfn-toggled',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Video --------------------------------------------
'video' => array(
'type' => 'video',
'title' => __('Video', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'elements',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'title' => __('YouTube or Vimeo', 'mfn-opts'),
),
array(
'id' => 'video',
're_render' => true,
'type' => 'text',
'title' => __('Video ID', 'mfn-opts'),
'desc' => __('YouTube: http://www.youtube.com/watch?v=WoJhnRczeNg
Vimeo: http://vimeo.com/62954028', 'mfn-opts'),
'preview' => 'title',
'std' => 'XQfqevYQQIQ',
),
array(
'id' => 'parameters',
're_render' => true,
'type' => 'text',
'title' => __('Parameters', 'mfn-opts'),
'desc' => __('Multiple parameters should be connected with "&"
Example: autoplay=1&loop=1
Notice: Vimeo authors may disable some parameters for their videos', 'mfn-opts'),
),
// html5
array(
'type' => 'header',
'title' => __('HTML5', 'mfn-opts'),
),
array(
'id' => 'mp4',
're_render' => true,
'type' => 'upload',
'title' => __('MP4 video', 'mfn-opts'),
'desc' => __('Please add both mp4 and ogv for cross-browser compatibility', 'mfn-opts'),
'data' => 'video',
),
array(
'id' => 'ogv',
're_render' => true,
'type' => 'upload',
'title' => __('OGV video', 'mfn-opts'),
'data' => 'video',
),
array(
'id' => 'placeholder',
're_render' => true,
'type' => 'upload',
'title' => __('Placeholder image', 'mfn-opts'),
'desc' => __('Placeholder Image will be used as video placeholder before video loads and on mobile devices', 'mfn-opts'),
),
array(
'id' => 'html5_parameters',
're_render' => true,
'type' => 'select',
'title' => __('Parameters', 'mfn-opts'),
'desc' => __('WebKit browsers and iOS do not support autoplay', 'mfn-opts'),
'options' => array(
'' => __('autoplay controls loop muted', 'mfn-opts'),
'a;c;l;m;i' => __('autoplay controls loop muted playsinline', 'mfn-opts'),
'a;c;l;' => __('autoplay controls loop', 'mfn-opts'),
'a;c;l;;i' => __('autoplay controls loop playsinline', 'mfn-opts'),
'a;c;;m' => __('autoplay controls muted', 'mfn-opts'),
'a;c;;m;i' => __('autoplay controls muted playsinline', 'mfn-opts'),
'a;;l;m' => __('autoplay loop muted', 'mfn-opts'),
'a;;l;m;i' => __('autoplay loop muted playsinline', 'mfn-opts'),
'a;c;;' => __('autoplay controls', 'mfn-opts'),
'a;c;;;i' => __('autoplay controls playsinline', 'mfn-opts'),
'a;;l;' => __('autoplay loop', 'mfn-opts'),
'a;;l;;i' => __('autoplay loop playsinline', 'mfn-opts'),
'a;;;m' => __('autoplay muted', 'mfn-opts'),
'a;;;m;p' => __('autoplay muted playsinline', 'mfn-opts'),
'a;;;' => __('autoplay', 'mfn-opts'),
'a;;;;p' => __('autoplay playsinline', 'mfn-opts'),
';c;l;m' => __('controls loop muted', 'mfn-opts'),
';c;l;m;p' => __('controls loop muted playsinline', 'mfn-opts'),
';c;l;' => __('controls loop', 'mfn-opts'),
';c;l;;p' => __('controls loop playsinline', 'mfn-opts'),
';c;;m' => __('controls muted', 'mfn-opts'),
';c;;m;p' => __('controls muted playsinline', 'mfn-opts'),
';c;;' => __('controls', 'mfn-opts'),
';c;;;p' => __('controls playsinline', 'mfn-opts'),
),
),
// advanced
array(
'type' => 'header',
'title' => __('Advanced', 'mfn-opts'),
),
array(
'id' => 'width',
're_render' => true,
'type' => 'text',
'title' => __('Width', 'mfn-opts'),
'param' => 'number',
'after' => 'px',
'class' => 'narrow',
'placeholder' => 700,
),
array(
'id' => 'height',
're_render' => true,
'type' => 'text',
'title' => __('Height', 'mfn-opts'),
'param' => 'number',
'after' => 'px',
'class' => 'narrow',
'placeholder' => 400,
),
// Mask Shape
array(
'type' => 'header',
'title' => __('Mask shape', 'mfn-opts'),
),
array(
'id' => 'mask_shape_type',
'attr_id' => 'mask_type',
'type' => 'select',
'title' => __('Mask type', 'mfn-opts'),
'options' => array(
'0' => __('None', 'mfn-opts'),
'blob' => __('Blob', 'mfn-opts'),
'blob-2' => __('Blob 2', 'mfn-opts'),
'brush' => __('Brush', 'mfn-opts'),
'brush-2' => __('Brush 2', 'mfn-opts'),
'circle' => __('Circle', 'mfn-opts'),
'cross' => __('Cross', 'mfn-opts'),
'irregular-circle' => __('Irregular Circle', 'mfn-opts'),
'stain' => __('Stain', 'mfn-opts'),
'triangle' => __('Triangle', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => '0'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video:-webkit-mask-image',
'id' => 'css_mask_img',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video',
'css_style' => '-webkit-mask-image',
'type' => 'upload',
'title' => __('Mask image', 'mfn-opts'),
'desc' => 'Only SVG type of image works',
'condition' => array( 'id' => 'mask_type', 'opt' => 'is', 'val' => 'custom' ),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape:background-color',
'id' => 'css_content_video-mask-shape_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape',
'css_style' => 'background-color',
'type' => 'color',
'title' => __('Mask color', 'mfn-opts'),
'condition' => array( 'id' => 'mask_type', 'opt' => 'isnt', 'val' => '0' ),
),
array(
'id' => 'mask_shape_size',
'attr_id' => 'mask_shape_size',
'type' => 'select',
'title' => __('Size', 'mfn-opts'),
'condition' => array( 'id' => 'mask_type', 'opt' => 'isnt', 'val' => '0' ),
'options' => array(
'auto' => __('Default', 'mfn-opts'),
'cover' => __('Cover', 'mfn-opts'),
'contain' => __('Contain', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => 'contain',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video:-webkit-mask-size',
'id' => 'css_mask_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video',
'css_style' => '-webkit-mask-size',
'type' => 'sliderbar',
'condition' => array( 'id' => 'mask_shape_size', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Scale', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '200',
'step' => '1',
'unit' => '%',
),
),
array(
'id' => 'mask_shape_position',
'attr_id' => 'mask_shape_position',
'type' => 'select',
'title' => __('Position', 'mfn-opts'),
'condition' => array( 'id' => 'mask_type', 'opt' => 'isnt', 'val' => '0' ),
'options' => array(
'center center' => __('Center Center', 'mfn-opts'),
'center left' => __('Center Left', 'mfn-opts'),
'center right' => __('Center Right', 'mfn-opts'),
'top left' => __('Top Left', 'mfn-opts'),
'top right' => __('Top Right', 'mfn-opts'),
'top center' => __('Top Center', 'mfn-opts'),
'bottom left' => __('Bottom Left', 'mfn-opts'),
'bottom right' => __('Bottom Right', 'mfn-opts'),
'bottom center' => __('Bottom Center', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => 'center center'
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video:-webkit-mask-position-x',
'id' => 'css_mask_pos_x',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video',
'css_style' => '-webkit-mask-position-x',
'type' => 'sliderbar',
'condition' => array( 'id' => 'mask_shape_position', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Position X', 'mfn-opts'),
'param' => array(
'min' => '-100',
'max' => '100',
'step' => '1',
'unit' => '%',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video:-webkit-mask-position-y',
'id' => 'css_mask_pos_y',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video',
'css_style' => '-webkit-mask-position-y',
'type' => 'sliderbar',
'condition' => array( 'id' => 'mask_shape_position', 'opt' => 'is', 'val' => 'custom' ),
'title' => __('Position Y', 'mfn-opts'),
'param' => array(
'min' => '-100',
'max' => '100',
'step' => '1',
'unit' => '%',
),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video:-webkit-mask-repeat',
'id' => 'css_mask_repeat',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape iframe, .mcb-section .mcb-wrap .mcb-item-mfnuidelement .content_video.mfn-mask-shape video',
'css_style' => '-webkit-mask-repeat',
'type' => 'select',
'title' => __('Repeat', 'mfn-opts'),
'condition' => array( 'id' => 'mask_type', 'opt' => 'isnt', 'val' => '0' ),
'options' => array(
'' => __('No repeat', 'mfn-opts'),
'repeat-x' => __('Repeat X', 'mfn-opts'),
'repeat-y' => __('Repeat Y', 'mfn-opts'),
'repeat' => __('Repeat', 'mfn-opts'),
),
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Header WPML Language Switcher ----------------------------------------------------
'header_language_switcher' => array(
'type' => 'header_language_switcher',
'title' => __('WPML switcher', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'other',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'style',
'attr_id' => 'style',
'type' => 'select',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'dropdown' => __('Dropdown', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'flags',
'type' => 'switch',
're_render' => true,
'title' => __('Flags', 'mfn-opts'),
'options' => array(
'1' => __('Show', 'mfn-opts'),
'0' => __('Hide', 'mfn-opts'),
),
'std' => 1,
),
array(
'id' => 'dropdown_icon',
'attr_id' => 'dropdown_icon',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'dropdown' ),
'type' => 'switch',
're_render' => true,
'title' => __('Dropdown icon', 'mfn-opts'),
'options' => array(
'1' => __('Show', 'mfn-opts'),
'' => __('Hide', 'mfn-opts'),
),
'std' => 1,
),
array(
'id' => 'dropdown_icon_html',
'condition' => array( 'id' => 'dropdown_icon', 'opt' => 'is', 'val' => '1' ),
'type' => 'icon',
're_render' => true,
'title' => __('Dropdown icon', 'mfn-opts'),
'std' => 'icon-down-open',
),
array(
'id' => 'dropdown_icon_image',
'condition' => array( 'id' => 'dropdown_icon', 'opt' => 'is', 'val' => '1' ),
'type' => 'upload',
're_render' => true,
'title' => __('Dropdown icon', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
array(
'class' => 'toggled_header row-header',
'type' => 'header',
'title' => __('Item', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a:padding',
'id' => 'css_language-switcherullia_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a:border-style',
'id' => 'css_language-switcherullia_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a',
'css_style' => 'border-style',
'attr_id' => 'border_style_wpml_swi',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a:border-width',
'id' => 'css_language-switcherullia_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_wpml_swi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a:border-radius',
'id' => 'css_language-switcherullia_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a:typography',
'id' => 'css_language-switcherullia_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'class' => 'toggled_header row-header',
'type' => 'header',
'title' => __('Flag', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a img:width',
'id' => 'css_language-switcherulliaimg_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a img',
'css_style' => 'width',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Flag size', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '100',
'step' => '1',
),
'std' => '18px',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a img:margin',
'id' => 'css_language-switcherulliaimg_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher ul li a img',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'class' => 'toggled_header row-header',
'type' => 'header',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'dropdown' ),
'title' => __('Dropdown icon', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown.mfn-language-switcher-dropdown-icon ul li a .mfn-arrow-icon:--mfn-wpml-arrow-size',
'id' => 'css_language-switcher-dropdown-icon-ul-li-a-arrow-icon_arrow_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown.mfn-language-switcher-dropdown-icon ul li a .mfn-arrow-icon',
'css_style' => '--mfn-wpml-arrow-size',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Icon size', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '100',
'step' => '1',
),
'std' => '10px',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li a .mfn-arrow-icon:margin',
'id' => 'css_language-switcher-dropdownullia-arrow-icon_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li a .mfn-arrow-icon',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'class' => 'toggled_header row-header',
'type' => 'header',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'dropdown' ),
'title' => __('Submenu', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul:width',
'id' => 'css_language-switcher-dropdownulliul_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul',
'css_style' => 'width',
'type' => 'text',
'title' => __('Width', 'mfn-opts'),
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul:background-color',
'id' => 'css_language-switcher-dropdownulliul_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul:padding',
'id' => 'css_language-switcher-dropdownulliul_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul:border-style',
'id' => 'css_language-switcher-dropdownulliul_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul',
'css_style' => 'border-style',
'attr_id' => 'border_style_wpml_submenu',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul:border-width',
'id' => 'css_language-switcher-dropdownulliul_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_wpml_submenu', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul:border-color',
'id' => 'css_language-switcher-dropdownulliul_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_wpml_submenu', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul:border-radius',
'id' => 'css_language-switcher-dropdownulliul_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-language-switcher-dropdown ul li ul',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Header WPML wcml Currency Switcher ----------------------------------------------------
'header_currency_switcher' => array(
'type' => 'header_currency_switcher',
'title' => __('Currency switcher', 'mfn-opts'),
'size' => '1/1',
'tablet_size' => '1/1',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'other',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'style',
'attr_id' => 'style',
'type' => 'select',
're_render' => true,
'title' => __('Style', 'mfn-opts'),
'options' => array(
'inline' => __('Inline', 'mfn-opts'),
'' => __('Dropdown', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'flags',
'type' => 'switch',
're_render' => true,
'title' => __('Flags', 'mfn-opts'),
'options' => array(
'1' => __('Show', 'mfn-opts'),
'' => __('Hide', 'mfn-opts'),
),
'std' => '1',
),
array(
'id' => 'dropdown_icon',
'attr_id' => 'dropdown_icon',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => '' ),
'type' => 'switch',
're_render' => true,
'title' => __('Dropdown icon', 'mfn-opts'),
'options' => array(
'1' => __('Show', 'mfn-opts'),
'' => __('Hide', 'mfn-opts'),
),
'std' => 1,
),
array(
'id' => 'dropdown_icon_html',
'condition' => array( 'id' => 'dropdown_icon', 'opt' => 'is', 'val' => '1' ),
'type' => 'icon',
're_render' => true,
'title' => __('Dropdown icon', 'mfn-opts'),
'std' => 'icon-down-open',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'class' => 'toggled_header row-header',
'type' => 'header',
'title' => __('Item', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_submenu_items_gap',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-default ul',
'css_style' => 'gap',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => 'inline' ),
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '50',
'step' => '1',
'unit' => 'px',
),
),
array(
'id' => 'css_currency_switcher_link_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li > a',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_link_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li > a',
'css_style' => 'border-style',
'attr_id' => 'border_style_wcml_swi',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_currency_switcher_link_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li > a',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_wcml_swi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_link_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li > a',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_link_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper > .wcml_currency_switcher > ul > li > a',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
array(
'class' => 'toggled_header row-header',
'type' => 'header',
'title' => __('Flag', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_flag_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li a img.mfn-wcml-flag',
'css_style' => 'width',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Flag size', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '100',
'step' => '1',
),
'std' => '20px',
),
array(
'class' => 'toggled_header row-header',
'type' => 'header',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => '' ),
'title' => __('Dropdown icon', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_dropdown_arrow_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown.mfn-currency-switcher-dropdown-icon ul li a .mfn-arrow-icon',
'css_style' => '--mfn-wpml-arrow-size',
'type' => 'sliderbar',
'default_unit' => 'px',
'title' => __('Icon size', 'mfn-opts'),
'responsive' => true,
'class' => 'narrow mfn-toggled',
'param' => array(
'unit' => 'px',
'min' => '0',
'max' => '100',
'step' => '1',
),
'std' => '10px',
),
array(
'id' => 'css_currency_switcher_dropdown_arrow_icon_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li a .mfn-arrow-icon',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_dropdown_arrow_icon_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li a .mfn-arrow-icon',
'css_style' => 'color',
'type' => 'color',
'class' => 'main-color mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'class' => 'toggled_header row-header',
'type' => 'header',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => '' ),
'title' => __('Submenu', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_submenu_offset',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul.mfn-wcml-dropdown-ready > li.wcml-cs-active-currency > ul',
'css_style' => 'margin-top',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Offset', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '50',
'step' => '1',
'unit' => 'px',
),
),
array(
'id' => 'css_currency_switcher_submenu_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul a',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_submenu_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li ul',
'css_style' => 'width',
'type' => 'text',
'title' => __('Width', 'mfn-opts'),
'default_unit' => 'px',
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
),
array(
'id' => 'css_currency_switcher_submenu_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li ul',
'css_style' => 'background-color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Background color', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_submenu_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li ul',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_submenu_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li ul',
'css_style' => 'border-style',
'attr_id' => 'border_style_wcml_submenu',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_currency_switcher_submenu_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li ul',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_wcml_submenu', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_submenu_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li ul',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_wcml_submenu', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_submenu_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li ul',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_submenu_box_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-dropdown ul li ul',
'css_style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'class' => 'toggled_header row-header',
'type' => 'header',
'condition' => array( 'id' => 'style', 'opt' => 'is', 'val' => '' ),
'title' => __('Submenu items', 'mfn-opts'),
),
array(
'id' => 'css_currency_switcher_submenu_items_gap',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul',
'css_style' => 'gap',
'type' => 'sliderbar',
'responsive' => true,
'title' => __('Gap', 'mfn-opts'),
'param' => array(
'min' => '0',
'max' => '50',
'step' => '1',
'unit' => 'px',
),
),
array(
'id' => 'css_currency_switcher_submenu_link_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul li a',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_submenu_link_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul li a',
'css_style' => 'border-style',
'attr_id' => 'border_style_wcml_swi',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'id' => 'css_currency_switcher_submenu_link_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul li a',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_wcml_swi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_submenu_link_border_width_last_child',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul li:last-child a',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_wcml_swi', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width last item', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_submenu_link_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul li a',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'id' => 'css_currency_switcher_submenu_link_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mfn-currency-switcher-wrapper ul li ul li a',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
),
),
// Visual Editor -------------------------------------------------
'visual' => array(
'type' => 'visual',
'title' => __('Visual Editor', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'used_fonts' => '',
'cat' => 'other',
'attr' => array(
//'fields' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'content',
'type' => 'visual',
'title' => __('Editor', 'mfn-opts'),
'class' => 'form-content-full-width',
'dynamic_data' => 'content',
'preview' => 'content',
'vbstd' => '
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
',
),
// deprecated
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
// Zoom Box -------------------------------------------------------
'zoom_box' => array(
'type' => 'zoom_box',
'title' => __('Zoom Box', 'mfn-opts'),
'size' => '1/4',
'tablet_size' => '1/4',
'mobile_size' => '1/1',
'tablet_resized' => '0',
'cat' => 'boxes',
'attr' => array(
array(
'type' => 'html',
'html' => '
',
),
array(
'id' => 'image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'desc' => __('Recommended image width 768px - 1920px depending on size of the item', 'mfn-opts'),
'std' => $this->get_placeholder(),
'preview' => 'image',
),
array(
'id' => 'content_image',
'dynamic_data' => 'featured_image',
'type' => 'upload',
'title' => __('Content image', 'mfn-opts'),
),
array(
'id' => 'content',
'dynamic_data' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
'std' => 'Lorem ipsum dolor',
'preview' => 'content',
'class' => 'form-content-full-width',
),
// link
array(
'type' => 'header',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'link_type',
'attr_id' => 'link_type',
'type' => 'select',
'title' => __('On click action', 'mfn-opts'),
'options' => array(
'' => __('Default', 'mfn-opts'),
'1' => __('Open popup', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'popup_id',
'condition' => array( 'id' => 'link_type', 'opt' => 'is', 'val' => '1' ),
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'dynamic_data' => 'permalink',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
0 => __('Default | _self', 'mfn-opts'),
1 => __('New tab or window | _blank', 'mfn-opts'),
'lightbox' => __('Lightbox (image or embed video)', 'mfn-opts'),
),
),
array(
'id' => 'link_title',
'type' => 'text',
'dynamic_data' => 'title',
'title' => __('Link title', 'mfn-opts'),
),
array(
'type' => 'header',
'class' => 'mfn-deprecated',
'title' => __('Deprecated', 'mfn-opts'),
),
array(
'id' => 'bg_color',
'class' => 'mfn-deprecated',
'type' => 'color',
'title' => __('Overlay background', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Element classes', 'mfn-opts'),
'class' => 'mfn-deprecated',
),
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Overlay', 'mfn-opts'),
),
array(
'id' => 'background_switcher',
'attr_id' => 'background_switcher_zoom',
'type' => 'switch',
'class' => 'mfn-fields-switcher mfn-toggled disable-history',
'title' => __('Background type', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'gradient' => __('Gradient', 'mfn-opts'),
),
'visual_options' => array(
'default' => '',
'gradient' => '',
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc:background-color',
'id' => 'css_zoom_boxdesc_background_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc',
'css_style' => 'background-color',
'condition' => array( 'id' => 'background_switcher_zoom', 'opt' => 'is', 'val' => 'default' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc:gradient',
'id' => 'css_zoom_boxdesc_gradient',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc',
'css_style' => 'gradient',
'condition' => array( 'id' => 'background_switcher_zoom', 'opt' => 'is', 'val' => 'gradient' ),
'type' => 'gradient',
'title' => __('Gradient', 'mfn-opts'),
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc:background-image',
'id' => 'css_zoom_boxdesc_background_image',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc',
'css_style' => 'background-image',
'condition' => array( 'id' => 'background_switcher_zoom', 'opt' => 'is', 'val' => 'default' ),
'type' => 'upload',
'title' => __('Image', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc:background-repeat',
'id' => 'css_zoom_boxdesc_background_repeat',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc',
'css_style' => 'background-repeat',
'condition' => array( 'id' => 'background_switcher_zoom', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Repeat', 'mfn-opts'),
'options' => [
'repeat' => __('Repeat', 'mfn-opts'),
'no-repeat' => __('No repeat', 'mfn-opts'),
'repeat-x' => __('Repeat X', 'mfn-opts'),
'repeat-y' => __('Repeat Y', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc:background-position',
'id' => 'css_zoom_boxdesc_background_position',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc',
'css_style' => 'background-position',
'condition' => array( 'id' => 'background_switcher_zoom', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Position', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'center' => __('Center Center', 'mfn-opts'),
'center left' => __('Center Left', 'mfn-opts'),
'center right' => __('Center Right', 'mfn-opts'),
'top left' => __('Top Left', 'mfn-opts'),
'top right' => __('Top Right', 'mfn-opts'),
'top center' => __('Top Center', 'mfn-opts'),
'bottom left' => __('Bottom Left', 'mfn-opts'),
'bottom right' => __('Bottom Right', 'mfn-opts'),
'bottom center' => __('Bottom Center', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc:background-attachment',
'id' => 'css_zoom_boxdesc_background_attachment',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc',
'css_style' => 'background-attachment',
'condition' => array( 'id' => 'background_switcher_zoom', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Attachment', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'scroll' => __('Scroll', 'mfn-opts'),
'fixed' => __('Fixed', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc:background-size',
'id' => 'css_zoom_boxdesc_background_size',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc',
'css_style' => 'background-size',
'condition' => array( 'id' => 'background_switcher_zoom', 'opt' => 'is', 'val' => 'default' ),
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled',
'title' => __('Size', 'mfn-opts'),
'options' => mfna_bg_size()
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Content', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc .desc_txt:color',
'id' => 'css_zoom_boxdescdesc_txt_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc .desc_txt',
'css_style' => 'color',
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc .desc_txt:typography',
'id' => 'css_zoom_boxdescdesc_txt_typography',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc .desc_txt',
'css_style' => 'typography',
'type' => 'typography_vb',
'label_after' => '
',
'class' => 'mfn-toggled toggle_fields',
'title' => __('Typography', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc .desc_txt:margin',
'id' => 'css_zoom_boxdescdesc_txt_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .zoom_box .desc .desc_txt',
'css_style' => 'margin',
'type' => 'dimensions',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'version' => 'separated-fields',
'class' => 'mfn-toggled',
),
array(
'type' => 'html',
'html' => '
',
),
),
),
);
}
/**
* GET inline shortcodes for CodeMirror
*/
public static function get_inline_shortcode(){
$shortcode_inline = array(
'alert' => array(
'type' => 'alert',
'title' => __('Alert', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'style',
'type' => 'select',
'title' => __('Style', 'mfn-opts'),
'desc' => __('Please select the alert style above', 'mfn-opts'),
'options' => array(
'warning' => __('Warning', 'mfn-opts'),
'error' => __('Error', 'mfn-opts'),
'info' => __('Info', 'mfn-opts'),
'success' => __('Success', 'mfn-opts'),
),
'std' => 'warning'
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
)
),
),
'blockquote' => array(
'type' => 'blockquote',
'title' => __('Blockquote', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'author',
'type' => 'text',
'title' => __('Author', 'mfn-opts'),
'desc' => __('Blockquote author', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
'desc' => __("Link to author's page", 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'desc' => __('Link target', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'_blank' => __('New tab or window', 'mfn-opts'),
'lightbox' => __('Lightbox', 'mfn-opts'),
),
'std' => '0'
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
),
),
),
'button' => array(
'type' => 'button',
'title' => __('Button', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'title',
'type' => 'text',
'title' => __('Button', 'mfn-opts'),
'desc' => __('Text on the button', 'mfn-opts'),
'std' => 'Button'
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
'desc' => __('Link (with http://)', 'mfn-opts')
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'desc' => __('Link target', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'_blank' => __('New tab or window', 'mfn-opts'),
'lightbox' => __('Lightbox', 'mfn-opts'),
),
'std' => '0'
),
array(
'id' => 'align',
'type' => 'switch',
'title' => __('Align', 'mfn-opts'),
'desc' => __('Button align', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts')
),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'desc' => __('To use a button with an icon, type the icon name here', 'mfn-opts'),
),
array(
'id' => 'icon_position',
'type' => 'switch',
'title' => __('Icon position', 'mfn-opts'),
'desc' => __('Icon position', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'right' => __('Right', 'mfn-opts')
),
),
array(
'id' => 'color',
'type' => 'color',
'title' => __('Button background color', 'mfn-opts'),
'alpha' => true
),
array(
'id' => 'font_color',
'type' => 'color',
'title' => __('Button text color', 'mfn-opts'),
),
array(
'id' => 'size',
'type' => 'switch',
'title' => __('Button Size', 'mfn-opts'),
'options' => array(
'1' => __('Small', 'mfn-opts'),
'2' => __('Default', 'mfn-opts'),
'3' => __('Large', 'mfn-opts'),
'4' => __('Very Large', 'mfn-opts')
),
'std' => '2'
),
array(
'id' => 'full_width',
'type' => 'switch',
'title' => __('Full Width', 'mfn-opts'),
'desc' => __('Stretch to the width of the column', 'mfn-opts'),
'options' => array(
'' => __('No', 'mfn-opts'),
'1' => __('Yes', 'mfn-opts')
)
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Class', 'mfn-opts'),
'desc' => __('CSS Classes', 'mfn-opts')
),
array(
'id' => 'button_id',
'type' => 'text',
'title' => __('ID', 'mfn-opts'),
'desc' => __('This option is useful when you want to use
GTM', 'mfn-opts'),
),
array(
'id' => 'rel',
'type' => 'text',
'title' => __('Rel', 'mfn-opts'),
'desc' => __('"Rel" attribute to the link', 'mfn-opts'),
'before' => 'rel='
),
array(
'id' => 'download',
'type' => 'text',
'title' => __('Download', 'mfn-opts'),
'desc' => __('Enter the new filename (if click on button downloads a file)', 'mfn-opts')
),
array(
'id' => 'onclick',
'type' => 'text',
'title' => __('onclick', 'mfn-opts'),
'desc' => __('"Onclick" attribute to the link', 'mfn-opts'),
'before' => 'onclick='
),
),
),
'code' => array(
'type' => 'code',
'title' => __('Code', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
'desc' => __('Code inside the box', 'mfn-opts'),
),
),
),
'content_link' => array(
'type' => 'content_link',
'title' => __('Content link', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'title',
'type' => 'text',
'title' => __('Title', 'mfn-opts'),
'desc' => __('Item title text', 'mfn-opts'),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp'
),
array(
'id' => 'link',
'type' => 'text',
'title' => 'Link'
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'desc' => __('Link target', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'_blank' => __('New tab or window', 'mfn-opts')
),
'std' => '0'
),
array(
'id' => 'class',
'type' => 'pills',
'title' => __('Class', 'mfn-opts'),
'desc' => __('CSS classess', 'mfn-opts')
),
array(
'id' => 'download',
'type' => 'text',
'title' => __('Download', 'mfn-opts'),
'desc' => __('Enter the new filename (if click on button downloads a file)', 'mfn-opts')
),
),
),
'countdown_inline' => array(
'type' => 'countdown_inline',
'title' => __('Countdown Inline', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'date',
'type' => 'text',
'title' => __('Launch date', 'mfn-opts'),
'desc' => __('month/day/year hour:minute:second', 'mfn-opts'),
'std' => '12/30/2022 12:00:00',
'preview' => 'title',
),
array(
'id' => 'timezone',
'type' => 'select',
'title' => __('Timezone', 'mfn-opts'),
'options' => mfna_utc(),
'std' => '0',
),
array(
'id' => 'show',
'type' => 'select',
'title' => __('Show', 'mfn-opts'),
'options' => array(
'' => __('days hours minutes seconds', 'mfn-opts'),
'dhm' => __('days hours minutes', 'mfn-opts'),
'dh' => __('days hours', 'mfn-opts'),
'd' => __('days', 'mfn-opts'),
),
),
),
),
'counter_inline' => array(
'type' => 'counter_inline',
'title' => __('Counter Inline', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'value',
'type' => 'text',
'title' => __('Value', 'mfn-opts'),
'std' => 500
),
array(
'id' => 'duration',
'type' => 'text',
'title' => __('Duration [ms]', 'mfn-opts'),
'std' => ''
),
),
),
'divider' => array(
'type' => 'divider',
'title' => __('Divider', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'height',
'type' => 'text',
'title' => __('Height', 'mfn-opts'),
'param' => 'number',
'after' => 'px',
'std' => 30,
),
array(
'id' => 'style',
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'dots' => __('Dots', 'mfn-opts'),
'zigzag' => __('ZigZag', 'mfn-opts'),
),
'std' => 'default',
),
array(
'id' => 'line',
'type' => 'switch',
'title' => __('Line', 'mfn-opts'),
'desc' => __('for style: default', 'mfn-opts'),
'options' => array(
'' => __('No line', 'mfn-opts'),
'default' => __('Default', 'mfn-opts'),
'narrow' => __('Narrow', 'mfn-opts'),
'wide' => __('Wide', 'mfn-opts'),
),
'std' => '',
),
array(
'id' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'alpha' => true,
),
array(
'id' => 'themecolor',
'type' => 'switch',
'title' => __('Theme color', 'mfn-opts'),
'desc' => __('Overwrites color selected above', 'mfn-opts'),
'options' => array(
0 => __('No', 'mfn-opts'),
1 => __('Yes', 'mfn-opts'),
),
'std' => 0
),
array(
'id' => 'classes',
'type' => 'pills',
'title' => __('CSS classes', 'mfn-opts'),
),
),
),
'dropcap' => array(
'type' => 'dropcap',
'title' => __('Dropcap', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'background',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
'alpha' => true
),
array(
'id' => 'color',
'type' => 'color',
'title' => __('Text color', 'mfn-opts'),
),
array(
'id' => 'circle',
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'0' => __('Square', 'mfn-opts'),
'1' => __('Circle', 'mfn-opts')
),
'std' => '0'
),
array(
'id' => 'size',
'type' => 'text',
'title' => __('Font size', 'mfn-opts'),
'desc' => __('Size in px or 1, 2, 3 for predefined sizes', 'mfn-opts'),
'class' => 'narrow',
'param' => 'number',
'after' => 'px',
'std' => '1',
),
array(
'id' => 'font',
'type' => 'font_select',
'title' => __('Font family', 'mfn-opts'),
'param' => [
'allow-empty' => true,
],
'std' => '',
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Text of dropcap', 'mfn-opts')
),
),
),
'fancy_link' => array(
'type' => 'fancy_link',
'title' => __('Fancy Link', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'title',
'type' => 'text',
'title' => __('Link text', 'mfn-opts'),
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link (with https://)', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'desc' => __('Link target', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'_blank' => __('New tab or window', 'mfn-opts')
)
),
array(
'id' => 'style',
'type' => 'select',
'title' => __('Style', 'mfn-opts'),
'desc' => __('Style of fancy link', 'mfn-opts'),
'options' => array(
'1' => __('Brackets', 'mfn-opts'),
'2' => __('Block flipping', 'mfn-opts'),
'3' => __('Border bottom', 'mfn-opts'),
'4' => __('Border clone', 'mfn-opts'),
'5' => __('Background shift', 'mfn-opts'),
'6' => __('Color and border shift', 'mfn-opts'),
'7' => __('Border position change', 'mfn-opts'),
'8' => __('Borders to cross', 'mfn-opts'),
'9' => __('Icon below link', 'mfn-opts'),
),
'std' => '1'
),
array(
'id' => 'font',
'type' => 'font_select',
'title' => __('Font family', 'mfn-opts'),
'param' => [
'allow-empty' => true,
],
),
array(
'id' => 'font_size',
'type' => 'text',
'title' => __('Font size', 'mfn-opts'),
'after' => 'px',
'class' => 'narrow',
'param' => 'number',
),
array(
'id' => 'margin',
'type' => 'text',
'title' => __('Margin', 'mfn-opts'),
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'desc' => __('for style
Icon below link only', 'mfn-opts'),
),
array(
'id' => 'class',
'type' => 'text',
'title' => __('Class', 'mfn-opts'),
'desc' => __('CSS classess', 'mfn-opts')
),
array(
'id' => 'popup',
'type' => 'text',
'title' => __('Popup ID', 'mfn-opts'),
),
array(
'id' => 'download',
'type' => 'text',
'title' => __('Download', 'mfn-opts'),
'desc' => __('Enter the new filename (if click on button downloads a file)', 'mfn-opts')
),
),
),
'google_font' => array(
'type' => 'google_font',
'title' => __('Google Font', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'font',
'type' => 'text',
'title' => __('Font', 'mfn-opts'),
'desc' => __('Google font name
Important: Works only with Google Fonts loaded from Google or Local for fonts selected in Theme Options', 'mfn-opts'),
'std' => 'Open Sans'
),
array(
'id' => 'size',
'type' => 'text',
'title' => __('Size', 'mfn-opts'),
'desc' => __('Font size in px', 'mfn-opts')
),
array(
'id' => 'weight',
'type' => 'select',
'title' => __('Weight', 'mfn-opts'),
'desc' => __('Font weight (some fonts only)', 'mfn-opts'),
'options' => array(
'100' => __('100', 'mfn-opts'),
'200' => __('200', 'mfn-opts'),
'300' => __('300', 'mfn-opts'),
'400' => __('400', 'mfn-opts'),
'500' => __('500', 'mfn-opts'),
'600' => __('600', 'mfn-opts'),
'700' => __('700', 'mfn-opts'),
'800' => __('800', 'mfn-opts')
),
'std' => '400'
),
array(
'id' => 'italic',
'type' => 'switch',
'title' => __('Italic', 'mfn-opts'),
'desc' => __('Font style: italic (some fonts only)', 'mfn-opts'),
'options' => array(
'0' => __('No', 'mfn-opts'),
'1' => __('Yes', 'mfn-opts')
),
'std' => '0'
),
array(
'id' => 'letter_spacing',
'type' => 'text',
'title' => __('Letter Spacing', 'mfn-opts'),
'desc' => __('Letter spacing in px', 'mfn-opts')
),
array(
'id' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'desc' => __('Color of font', 'mfn-opts'),
'std' => '#626262'
),
array(
'id' => 'subset',
'type' => 'text',
'title' => __('Subset', 'mfn-opts'),
'desc' => __('Subset for font (multiple separate with comma)', 'mfn-opts')
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
),
),
),
'heading' => array(
'type' => 'heading',
'title' => __('Heading', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'tag',
'type' => 'switch',
'title' => __('Heading size', 'mfn-opts'),
'options' => array(
'h1' => __('H1', 'mfn-opts'),
'h2' => __('H2', 'mfn-opts'),
'h3' => __('H3', 'mfn-opts'),
'h4' => __('H4', 'mfn-opts'),
'h5' => __('H5', 'mfn-opts'),
'h6' => __('H6', 'mfn-opts')
),
'std' => 'h2'
),
array(
'id' => 'align',
'type' => 'switch',
'title' => __('Text align', 'mfn-opts'),
'options' => array(
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts')
),
'std' => 'center'
),
array(
'id' => 'color',
'type' => 'color',
'title' => 'Color',
'std' => '#000'
),
array(
'id' => 'style',
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => array(
'none' => __('Default', 'mfn-opts'),
'lines' => __('Lines', 'mfn-opts')
),
'std' => 'lines'
),
array(
'id' => 'color2',
'type' => 'color',
'title' => 'Color 2',
'std' => '#000'
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => 'Content'
),
),
),
'highlight' => array(
'type' => 'highlight',
'title' => __('Highlight', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
array(
'id' => 'background',
'type' => 'color',
'title' => __('Background color', 'mfn-opts'),
'alpha' => true
),
array(
'id' => 'style',
'type' => 'switch',
'title' => __('Style', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'underline' => __('Underline', 'mfn-opts'),
],
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
),
)
),
'hr' => array(
'type' => 'hr',
'title' => __('Hr', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'height',
'type' => 'text',
'title' => __('Height', 'mfn-opts'),
'std' => 30
),
array(
'id' => 'style',
'type' => 'switch',
'title' => __('Line style', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'dots' => __('Dots', 'mfn-opts'),
'zigzag' => __('ZigZag', 'mfn-opts')
),
'std' => '0'
),
array(
'id' => 'line',
'type' => 'switch',
'title' => __('Line width', 'mfn-opts'),
'desc' => __('for style: default', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'narrow' => __('Narrow', 'mfn-opts'),
'wide' => __('Wide', 'mfn-opts')
),
'std' => '0'
),
array(
'id' => 'color',
'type' => 'color',
'title' => __('Line color', 'mfn-opts'),
),
array(
'id' => 'themecolor',
'type' => 'switch',
'title' => __('Theme color', 'mfn-opts'),
'desc' => 'Use the same color as theme color',
'options' => array(
'0' => __('No', 'mfn-opts'),
'1' => __('Yes', 'mfn-opts')
),
'std' => '0'
),
),
),
'icon' => array(
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'type',
'type' => 'icon',
'title' => 'Icon',
'std' => 'icon-lamp'
),
array(
'id' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
),
),
),
'icon_bar' => array(
'type' => 'icon_bar',
'title' => __('Icon Bar', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp'
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'_blank' => __('New tab or window', 'mfn-opts'),
),
'std' => '0'
),
array(
'id' => 'size',
'type' => 'text',
'title' => __('Size', 'mfn-opts'),
'desc' => __('If you want large icon, then type large, leave field empty if you want default size', 'mfn-opts')
),
array(
'id' => 'social',
'type' => 'select',
'title' => __('Social', 'mfn-opts'),
'options' => array(
'' => __('No', 'mfn-opts'),
'dribbble' => __('Dribbble', 'mfn-opts'),
'facebook' => __('Facebook', 'mfn-opts'),
'flickr' => __('Flickr', 'mfn-opts'),
'google' => __('Google', 'mfn-opts'),
'instagram' => __('Instagram', 'mfn-opts'),
'linkedin' => __('LinkedIn', 'mfn-opts'),
'pinterest' => __('Pinterest', 'mfn-opts'),
'twitter' => __('Twitter', 'mfn-opts'),
'vimeo' => __('Vimeo', 'mfn-opts'),
'youtube' => __('Youtube', 'mfn-opts'),
),
),
),
),
'icon_block' => array(
'type' => 'icon_block',
'title' => __('Icon Block', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp'
),
array(
'id' => 'align',
'type' => 'switch',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
),
),
array(
'id' => 'color',
'type' => 'color',
'title' => __('Color', 'mfn-opts')
),
array(
'id' => 'size',
'type' => 'text',
'title' => __('Icon size', 'mfn-opts'),
'std' => 25
),
),
),
'idea' => array(
'type' => 'idea',
'title' => __('Idea', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts')
),
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp'
),
array(
'id' => 'border_radius',
'type' => 'text',
'title' => __('Border radius', 'mfn-opts'),
'std' => '0',
'class' => 'narrow',
'param' => 'number',
'after' => 'px',
),
),
),
'image' => array(
'type' => 'image',
'title' => __('Image', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'src',
'type' => 'upload',
'title' => __('Image', 'mfn-opts')
),
array(
'id' => 'align',
'type' => 'switch',
'title' => __('Align', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
'center' => __('Center', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
)
),
array(
'id' => 'border',
'type' => 'switch',
'title' => __('Border', 'mfn-opts'),
'options' => array(
'0' => __('No', 'mfn-opts'),
'1' => __('Yes', 'mfn-opts'),
),
'std' => ''
),
array(
'id' => 'margin_top',
'type' => 'text',
'title' => __('Margin Top in px', 'mfn-opts')
),
array(
'id' => 'margin_bottom',
'type' => 'text',
'title' => __('Margin Bottom in px', 'mfn-opts')
),
array(
'id' => 'link_image',
'type' => 'upload',
'title' => __('Image on click', 'mfn-opts'),
'desc' => __('Link to image to open after click', 'mfn-opts')
),
array(
'id' => 'link',
'type' => 'text',
'title' => __('Link', 'mfn-opts'),
'desc' => __('URL to open on click instead of image url', 'mfn-opts')
),
array(
'id' => 'target',
'type' => 'select',
'title' => __('Target', 'mfn-opts'),
'desc' => __('Link target', 'mfn-opts'),
'options' => array(
'0' => __('Default', 'mfn-opts'),
'_blank' => __('New tab or window', 'mfn-opts')
)
),
array(
'id' => 'hover',
'type' => 'switch',
'title' => __('Hover effect', 'mfn-opts'),
'options' => array(
'' => __('ON', 'mfn-opts'),
'disable' => __('OFF', 'mfn-opts')
)
),
array(
'id' => 'alt',
'type' => 'text',
'title' => __('Alternate text', 'mfn-opts')
),
array(
'id' => 'caption',
'type' => 'text',
'title' => __('Caption', 'mfn-opts'),
'desc' => __('Short text under image', 'mfn-opts'),
),
array(
'id' => 'greyscale',
'type' => 'switch',
'title' => __('Grayscale', 'mfn-opts'),
'options' => array(
'' => __('OFF', 'mfn-opts'),
'1' => __('ON', 'mfn-opts')
)
),
array(
'id' => 'animate',
'type' => 'select',
'title' => __('Animation', 'mfn-opts'),
'desc' => __('Entrance animation', 'mfn-opts'),
'options' => array(
'' => esc_html__('- Not Animated -', 'mfn-opts'),
'fadeIn' => esc_html__('Fade in', 'mfn-opts'),
'fadeInUp' => esc_html__('Fade in up', 'mfn-opts'),
'fadeInDown' => esc_html__('Fade in down ', 'mfn-opts'),
'fadeInLeft' => esc_html__('Fade in left', 'mfn-opts'),
'fadeInRight' => esc_html__('Fade in right ', 'mfn-opts'),
'fadeInUpLarge' => esc_html__('Fade in up large', 'mfn-opts'),
'fadeInDownLarge' => esc_html__('Fade in down large', 'mfn-opts'),
'fadeInLeftLarge' => esc_html__('Fade in left large', 'mfn-opts'),
'fadeInRightLarge' => esc_html__('Fade in right large', 'mfn-opts'),
'zoomIn' => esc_html__('Zoom in', 'mfn-opts'),
'zoomInUp' => esc_html__('Zoom in up', 'mfn-opts'),
'zoomInDown' => esc_html__('Zoom in down', 'mfn-opts'),
'zoomInLeft' => esc_html__('Zoom in left', 'mfn-opts'),
'zoomInRight' => esc_html__('Zoom in right', 'mfn-opts'),
'zoomInUpLarge' => esc_html__('Zoom in up large', 'mfn-opts'),
'zoomInDownLarge' => esc_html__('Zoom in down large', 'mfn-opts'),
'zoomInLeftLarge' => esc_html__('Zoom in left large', 'mfn-opts'),
'bounceIn' => esc_html__('Bounce in', 'mfn-opts'),
'bounceInUp' => esc_html__('Bounce in up', 'mfn-opts'),
'bounceInDown' => esc_html__('Bounce in down', 'mfn-opts'),
'bounceInLeft' => esc_html__('Bounce in left', 'mfn-opts'),
'bounceInRight' => esc_html__('Bounce in right', 'mfn-opts'),
),
),
),
),
'popup' => array(
'type' => 'popup',
'title' => __('Popup', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'title',
'type' => 'text',
'title' => __('Title', 'mfn-opts'),
'desc' => __('Popup link text', 'mfn-opts')
),
array(
'id' => 'padding',
'type' => 'text',
'title' => __('Padding', 'mfn-opts'),
'desc' => __('Inner padding in px', 'mfn-opts')
),
array(
'id' => 'button',
'type' => 'switch',
'title' => __('Button', 'mfn-opts'),
'desc' => __('Use button instead of text link', 'mfn-opts'),
'options' => array(
'0' => __('No', 'mfn-opts'),
'1' => __('Yes', 'mfn-opts')
)
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts')
),
),
),
'progress_icons' => array(
'type' => 'progress_icons',
'title' => __('Popup', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'icon',
'type' => 'icon',
'title' => __('Icon', 'mfn-opts'),
'std' => 'icon-lamp'
),
array(
'id' => 'image',
'type' => 'upload',
'title' => __('Image url', 'mfn-opts'),
'desc' => __('If you dont want to use icon you can enter image URL', 'mfn-opts')
),
array(
'id' => 'count',
'type' => 'text',
'title' => __('Number of icons', 'mfn-opts'),
'std' => 5
),
array(
'id' => 'active',
'type' => 'text',
'title' => __('Number of active icons', 'mfn-opts'),
'std' => 3
),
array(
'id' => 'background',
'type' => 'color',
'title' => __('Color', 'mfn-opts'),
'alpha' => true
),
array(
'id' => 'transparent',
'type' => 'switch',
'title' => __('Transparent background', 'mfn-opts'),
'alpha' => true,
'options' => [
'0' => __('Disable', 'mfn-opts'),
'1' => __('Enable', 'mfn-opts'),
],
'std' => '0',
),
),
),
'tooltip' => array(
'type' => 'tooltip',
'title' => __('Tooltip', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'hint',
'type' => 'text',
'title' => __('Popup text', 'mfn-opts'),
'std' => 'Text'
),
array(
'id' => 'position',
'type' => 'select',
'title' => __('Position', 'mfn-opts'),
'options' => [
'top' => __('Top', 'mfn-opts'),
'right' => __('Right', 'mfn-opts'),
'bottom' => __('Bottom', 'mfn-opts'),
'left' => __('Left', 'mfn-opts'),
],
'std' => 'top'
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
),
),
),
'tooltip_image' => array(
'type' => 'tooltip_image',
'title' => __('Tooltip_Image', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'hint',
'type' => 'text',
'title' => __('Popup text', 'mfn-opts'),
'std' => 'Text'
),
array(
'id' => 'image',
'type' => 'upload',
'title' => __('Image URL', 'mfn-opts'),
),
array(
'id' => 'content',
'type' => 'textarea',
'title' => __('Content', 'mfn-opts'),
),
),
),
'lorem' => array(
'type' => 'lorem',
'title' => __('Lorem ipsum', 'mfn-opts'),
'attr' => array(
//'fields' => array(
array(
'id' => 'type',
'type' => 'switch',
'title' => __('Type of listing', 'mfn-opts'),
'options' => array(
'paragraphs' => __('Paragraphs', 'mfn-opts'),
'lists' => __('Lists', 'mfn-opts')
),
'std' => 'paragraphs'
),
array(
'id' => 'rows_amount',
'type' => 'text',
'title' => __('Amount', 'mfn-opts'),
'std' => 3
),
array(
'id' => 'min_words_amount',
'type' => 'text',
'title' => __('Minimal words amount', 'mfn-opts'),
'std' => 10
),
array(
'id' => 'max_words_amount',
'type' => 'text',
'title' => __('Maximal words amount', 'mfn-opts'),
'std' => 15
),
),
),
);
return $shortcode_inline;
}
/**
* SET item entrance animations
*/
private function set_animations(){
$this->animations = array(
'' => esc_html__('- Not Animated -', 'mfn-opts'),
'fadeIn' => esc_html__('Fade in', 'mfn-opts'),
'fadeInUp' => esc_html__('Fade in up', 'mfn-opts'),
'fadeInDown' => esc_html__('Fade in down ', 'mfn-opts'),
'fadeInLeft' => esc_html__('Fade in left', 'mfn-opts'),
'fadeInRight' => esc_html__('Fade in right ', 'mfn-opts'),
'fadeInUpLarge' => esc_html__('Fade in up large', 'mfn-opts'),
'fadeInDownLarge' => esc_html__('Fade in down large', 'mfn-opts'),
'fadeInLeftLarge' => esc_html__('Fade in left large', 'mfn-opts'),
'fadeInRightLarge' => esc_html__('Fade in right large', 'mfn-opts'),
'zoomIn' => esc_html__('Zoom in', 'mfn-opts'),
'zoomInUp' => esc_html__('Zoom in up', 'mfn-opts'),
'zoomInDown' => esc_html__('Zoom in down', 'mfn-opts'),
'zoomInLeft' => esc_html__('Zoom in left', 'mfn-opts'),
'zoomInRight' => esc_html__('Zoom in right', 'mfn-opts'),
'zoomInUpLarge' => esc_html__('Zoom in up large', 'mfn-opts'),
'zoomInDownLarge' => esc_html__('Zoom in down large', 'mfn-opts'),
'zoomInLeftLarge' => esc_html__('Zoom in left large', 'mfn-opts'),
'bounceIn' => esc_html__('Bounce in', 'mfn-opts'),
'bounceInUp' => esc_html__('Bounce in up', 'mfn-opts'),
'bounceInDown' => esc_html__('Bounce in down', 'mfn-opts'),
'bounceInLeft' => esc_html__('Bounce in left', 'mfn-opts'),
'bounceInRight' => esc_html__('Bounce in right', 'mfn-opts'),
);
}
/**
*
* ADVANCED section
*
* */
public function set_advanced() {
$this->advanced = array(
array(
'type' => 'html',
'html' => '
',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Dimensions', 'mfn-opts'),
),
array(
'id' => 'width_switcher',
'attr_id' => 'item_width_switcher_adv',
'type' => 'select',
'class' => 'mfn-toggled mfn-layout-modifier',
'title' => __('Width', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'inline' => __('Inline', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:flex',
'id' => 'css_advanced_flex',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'css_style' => 'width',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'item_width_switcher_adv', 'opt' => 'is', 'val' => 'custom' ),
'responsive' => true,
'class' => 'mfn-toggled advanced_flex mfn-slider-input mfn-layout-modifier',
'title' => __('Width', 'mfn-opts'),
'desc' => __('Use px, %, vw, vh or auto to set content width', 'mfn-opts'),
),
array(
'id' => 'height_switcher',
'attr_id' => 'item_height_switcher_adv',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Height', 'mfn-opts'),
'options' => array(
'default' => __('Default', 'mfn-opts'),
'custom' => __('Custom', 'mfn-opts'),
),
'std' => 'default',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:height',
'id' => 'css_advanced_height',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'css_style' => 'height',
'type' => 'text',
'default_unit' => 'px',
'condition' => array( 'id' => 'item_height_switcher_adv', 'opt' => 'is', 'val' => 'custom' ),
'responsive' => true,
'class' => 'mfn-toggled mfn-slider-input',
'title' => __('Height', 'mfn-opts')
),
array(
'form' => 'advanced',
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Spacing', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:padding',
'id' => 'css_advanced_padding',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'css_style' => 'padding',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Padding', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled mfn-layout-modifier',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:margin',
'id' => 'css_advanced_margin',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'css_style' => 'margin',
'type' => 'dimensions',
'version' => 'separated-fields',
'title' => __('Margin', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled advanced_margin mfn-layout-modifier',
),
array(
'type' => 'header',
'class' => 'toggled_header hide_if_ql row-header',
'title' => __('Positioning', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:position',
'id' => 'css_advanced_position',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'css_style' => 'position',
'attr_id' => 'item_position_rwd',
'type' => 'select',
'responsive' => true,
'class' => 'mfn-toggled absolute-pos-watcher custom-element-position',
'title' => __('Position', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'relative' => __('Offset', 'mfn-opts'),
'absolute' => __('Absolute', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:top',
'id' => 'css_advanced_top',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'css_style' => 'top',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'condition' => array( 'id' => 'item_position_rwd', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Top', 'mfn-opts'),
'class' => 'mfn-toggled custom-abs-offset-values',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:bottom',
'id' => 'css_advanced_bottom',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'css_style' => 'bottom',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'condition' => array( 'id' => 'item_position_rwd', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Bottom', 'mfn-opts'),
'class' => 'mfn-toggled custom-abs-offset-values',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:left',
'id' => 'css_advanced_left',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'css_style' => 'left',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'condition' => array( 'id' => 'item_position_rwd', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Left', 'mfn-opts'),
'class' => 'mfn-toggled custom-abs-offset-values',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:right',
'id' => 'css_advanced_right',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'css_style' => 'right',
'type' => 'text',
'default_unit' => 'px',
'responsive' => true,
'condition' => array( 'id' => 'item_position_rwd', 'opt' => 'isnt', 'val' => '' ),
'title' => __('Right', 'mfn-opts'),
'class' => 'mfn-toggled custom-abs-offset-values',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:z-index',
'id' => 'css_advanced_z_index',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'css_style' => 'z-index',
'type' => 'text',
'title' => __('Z-index', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow mfn-toggled',
'preview' => 'number',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:order',
'id' => 'css_advanced_order',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'css_style' => 'order',
'type' => 'text',
'title' => __('Order', 'mfn-opts'),
'param' => 'number',
'class' => 'narrow mfn-toggled',
'responsive' => true,
'preview' => 'number',
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Background', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
), array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Border', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:border-style',
'id' => 'css_advanced_border_style',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'css_style' => 'border-style',
'type' => 'select',
'attr_id' => 'border_style_adv',
'class' => 'mfn-toggled',
'title' => __('Border style', 'mfn-opts'),
'options' => [
'none' => __('None', 'mfn-opts'),
'solid' => __('Solid', 'mfn-opts'),
'dashed' => __('Dashed', 'mfn-opts'),
'dotted' => __('Dotted', 'mfn-opts'),
'double' => __('Double', 'mfn-opts'),
],
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:border-color',
'id' => 'css_advanced_border_color',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'css_style' => 'border-color',
'condition' => array( 'id' => 'border_style_adv', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'color',
'class' => 'mfn-toggled',
'title' => __('Border color', 'mfn-opts'),
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:border-width',
'id' => 'css_advanced_border_width',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'css_style' => 'border-width',
'condition' => array( 'id' => 'border_style_adv', 'opt' => 'isnt', 'val' => 'none' ),
'type' => 'dimensions',
'title' => __('Border width', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:border-radius',
'id' => 'css_advanced_border_radius',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'css_style' => 'border-radius',
'type' => 'dimensions',
'title' => __('Border radius', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'form' => 'advanced',
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:box-shadow',
'id' => 'css_advanced_box_shadow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'css_style' => 'box-shadow',
'type' => 'box_shadow',
'title' => __('Box shadow', 'mfn-opts'),
'responsive' => true,
'class' => 'mfn-toggled',
),
array(
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner:overflow',
'id' => 'css_advanced_overflow',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement .mcb-column-inner',
'css_style' => 'overflow',
'type' => 'select',
'class' => 'mfn-toggled',
'title' => __('Overflow', 'mfn-opts'),
'options' => [
'' => __('Default', 'mfn-opts'),
'hidden' => __('Hidden', 'mfn-opts'),
'auto' => __('Auto', 'mfn-opts'),
],
),
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Responsive', 'mfn-opts'),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Device type', 'mfn-opts'),
),
array(
'id' => 'visibility',
'iconinfo' => 'https://support.muffingroup.com/video-tutorials/section-responsive-visibility/',
'type' => 'switch',
'invert' => true,
'version' => 'multiple',
'class' => 'mfn-toggled',
'title' => __('Responsive visibility', 'mfn-opts'),
'options' => array(
'hide-desktop' => __('Hide on Desktop', 'mfn-opts'),
'hide-laptop' => __('Hide on Laptop', 'mfn-opts'),
'hide-tablet' => __('Hide on Tablet', 'mfn-opts'),
'hide-mobile' => __('Hide on Mobile', 'mfn-opts'),
),
'active_tooltip' => array(
'hide-desktop' => __('Show on Desktop', 'mfn-opts'),
'hide-laptop' => __('Show on Laptop', 'mfn-opts'),
'hide-tablet' => __('Show on Tablet', 'mfn-opts'),
'hide-mobile' => __('Show on Mobile', 'mfn-opts'),
),
'visual_options' => array(
'hide-desktop' => '
', // 960 +
'hide-laptop' => '
', // 768 - 959
'hide-tablet' => '
', // 768 - 959
'hide-mobile' => '
', // - 768
),
),
array(
'type' => 'subheader',
'class' => 'mfn-builder-subheader row-header mfn-toggled',
'title' => __('Custom', 'mfn-opts'),
),
array(
'id' => 'custom-responsive',
'attr_id' => 'custom-responsive',
'type' => 'switch',
'class' => 'mfn-toggled',
'title' => __('Custom visibility', 'mfn-opts'),
'options' => array(
'hide' => __('Hide under', 'mfn-opts'),
'show' => __('Show under', 'mfn-opts'),
),
'std' => 'hide'
),
array(
'form' => 'advanced',
'condition' => array( 'id' => 'custom-responsive', 'opt' => 'is', 'val' => 'hide' ),
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:hide_under_custom',
'id' => 'css_advanced_hide_under_custom',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'css_style' => 'hide_under_custom',
'type' => 'sliderbar',
'class' => 'mfn-toggled responsive-custom-visibility',
'title' => __('Hide under', 'mfn-opts'),
'param' => array(
'min' => '400',
'max' => '1920',
'step' => '1',
'unit' => 'px',
),
),
array(
'form' => 'advanced',
'condition' => array( 'id' => 'custom-responsive', 'opt' => 'is', 'val' => 'show' ),
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:show_under_custom',
'id' => 'css_advanced_show_under_custom',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'css_style' => 'show_under_custom',
'type' => 'sliderbar',
'title' => __('Show under', 'mfn-opts'),
'class' => 'mfn-toggled responsive-custom-visibility',
'param' => array(
'min' => '400',
'max' => '1920',
'step' => '1',
'unit' => 'px',
),
),
array(
'form' => 'advanced',
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Animation', 'mfn-opts'),
),
array(
'form' => 'advanced',
'id' => 'animate',
'attr_id' => 'animate',
'type' => 'select',
'title' => __('Animation', 'mfn-opts'),
'desc' => __('Entrance animation', 'mfn-opts'),
'class' => 'mfn-toggled',
'options' => $this->get_animations(),
),
array(
'form' => 'advanced',
'old_id' => 'style:.mcb-section .mcb-wrap .mcb-item-mfnuidelement:animation-delay',
'id' => 'css_advanced_animation_delay',
'css_path' => '.mcb-section .mcb-wrap .mcb-item-mfnuidelement',
'css_style' => 'animation-delay',
'condition' => array( 'id' => 'animate', 'opt' => 'isnt', 'val' => '' ),
'type' => 'sliderbar',
'class' => 'mfn-toggled',
'title' => __('Animation delay', 'mfn-opts'),
'after' => 'ms',
'param' => array(
'min' => '0',
'max' => '3000',
'step' => '1',
'unit' => 'ms'
),
),
// Transform
array(
'type' => 'header',
'class' => 'toggled_header row-header transform_options',
'title' => __('Transform', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '',
),
// Conditions
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Conditional logic', 'mfn-opts'),
),
array(
'id' => 'conditions',
'class' => 'mfn-toggled conditional_logic',
'type' => 'logic',
'title' => __('Conditional logic', 'mfn-opts'),
),
// Custom
array(
'type' => 'header',
'class' => 'toggled_header row-header',
'title' => __('Custom', 'mfn-opts'),
),
array(
'id' => 'classes',
'class' => 'mfn-toggled',
'type' => 'pills',
'title' => __('CSS classes', 'mfn-opts'),
),
array(
'form' => 'advanced',
'id' => 'custom_id',
'class' => 'mfn-toggled',
'type' => 'text',
'title' => __('Custom ID', 'mfn-opts'),
),
array(
'form' => 'advanced',
'id' => 'custom_css', // changed from style: because of another style inputs in widgets
'class' => 'mfn-toggled',
'type' => 'textarea',
'title' => __('Additional CSS', 'mfn-opts'),
),
array(
'type' => 'html',
'html' => '
',
),
);
}
}
}