/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb')), 'address' => array('type' => 'text', 'label' => __('Address to display on map', 'mvb')), 'height' => array('type' => 'text', 'label' => __('Height (in px)', 'mvb'), 'col_span' => 'lbl_half'), 'zoom' => array('type' => 'text', 'label' => __('Map zoom (from 0 to 21+)', 'mvb'), 'col_span' => 'lbl_half'), 'content' => array('type' => 'textarea', 'editor' => TRUE, 'label' => __('Additional information', 'mvb')), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_third'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full'), 'unique_id' => array('type' => 'text', 'default' => uniqid('mvbtab_'), 'label' => __('Unique ID', 'mvb'), 'help' => __('Must be unique for every tab on the page.', 'mvb'), 'col_span' => 'lbl_third')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb')), 'separator1' => array('type' => 'separator'), 'presentation_box' => array('type' => 'repeater', 'button' => __('Add box', 'mvb'), 'label' => __('Box', 'mvb'), 'lbl_d' => __('Box Title', 'mvb'), 'fields' => array('image' => array('type' => 'image', 'label' => __('Image', 'mvb'), 'col_span' => 'lbl_half'), 'main_title' => array('type' => 'text', 's_title' => TRUE, 'label' => __('Title', 'mvb'), 'col_span' => 'lbl_half'), 'sub_title' => array('type' => 'text', 'label' => __('Subtitle', 'mvb'), 'col_span' => 'lbl_half'), 'separator' => array('type' => 'separator'), 'color' => array('type' => 'colorpicker', 'label' => __('Background Color', 'mvb'), 'default' => '61727b', 'col_span' => 'lbl_third'), 'icon_color' => array('type' => 'colorpicker', 'label' => __('Icon text color', 'mvb'), 'default' => 'DBDBDB', 'col_span' => 'lbl_third'), 'icon_shadow_color' => array('type' => 'colorpicker', 'label' => __('Icon shadow color', 'mvb'), 'default' => 'DBDBDB', 'col_span' => 'lbl_third'), 'separator' => array('type' => 'separator'), 'icon' => array('type' => 'icon', 'label' => __('Icon', 'mvb'), 'col_span' => 'lbl_third'), 'separator1' => array('type' => 'separator'), 'link_url' => array('type' => 'text', 'label' => __('Link (URL)', 'mvb'), 'col_span' => 'lbl_half'), 'page_id' => array('type' => 'mvb_dropdown', 'label' => __('Link to page', 'mvb'), 'what' => 'pages', 'default' => 0, 'col_span' => 'lbl_half'), 'content' => array('type' => 'textarea', 'label' => __('Content', 'mvb')), 'read_more' => array('type' => 'select', 'label' => __('Display the "read more" link', 'mvb'), 'default' => 1, 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'read_more_text' => array('type' => 'text', 'label' => __('"Read more" link text', 'mvb'), 'default' => __('Read more', 'mvb'), 'col_span' => 'lbl_half'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_third'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_third'))), 'separator' => array('type' => 'separator'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'dfd')), 'accordion_panel' => array('type' => 'repeater', 'button' => __('Add section', 'dfd'), 'label' => __('Section', 'dfd'), 'lbl_d' => __('Section Title', 'dfd'), 'fields' => array('icon' => array('type' => 'icon', 'label' => __('Icon', 'dfd'), 'col_span' => 'lbl_third'), 'panel_title' => array('type' => 'text', 's_title' => TRUE, 'label' => __('Section Title', 'dfd'), 'col_span' => 'lbl_third'), 'content' => array('type' => 'textarea', 'label' => __('Section content', 'dfd')))), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'dfd'), 'help' => __('Select one of appear effects for block', 'dfd'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_third'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'dfd'), 'help' => __('Separated by space', 'dfd'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'dfd'), 'help' => __('Separated by <b>;</b>', 'dfd'), 'col_span' => 'lbl_full'), 'unique_id' => array('type' => 'text', 'default' => uniqid('mvbacc_'), 'label' => __('Unique ID', 'dfd'), 'help' => __('Must be unique for every tab on the page.', 'dfd'), 'col_span' => 'lbl_third')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb')), 'separator1' => array('type' => 'separator'), 'presentation_box' => array('type' => 'repeater', 'button' => __('Add team member', 'mvb'), 'label' => __('Member', 'mvb'), 'lbl_d' => __('Mamber name', 'mvb'), 'fields' => array('image' => array('type' => 'image', 'label' => __('Image', 'mvb'), 'col_span' => 'lbl_half'), 'image_flip' => array('type' => 'image', 'label' => __('Flip Image', 'mvb'), 'col_span' => 'lbl_half'), 'separator11' => array('type' => 'separator', 'border' => true), 'main_title' => array('type' => 'text', 's_title' => TRUE, 'label' => __('Member name', 'mvb'), 'col_span' => 'lbl_half'), 'sub_title' => array('type' => 'text', 'label' => __('Member additional', 'mvb', 'mvb'), 'col_span' => 'lbl_half'), 'content' => array('type' => 'textarea', 'label' => __('Content', 'mvb')), 'separator-link' => array('type' => 'separator'), 'link_url' => array('type' => 'text', 'label' => __('Link (URL)', 'mvb'), 'col_span' => 'lbl_half'), 'page_id' => array('type' => 'mvb_dropdown', 'label' => __('Link to page', 'mvb'), 'what' => 'pages', 'default' => 0, 'col_span' => 'lbl_half'), 'link_title' => array('type' => 'text', 'label' => __('Link Title', 'mvb'), 'default' => 'Read more', 'col_span' => 'lbl_half'), 'separator0' => array('type' => 'separator', 'border' => true), 'tw_link' => array('type' => 'text', 'label' => 'Twitter', 'col_span' => 'lbl_half'), 'fb_link' => array('type' => 'text', 'label' => 'Facebook', 'col_span' => 'lbl_half'), 'li_link' => array('type' => 'text', 'label' => 'LinkedIN', 'col_span' => 'lbl_half'), 'gp_link' => array('type' => 'text', 'label' => 'Google +', 'col_span' => 'lbl_half'), 'in_link' => array('type' => 'text', 'label' => 'Instagram', 'col_span' => 'lbl_half'), 'vi_link' => array('type' => 'text', 'label' => 'Vimeo', 'col_span' => 'lbl_half'), 'lf_link' => array('type' => 'text', 'label' => 'Last FM', 'col_span' => 'lbl_half'), 'vk_link' => array('type' => 'text', 'label' => 'Vkontakte', 'col_span' => 'lbl_half'), 'yt_link' => array('type' => 'text', 'label' => 'YouTube', 'col_span' => 'lbl_half'), 'de_link' => array('type' => 'text', 'label' => 'Devianart', 'col_span' => 'lbl_half'), 'pi_link' => array('type' => 'text', 'label' => 'Picasa', 'col_span' => 'lbl_half'), 'pt_link' => array('type' => 'text', 'label' => 'Pinterest', 'col_span' => 'lbl_half'), 'wp_link' => array('type' => 'text', 'label' => 'Wordpress', 'col_span' => 'lbl_half'), 'db_link' => array('type' => 'text', 'label' => 'Dropbox', 'col_span' => 'lbl_half'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'thumbnail_transform' => array('type' => 'select', 'label' => __('Tumbnail Transform', 'mvb'), 'help' => __('Select one of appear effects for thubmnail', 'mvb'), 'default' => 0, 'options' => dfd_tumbnail_transform(), 'col_span' => 'lbl_half'))), 'separator' => array('type' => 'separator'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb')), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'dfd')), 'separator1' => array('type' => 'separator'), 'single_client' => array('type' => 'repeater', 'button' => __('Add client', 'dfd'), 'label' => __('Client', 'dfd'), 'lbl_d' => __('Client Name', 'dfd'), 'fields' => array('image' => array('type' => 'image', 'label' => __('Image', 'dfd'), 'col_span' => 'lbl_half'), 'main_title' => array('type' => 'text', 's_title' => TRUE, 'label' => __('Client Name', 'dfd'), 'col_span' => 'lbl_half'), 'client_url' => array('type' => 'text', 'label' => __('Client URL', 'dfd'), 'col_span' => 'lbl_half'))), 'separator-slideshow' => array('type' => 'separator'), 'slideshow' => array('type' => 'select', 'label' => __('Autostart Slideshow', 'dfd'), 'default' => 1, 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'slideshow_speed' => array('type' => 'text', 'label' => __('Slideshow Speed', 'dfd'), 'help' => __('Set slideshow speed in ms', 'dfd'), 'defaut' => '7000', 'col_span' => 'lbl_half'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'dfd'), 'help' => __('Select one of appear effects for block', 'dfd'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'dfd'), 'help' => __('Separated by space', 'dfd'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'dfd'), 'help' => __('Separated by <b>;</b>', 'dfd'), 'col_span' => 'lbl_full'), 'separator' => array('type' => 'separator'), 'new_tab' => array('type' => 'select', 'label' => __('Opens in new tab', 'dfd'), 'default' => 0, 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'unique_id' => array('type' => 'text', 'default' => uniqid('mvbacc_'), 'label' => __('Unique ID', 'dfd'), 'help' => __('Must be unique for every module on the page.', 'dfd'), 'col_span' => 'lbl_half'), 'separator2' => array('type' => 'separator'), 'description' => array('type' => 'textarea', 'editor' => true, 'label' => __('Description', 'dfd')), 'separator2' => array('type' => 'separator'), 'view_all_show' => array('type' => 'select', 'label' => __('Display the "view all" link', 'dfd'), 'default' => '1', 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'view_all_text' => array('type' => 'text', 'label' => __('"View all" link text', 'dfd'), 'default' => __('View all', 'dfd'), 'col_span' => 'lbl_half'), 'link_url' => array('type' => 'text', 'label' => __('View all link URL', 'dfd'), 'col_span' => 'lbl_half'), 'page_id' => array('type' => 'mvb_dropdown', 'label' => __('Link to page', 'dfd'), 'what' => 'pages', 'default' => 0, 'col_span' => 'lbl_half')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('simple_mode' => array('type' => 'select', 'label' => __('Simple Mode', 'mvb'), 'default' => 0, 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'separator-slideshow' => array('type' => 'separator'), 'slideshow' => array('type' => 'select', 'label' => __('Autostart Slideshow', 'mvb'), 'default' => 1, 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'slideshow_speed' => array('type' => 'text', 'label' => __('Slideshow Speed', 'mvb'), 'help' => __('Set slideshow speed in ms', 'mvb'), 'defaut' => '7000', 'col_span' => 'lbl_half'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'dfd')), 'separator1' => array('type' => 'separator'), 'presentation_box' => array('type' => 'repeater', 'button' => __('Add box', 'dfd'), 'label' => __('Box', 'dfd'), 'lbl_d' => __('Box Title', 'dfd'), 'fields' => array('image' => array('type' => 'image', 'label' => __('Image', 'dfd'), 'col_span' => 'lbl_half'), 'main_title' => array('type' => 'text', 's_title' => TRUE, 'label' => __('Title', 'dfd'), 'col_span' => 'lbl_half'), 'sub_title' => array('type' => 'text', 'label' => __('Subtitle', 'dfd'), 'col_span' => 'lbl_half'), 'separator1' => array('type' => 'separator'), 'link_url' => array('type' => 'text', 'label' => __('Link (URL)', 'dfd'), 'col_span' => 'lbl_half'), 'page_id' => array('type' => 'mvb_dropdown', 'label' => __('Link to page', 'dfd'), 'what' => 'pages', 'default' => 0, 'col_span' => 'lbl_half'), 'separator' => array('type' => 'separator'), 'link_title' => array('type' => 'text', 'label' => __('Link Title', 'dfd'), 'col_span' => 'lbl_half'), 'link_in_main_title' => array('type' => 'select', 'label' => __('Link In Main Title', 'dfd'), 'default' => 0, 'options' => array(0 => __('No', 'dfd'), 1 => __('Yes', 'dfd')), 'col_span' => 'lbl_half'), 'separator' => array('type' => 'separator'), 'icon' => array('type' => 'icon', 'label' => __('Icon', 'dfd')), 'separator01' => array('type' => 'separator'), 'icon_size' => array('type' => 'text', 'label' => __('Icon size (in px)', 'dfd'), 'default' => '120', 'col_span' => 'lbl_third'), 'content' => array('type' => 'textarea', 'label' => __('Content', 'dfd')), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'dfd'), 'help' => __('Separated by space', 'dfd')))), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'dfd'), 'help' => __('Select one of appear effects for block', 'dfd'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'image_align' => array('type' => 'select', 'label' => __('Icon or image align', 'dfd'), 'help' => __('The image or cion will appear to the left or to the right from content', 'dfd'), 'options' => crum_get_align(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'dfd'), 'help' => __('Separated by space', 'dfd'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'dfd'), 'help' => __('Separated by <b>;</b>', 'dfd'), 'col_span' => 'lbl_full')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb')), 'image' => array('type' => 'image', 'label' => __('Image', 'mvb'), 'col_span' => 'lbl_half'), 'name' => array('type' => 'text', 'label' => __('Name', 'mvb'), 'col_span' => 'lbl_half'), 'client_job' => array('type' => 'text', 'label' => __('Job position', 'mvb'), 'col_span' => 'lbl_half'), 'description' => array('type' => 'textarea', 'label' => __('Description', 'mvb')), 'separator-animate' => array('type' => 'separator'), 'animate_skill' => array('type' => 'select', 'label' => __('Animate skills', 'mvb'), 'default' => 0, 'options' => mvb_yes_no()), 'skill' => array('type' => 'repeater', 'button' => __('Add skill', 'mvb'), 'label' => __('Skill', 'mvb'), 'lbl_d' => __('Skill Title', 'mvb'), 'fields' => array('skill_title' => array('type' => 'text', 's_title' => TRUE, 'label' => __('Skill Title', 'mvb'), 'col_span' => 'lbl_half'), 'skill_percent' => array('type' => 'text', 'label' => __('Skill percent', 'mvb'), 'col_span' => 'lbl_forth'), 'separator' => array('type' => 'separator'), 'icon' => array('type' => 'icon', 'label' => __('Icon', 'mvb'), 'col_span' => 'lbl_forth'), 'icon_color' => array('type' => 'colorpicker', 'label' => __('Icon text color', 'mvb'), 'default' => 'c0c0c0', 'col_span' => 'lbl_forth'))), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb'), 'col_span' => 'lbl_half'), 'no_of_posts' => array('type' => 'text', 'default' => 5, 'label' => __('Number of posts', 'mvb'), 'col_span' => 'lbl_half'), 'categories' => array('type' => 'select_multi', 'title' => __('Select category', 'mvb'), 'label' => __('Categories', 'mvb'), 'callback' => 'mvb_get_select_options_multi', 'options' => 'category'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_third'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full'), 'unique_id' => array('type' => 'text', 'default' => uniqid('mvbacc_'), 'label' => __('Unique ID', 'mvb'), 'help' => __('Must be unique for every tab on the page.', 'mvb'), 'col_span' => 'lbl_third')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb')), 'separator1' => array('type' => 'separator'), 'sliding_text' => array('type' => 'repeater', 'button' => __('Add text box', 'mvb'), 'label' => __('Text Box', 'mvb'), 'lbl_d' => __('Text Box', 'mvb'), 'fields' => array('content' => array('type' => 'textarea', 'editor' => true, 'label' => __('Content', 'mvb'), 'insert_image' => true))), 'separator-slideshow' => array('type' => 'separator'), 'slideshow' => array('type' => 'select', 'label' => __('Autostart Slideshow', 'mvb'), 'default' => 1, 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'slideshow_speed' => array('type' => 'text', 'label' => __('Slideshow Speed', 'mvb'), 'help' => __('Set slideshow speed in ms', 'mvb'), 'default' => '7000', 'col_span' => 'lbl_half'), 'slideshow_effect' => array('type' => 'select', 'label' => __('Slideshow effect', 'mvb'), 'default' => 'slide', 'options' => array('horizontal' => __('Slide horisontal', 'mvb'), 'vertical' => __('Slide vertical', 'mvb'), 'fade' => __('Fade', 'mvb')), 'col_span' => 'lbl_half'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full'), 'unique_id' => array('type' => 'text', 'default' => uniqid('mvbst_'), 'label' => __('Unique ID', 'mvb'), 'help' => __('Must be unique for every tab on the page.', 'mvb'), 'col_span' => 'lbl_third')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb')), 'few_rows' => array('type' => 'select', 'label' => __('Few rows', 'mvb'), 'default' => 0, 'options' => mvb_yes_no()), 'separator1' => array('type' => 'separator'), 'single_client' => array('type' => 'repeater', 'button' => __('Add client', 'mvb'), 'label' => __('Client', 'mvb'), 'lbl_d' => __('Client Name', 'mvb'), 'fields' => array('image' => array('type' => 'image', 'label' => __('Image', 'mvb'), 'col_span' => 'lbl_half'), 'main_title' => array('type' => 'text', 's_title' => TRUE, 'label' => __('Client Name', 'mvb'), 'col_span' => 'lbl_half'), 'client_url' => array('type' => 'text', 'label' => __('Client URL', 'mvb'), 'col_span' => 'lbl_half'))), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full'), 'separator' => array('type' => 'separator'), 'new_tab' => array('type' => 'select', 'label' => __('Opens in new tab', 'mvb'), 'default' => 0, 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'unique_id' => array('type' => 'text', 'default' => uniqid('mvbacct_'), 'label' => __('Unique ID', 'mvb'), 'help' => __('Must be unique for every module on the page.', 'mvb'), 'col_span' => 'lbl_half')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb'), 'col_span' => 'lbl_half'), 'separator' => array('type' => 'separator'), 'image' => array('type' => 'image', 'label' => __('Image', 'mvb'), 'col_span' => 'lbl_half'), 'image_align' => array('type' => 'select', 'label' => __('Align', 'mvb'), 'options' => crum_get_align(), 'col_span' => 'lbl_half'), 'separator' => array('type' => 'separator'), 'link_url' => array('type' => 'text', 'label' => __('Link (URL)', 'mvb'), 'col_span' => 'lbl_half'), 'page_id' => array('type' => 'mvb_dropdown', 'label' => __('Link to page', 'mvb'), 'what' => 'pages', 'default' => 0, 'col_span' => 'lbl_half'), 'content' => array('type' => 'textarea', 'label' => __('Content', 'mvb')), 'read_more' => array('type' => 'select', 'label' => __('Display the "read more" link', 'mvb'), 'default' => 1, 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'read_more_text' => array('type' => 'text', 'label' => __('"Read more" link text', 'mvb'), 'default' => __('Read more', 'mvb'), 'col_span' => 'lbl_half'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'dfd')), 'address' => array('type' => 'text', 'label' => __('Address to display on map', 'dfd')), 'height' => array('type' => 'text', 'label' => __('Height (in px)', 'dfd'), 'col_span' => 'lbl_half'), 'zoom' => array('type' => 'text', 'label' => __('Map zoom (from 0 to 21+)', 'dfd'), 'col_span' => 'lbl_half', 'default' => '14'), 'map_style' => array('type' => 'select', 'label' => __('Map Style', 'dfd'), 'help' => __('Select one of map styles', 'dfd'), 'default' => 'apple-maps-esque', 'options' => array('0' => __('Default', 'dfd'), 'apple-maps-esque' => __('Apple Maps-esque', 'dfd'), 'blue-water' => __('Blue water', 'dfd'), 'midnight-commander' => __('Midnight Commander', 'dfd'), 'pale-dawn' => __('Pale Dawn', 'dfd'), 'retro' => __('Retro', 'dfd'), 'subtle-grayscale' => __('Subtle Grayscale', 'dfd')), 'col_span' => 'lbl_third'), 'content' => array('type' => 'textarea', 'editor' => TRUE, 'label' => __('Additional information', 'dfd')), 'infowindow_content' => array('type' => 'textarea', 'editor' => true, 'label' => __('Infowindow content', 'dfd')), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'dfd'), 'help' => __('Select one of appear effects for block', 'dfd'), 'default' => 0, 'options' => crum_appear_effects(), 'col_span' => 'lbl_third'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'dfd'), 'help' => __('Separated by space', 'dfd'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'dfd'), 'help' => __('Separated by <b>;</b>', 'dfd'), 'col_span' => 'lbl_full'), 'unique_id' => array('type' => 'text', 'default' => uniqid('mvbtab_'), 'label' => __('Unique ID', 'dfd'), 'help' => __('Must be unique for every tab on the page.', 'dfd'), 'col_span' => 'lbl_third')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'dfd'), 'col_span' => 'lbl_full'), 'separator-icon' => array('type' => 'separator'), 'icon' => array('type' => 'icon', 'label' => __('Icon', 'dfd'), 'default' => 'moon-rocket', 'col_span' => 'lbl_half'), 'separator-animation' => array('type' => 'separator'), 'animation_dates_speed' => array('type' => 'select', 'label' => __('Dates Speed', 'dfd'), 'help' => __('Dates animation Speed', 'dfd'), 'default' => 'normal', 'options' => array('slow' => __('Slow', 'dfd'), 'normal' => __('Normal', 'dfd'), 'fast' => __('Fast', 'dfd')), 'col_span' => 'lbl_third'), 'animation_start_at' => array('type' => 'text', 'label' => __('Start at', 'dfd'), 'default' => 1, 'col_span' => 'lbl_third'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'dfd'), 'help' => __('Select one of appear effects for block', 'dfd'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'dfd'), 'help' => __('Separated by space', 'dfd'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'dfd'), 'help' => __('Separated by <b>;</b>', 'dfd'), 'col_span' => 'lbl_full')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb'), 'col_span' => 'lbl_half'), 'icon' => array('type' => 'icon', 'custom' => true, 'label' => __('Icon', 'mvb')), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('content' => array('type' => 'textarea', 'editor' => TRUE, 'label' => __('Content', 'mvb')), 'box_style' => array('type' => 'select', 'label' => __('Box style', 'mvb'), 'help' => __('Select box style', 'mvb'), 'default' => '', 'options' => mvb_boxed_content_styles(), 'col_span' => 'lbl_full'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full'), 'separator-heading' => array('type' => 'separator')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb')), 'categories' => array('type' => 'select_multi', 'title' => __('Select category', 'mvb'), 'label' => __('Categories', 'mvb'), 'callback' => 'mvb_get_select_options_multi', 'options' => 'category'), 'no_of_posts' => array('type' => 'text', 'default' => 5, 'label' => __('Number of posts', 'mvb'), 'col_span' => 'lbl_half'), 'show_meta' => array('type' => 'select', 'label' => __('Display the meta', 'mvb'), 'default' => 0, 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'dfd')), 'testimonial_user' => array('type' => 'repeater', 'button' => __('Add client', 'dfd'), 'label' => __('Client', 'dfd'), 'lbl_d' => __('Client Title', 'dfd'), 'fields' => array('main_title' => array('type' => 'text', 's_title' => TRUE, 'label' => __('Title', 'dfd'), 'col_span' => 'lbl_half'), 'client_job' => array('type' => 'text', 'label' => __('Client Job', 'dfd'), 'col_span' => 'lbl_half'), 'content' => array('type' => 'textarea', 'label' => __('Content', 'dfd')), 'separator-link' => array('type' => 'separator'), 'link_url' => array('type' => 'text', 'label' => __('Link (URL)', 'dfd'), 'col_span' => 'lbl_half'), 'page_id' => array('type' => 'mvb_dropdown', 'label' => __('Link to page', 'dfd'), 'what' => 'pages', 'default' => 0, 'col_span' => 'lbl_half'))), 'separator-css' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'dfd'), 'help' => __('Select one of appear effects for block', 'dfd'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_third'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'dfd'), 'help' => __('Separated by space', 'dfd'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'dfd'), 'help' => __('Separated by <b>;</b>', 'dfd'), 'col_span' => 'lbl_full'), 'unique_id' => array('type' => 'text', 'default' => uniqid('mvbtab_'), 'label' => __('Unique ID', 'dfd'), 'help' => __('Must be unique for every tab on the page.', 'dfd'), 'col_span' => 'lbl_half')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb')), 'separator' => array('type' => 'separator'), 'image' => array('type' => 'image', 'label' => __('Image', 'mvb'), 'col_span' => 'lbl_half'), 'title' => array('type' => 'text', 'label' => __('Title', 'mvb'), 'col_span' => 'lbl_half'), 'subtitle' => array('type' => 'text', 'label' => __('Sub title', 'mvb'), 'col_span' => 'lbl_half'), 'content' => array('type' => 'textarea', 'label' => __('Content', 'mvb')), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_third'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('button_text' => array('type' => 'text', 'label' => __('Button text', 'mvb'), 'col_span' => 'lbl_third'), 'icon' => array('type' => 'icon', 'label' => __('Icon', 'mvb'), 'col_span' => 'lbl_third'), 'new_tab' => array('type' => 'select', 'label' => __('Opens in new tab', 'mvb'), 'default' => 0, 'options' => mvb_yes_no(), 'col_span' => 'lbl_third'), 'separator' => array('type' => 'separator'), 'link_url' => array('type' => 'text', 'label' => __('Link (URL)', 'mvb'), 'col_span' => 'lbl_half'), 'page_id' => array('type' => 'mvb_dropdown', 'label' => __('Link to page', 'mvb'), 'what' => 'pages', 'default' => 0, 'col_span' => 'lbl_half'), 'separator2' => array('type' => 'separator'), 'content' => array('type' => 'textarea', 'editor' => false, 'label' => __('Content', 'mvb')), 'description' => array('type' => 'textarea', 'editor' => false, 'label' => __('Description', 'mvb')), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('image' => array('type' => 'image', 'label' => __('Image', 'mvb'), 'col_span' => 'lbl_half'), 'main_title' => array('type' => 'text', 'label' => __('Title', 'mvb'), 'col_span' => 'lbl_half'), 'separator-align' => array('type' => 'separator'), 'text_align' => array('type' => 'select', 'label' => __('Align', 'mvb'), 'options' => crum_get_align_ext(), 'col_span' => 'lbl_half'), 'content' => array('type' => 'textarea', 'editor' => TRUE, 'label' => __('Content', 'mvb')), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_half'), 'separator-crop' => array('type' => 'separator'), 'crop_height' => array('type' => 'text', 'label' => __('Crop Height', 'mvb'), 'help' => __('For 400px please write <b>400</b>'), 'default' => '', 'col_span' => 'lbl_half')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb')), 'presentation_box' => array('type' => 'repeater', 'button' => __('Add Pie Chart', 'mvb'), 'label' => __('Pie Chart', 'mvb'), 'lbl_d' => __('Pie Chart', 'mvb'), 'fields' => array('main_title' => array('type' => 'text', 's_title' => TRUE, 'label' => __('Title', 'mvb'), 'col_span' => 'lbl_half'), 'sub_title' => array('type' => 'text', 'label' => __('Subtitle', 'mvb'), 'col_span' => 'lbl_half'), 'separator' => array('type' => 'separator'), 'icon' => array('type' => 'icon', 'label' => __('Icon', 'mvb'), 'col_span' => 'lbl_third'), 'icon_color' => array('type' => 'colorpicker', 'label' => __('Icon text color', 'mvb'), 'default' => 'c0c0c0', 'col_span' => 'lbl_third'), 'separator2' => array('type' => 'separator'), 'item_size' => array('type' => 'select', 'label' => __('Select size', 'mvb'), 'options' => crum_get_chart_size(), 'col_span' => 'lbl_third'), 'percent' => array('type' => 'text', 'label' => __('Percent', 'mvb'), 'col_span' => 'lbl_third'), 'separator' => array('type' => 'separator'), 'chart_main' => array('type' => 'colorpicker', 'label' => __('Chart main color', 'mvb'), 'default' => '36bae2', 'col_span' => 'lbl_half'), 'chart_bg' => array('type' => 'colorpicker', 'label' => __('Chart secondary color', 'mvb'), 'default' => '8397a0', 'col_span' => 'lbl_half'), 'separator2' => array('type' => 'separator'), 'link_url' => array('type' => 'text', 'label' => __('Link (URL)', 'mvb'), 'col_span' => 'lbl_half'), 'page_id' => array('type' => 'mvb_dropdown', 'label' => __('Link to page', 'mvb'), 'what' => 'pages', 'default' => 0, 'col_span' => 'lbl_half'), 'content' => array('type' => 'textarea', 'label' => __('Content', 'mvb')), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full'))), 'separator' => array('type' => 'separator'), 'unique_id' => array('type' => 'text', 'default' => uniqid('mvbtab_'), 'label' => __('Unique ID', 'mvb'), 'help' => __('Must be unique for every module on the page.', 'mvb'), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb')), 'content' => array('type' => 'textarea', 'editor' => TRUE, 'label' => __('Content', 'mvb'), 'insert_image' => true), 'text_align' => array('type' => 'select', 'label' => __('Text align', 'mvb'), 'options' => crum_get_align_ext(), 'col_span' => 'lbl_half'), 'separator-dropcaps' => array('type' => 'separator'), 'dropcaps_enable' => array('type' => 'select', 'label' => __('Dropcaps Enable', 'mvb'), 'options' => mvb_yes_no(), 'col_span' => 'lbl_third'), 'dropcaps_type' => array('type' => 'select', 'label' => __('Dropcaps Type', 'mvb'), 'options' => self::dropcaps_types(), 'col_span' => 'lbl_third'), 'dropcaps_style' => array('type' => 'select', 'label' => __('Dropcaps Style', 'mvb'), 'options' => self::dropcaps_styles(), 'col_span' => 'lbl_third'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_half'), 'separator-heading' => array('type' => 'separator')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb'), 'col_span' => 'lbl_half'), 'categories' => array('type' => 'select_multi', 'title' => __('Select category', 'mvb'), 'label' => __('Categories', 'mvb'), 'callback' => 'mvb_get_select_options_multi', 'options' => 'category', 'col_span' => 'lbl_half'), 'separator' => array('type' => 'separator'), 'no_of_posts' => array('type' => 'text', 'default' => 1, 'label' => __('Number of posts', 'mvb'), 'col_span' => 'lbl_third'), 'link_label' => array('type' => 'text', 'label' => __('Label for row', 'mvb'), 'col_span' => 'lbl_third'), 'excerpt_length' => array('type' => 'text', 'default' => 20, 'label' => __('Length of excerpt', 'mvb'), 'help' => __('Number of words', 'mvb'), 'col_span' => 'lbl_third'), 'link_url' => array('type' => 'text', 'label' => __('Link (URL)', 'mvb'), 'col_span' => 'lbl_third'), 'page_id' => array('type' => 'mvb_dropdown', 'label' => __('Link to page', 'mvb'), 'what' => 'pages', 'default' => 0, 'col_span' => 'lbl_third'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'dfd')), 'categories' => array('type' => 'select_multi', 'title' => __('Select category', 'dfd'), 'label' => __('Categories', 'dfd'), 'callback' => 'mvb_get_select_options_multi', 'options' => 'category'), 'separator' => array('type' => 'separator'), 'description' => array('type' => 'textarea', 'label' => __('Description', 'dfd')), 'separator1' => array('type' => 'separator'), 'link_title' => array('type' => 'text', 'label' => __('Link title', 'dfd'), 'col_span' => 'lbl_half'), 'show_link' => array('type' => 'select', 'label' => __('Show link', 'dfd'), 'options' => array(0 => __('No', 'dfd'), 1 => __('Yes', 'dfd')), 'default' => 0, 'col_span' => 'lbl_half'), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'dfd'), 'help' => __('Select one of appear effects for block', 'dfd'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'dfd'), 'help' => __('Separated by space', 'dfd'), 'col_span' => 'lbl_third'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'dfd'), 'help' => __('Separated by <b>;</b>', 'dfd'), 'col_span' => 'lbl_full')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'dfd')), 'separator1' => array('type' => 'separator'), 'presentation_box' => array('type' => 'repeater', 'button' => __('Add box', 'dfd'), 'label' => __('Box', 'dfd'), 'lbl_d' => __('Box Title', 'dfd'), 'fields' => array('image' => array('type' => 'image', 'label' => __('Image', 'dfd'), 'col_span' => 'lbl_half'), 'main_title' => array('type' => 'text', 's_title' => TRUE, 'label' => __('Title', 'dfd'), 'col_span' => 'lbl_half'), 'sub_title' => array('type' => 'text', 'label' => __('Subtitle', 'dfd'), 'col_span' => 'lbl_half'), 'show_title' => array('type' => 'select', 'label' => __('Show title and subtitle in hover box', 'dfd'), 'help' => __('The title and subtitle will be displayed in hover-box if YES is selected and under the image if NO', 'dfd'), 'default' => 1, 'options' => mvb_yes_no(), 'col_span' => 'lbl_half'), 'separator1' => array('type' => 'separator'), 'content' => array('type' => 'textarea', 'label' => __('Content', 'dfd')), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'dfd'), 'help' => __('Select one of appear effects for block', 'dfd'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'))), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'dfd'), 'help' => __('Separated by space', 'dfd'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'dfd'), 'help' => __('Separated by <b>;</b>', 'dfd'), 'col_span' => 'lbl_full')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $the_fields = array('main_title' => array('type' => 'text', 'label' => __('Title', 'mvb')), 'separator1' => array('type' => 'separator'), 'multicolumn_text' => array('type' => 'repeater', 'button' => __('Add text box', 'mvb'), 'label' => __('Text Box', 'mvb'), 'lbl_d' => __('Text Box Title', 'mvb'), 'fields' => array('content' => array('type' => 'textarea', 'editor' => true, 'label' => __('Content', 'mvb'), 'insert_image' => true), 'text_align' => array('type' => 'select', 'label' => __('Text align', 'mvb'), 'options' => crum_get_align_ext(), 'col_span' => 'lbl_half'), 'text_columns' => array('type' => 'select', 'label' => __('Column span', 'mvb'), 'default' => '6', 'options' => mvb_get_col_span()), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full'))), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); $the_fields['multicolumn_text']['fields'] = apply_filters('mvb_fields_filter', $the_fields['multicolumn_text']['fields']); return $the_fields; }
/** * The shortcodes attributes with the field options * * @access private * @param array $atts * @return shortcode output */ public static function fields() { global $mvb_metro_factory; $_dividers = self::dividers(); $the_fields = array('divider' => array('type' => 'select', 'label' => __('Divider style', 'mvb'), 'help' => __('Select Divider style', 'mvb'), 'default' => 'thin', 'options' => $_dividers, 'col_span' => 'lbl_full'), 'separator-link' => array('type' => 'separator'), 'link_url' => array('type' => 'text', 'label' => __('Link (URL)', 'mvb'), 'help' => __('Set link href', 'mvb'), 'col_span' => 'lbl_full'), 'page_id' => array('type' => 'mvb_dropdown', 'label' => __('Link to page', 'mvb'), 'help' => __('Or select page', 'mvb'), 'what' => 'pages', 'default' => '0', 'col_span' => 'lbl_half'), 'link_icon' => array('type' => 'icon', 'label' => __('Link Icon', 'mvb'), 'col_span' => 'lbl_half'), 'link_text' => array('type' => 'text', 'label' => __('Link text', 'mvb'), 'default' => __('Read more')), 'separator-effects' => array('type' => 'separator'), 'effects' => array('type' => 'select', 'label' => __('Appear effects', 'mvb'), 'help' => __('Select one of appear effects for block', 'mvb'), 'default' => '0', 'options' => crum_appear_effects(), 'col_span' => 'lbl_half'), 'css' => array('type' => 'text', 'label' => __('Additional CSS classes', 'mvb'), 'help' => __('Separated by space', 'mvb'), 'col_span' => 'lbl_half'), 'css_styles' => array('type' => 'text', 'label' => __('Additional CSS styles', 'mvb'), 'help' => __('Separated by <b>;</b>', 'mvb'), 'col_span' => 'lbl_full')); $the_fields = apply_filters('mvb_fields_filter', $the_fields); return $the_fields; }