function mfn_vc_integrateWithVC()
 {
     // Article Box ----------------------------------------
     vc_map(array('base' => 'article_box', 'name' => __('Article Box', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-article_box', 'params' => array(array('param_name' => 'image', 'type' => 'attach_image', 'heading' => __('Image', 'mfn-opts'), 'description' => __('Featured Image', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'slogan', 'type' => 'textfield', 'heading' => __('Slogan', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'link', 'type' => 'textfield', 'heading' => __('Link', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'target', 'type' => 'dropdown', 'heading' => __('Target', 'mfn-opts'), 'admin_label' => false, 'value' => array('', '_blank')))));
     // Blog -----------------------------------------------
     vc_map(array('base' => 'blog', 'name' => __('Blog', 'mfn-opts'), 'description' => __('Recommended column size: 1/1', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-blog', 'params' => array(array('param_name' => 'count', 'type' => 'textfield', 'heading' => __('Count', 'mfn-opts'), 'description' => __('Number of posts to show', 'mfn-opts'), 'admin_label' => true, 'value' => 2), array('param_name' => 'category', 'type' => 'dropdown', 'heading' => __('Category', 'mfn-opts'), 'description' => __('Select posts category', 'mfn-opts'), 'admin_label' => true, 'value' => array_flip(mfn_get_categories('category'))), array('param_name' => 'style', 'type' => 'dropdown', 'heading' => __('Style', 'mfn-opts'), 'admin_label' => true, 'value' => array_flip(array('classic' => 'Classic', 'masonry' => 'Masonry', 'timeline' => 'Timeline'))), array('param_name' => 'more', 'type' => 'dropdown', 'heading' => __('Show Read More link', 'mfn-opts'), 'admin_label' => false, 'value' => array(__('No', 'mfn-opts') => 0, __('Yes', 'mfn-opts') => 1)), array('param_name' => 'pagination', 'type' => 'dropdown', 'heading' => __('Show Pagination', 'mfn-opts'), 'description' => __('<strong>Notice:</strong> Pagination will <strong>not</strong> work if you put item on Homepage of WordPress Multilangual Site.', 'mfn-opts'), 'admin_label' => false, 'value' => array(__('No', 'mfn-opts') => 0, __('Yes', 'mfn-opts') => 1)))));
     // Call to Action ----------------------------------------
     vc_map(array('base' => 'call_to_action', 'name' => __('Call to Action', 'mfn-opts'), 'description' => __('Recommended column size: 1/1', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-call_to_action', 'params' => array(array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'icon', 'type' => 'textfield', 'heading' => __('Icon', 'mfn-opts'), 'description' => __('Font Icon, eg. <strong>icon-lamp</strong>', 'mfn-opts'), 'admin_label' => true, 'value' => 'icon-lamp'), array('param_name' => 'content', 'type' => 'textarea', 'heading' => __('Content', 'mfn-opts'), 'admin_label' => true, 'value' => __('Insert your content here', 'mfn-opts')), array('param_name' => 'link', 'type' => 'textfield', 'heading' => __('Link', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'button_title', 'type' => 'textfield', 'heading' => __('Button Title', 'mfn-opts'), 'description' => __('Leave this field blank if you want Call to Action with Big Icon', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'class', 'type' => 'textfield', 'heading' => __('Class', 'mfn-opts'), 'description' => __('This option is useful when you want to use PrettyPhoto (prettyphoto)', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'target', 'type' => 'dropdown', 'heading' => __('Target', 'mfn-opts'), 'admin_label' => false, 'value' => array('', '_blank')))));
     // Chart ----------------------------------------------
     vc_map(array('base' => 'chart', 'name' => __('Chart', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-chart', 'params' => array(array('param_name' => 'percent', 'type' => 'textfield', 'heading' => __('Percent', 'mfn-opts'), 'desc' => __('Number between 0-100', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'label', 'type' => 'textfield', 'heading' => __('Chart Label', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'icon', 'type' => 'textfield', 'heading' => __('Icon', 'mfn-opts'), 'description' => __('Font Icon, eg. <strong>icon-lamp</strong>', 'mfn-opts'), 'admin_label' => true, 'value' => 'icon-lamp'), array('param_name' => 'image', 'type' => 'attach_image', 'heading' => __('Chart Image', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true))));
     // Clients ----------------------------------------------
     vc_map(array('base' => 'clients', 'name' => __('Clients', 'mfn-opts'), 'description' => __('Recommended column size: 1/1', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-clients', 'params' => array(array('param_name' => 'in_row', 'type' => 'textfield', 'heading' => __('Items in Row', 'mfn-opts'), 'desc' => __('Number of items in row. Recommended number: 3-6', 'mfn-opts'), 'admin_label' => true, 'value' => 6), array('param_name' => 'category', 'type' => 'textfield', 'heading' => __('Category', 'mfn-opts'), 'desc' => __('Client Category slug', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'style', 'type' => 'dropdown', 'heading' => __('Style', 'mfn-opts'), 'admin_label' => false, 'value' => array_flip(array('' => 'Default', 'tiles' => 'Tiles'))), array('param_name' => 'greyscale', 'type' => 'dropdown', 'heading' => __('Greyscale Images', 'mfn-opts'), 'value' => array(__('No', 'mfn-opts') => 0, __('Yes', 'mfn-opts') => 1)))));
     // Contact box ----------------------------------------
     vc_map(array('base' => 'contact_box', 'name' => __('Contact box', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-contact_box', 'params' => array(array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'address', 'type' => 'textarea', 'heading' => __('Address', 'mfn-opts'), 'admin_label' => true, 'value' => __('Insert your content here', 'mfn-opts')), array('param_name' => 'telephone', 'type' => 'textfield', 'heading' => __('Telephone', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'email', 'type' => 'textfield', 'heading' => __('Email', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'www', 'type' => 'textfield', 'heading' => __('WWW', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'image', 'type' => 'attach_image', 'heading' => __('Background Image', 'mfn-opts'), 'admin_label' => false))));
     // Countdown ----------------------------------------------
     vc_map(array('base' => 'countdown', 'name' => __('Countdown', 'mfn-opts'), 'description' => __('Recommended column size: 1/1', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-countdown', 'params' => array(array('param_name' => 'date', 'type' => 'textfield', 'heading' => __('Lunch Date', 'mfn-opts'), 'desc' => __('Format: 12/30/2014 12:00:00 month/day/year hour:minute:second', 'mfn-opts'), 'admin_label' => true, 'value' => '12/30/2014 12:00:00'), array('param_name' => 'timezone', 'type' => 'dropdown', 'heading' => __('UTC Timezone', 'mfn-opts'), 'admin_label' => true, 'value' => array_flip(mfna_utc())))));
     // Counter ----------------------------------------------
     vc_map(array('base' => 'counter', 'name' => __('Counter', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-counter', 'params' => array(array('param_name' => 'icon', 'type' => 'textfield', 'heading' => __('Icon', 'mfn-opts'), 'description' => __('Font Icon, eg. <strong>icon-lamp</strong>', 'mfn-opts'), 'admin_label' => true, 'value' => 'icon-lamp'), array('param_name' => 'color', 'type' => 'colorpicker', 'heading' => __('Icon Color', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'image', 'type' => 'attach_image', 'heading' => __('Chart Image', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'number', 'type' => 'textfield', 'heading' => __('Number', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'type', 'type' => 'dropdown', 'heading' => __('Style', 'mfn-opts'), 'admin_label' => false, 'value' => array_flip(array('horizontal' => 'Horizontal', 'vertical' => 'Vertical'))))));
     // Fancy Heading --------------------------------------
     vc_map(array('base' => 'fancy_heading', 'name' => __('Fancy Heading', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-fancy_heading', 'params' => array(array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'h1', 'type' => 'dropdown', 'heading' => __('Use H1 tag', 'mfn-opts'), 'description' => __('Wrap title into H1 instead of H2', 'mfn-opts'), 'admin_label' => false, 'value' => array(__('No', 'mfn-opts') => 0, __('Yes', 'mfn-opts') => 1)), array('param_name' => 'icon', 'type' => 'textfield', 'heading' => __('Icon', 'mfn-opts'), 'description' => __('Icon Style only. Font Icon, eg. <strong>icon-lamp</strong>', 'mfn-opts'), 'admin_label' => true, 'value' => 'icon-lamp'), array('param_name' => 'slogan', 'type' => 'textfield', 'heading' => __('Slogan', 'mfn-opts'), 'description' => __('Line Style only', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'content', 'type' => 'textarea', 'heading' => __('Content', 'mfn-opts'), 'admin_label' => true, 'value' => __('Insert your content here', 'mfn-opts')), array('param_name' => 'style', 'type' => 'dropdown', 'heading' => __('Style', 'mfn-opts'), 'description' => __('Some fields above work on selected styles.', 'mfn-opts'), 'admin_label' => false, 'value' => array_flip(array('icon' => 'Icon', 'line' => 'Line', 'arrows' => 'Arrows'))))));
     // Feature List --------------------------------------
     vc_map(array('base' => 'feature_list', 'name' => __('Feature List', 'mfn-opts'), 'description' => __('Recommended column size: 1/1', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-feature_list', 'params' => array(array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'description' => __('This field is used as an Item Label in admin panel only.', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'content', 'type' => 'textarea', 'heading' => __('Content', 'mfn-opts'), 'description' => __('Please use <strong>[item icon="" title="" link="" target=""]</strong> shortcodes.', 'mfn-opts'), 'admin_label' => false, 'value' => '[item icon="icon-lamp" title="" link="" target="" animate=""]'))));
     // Flat Box -------------------------------------------
     vc_map(array('base' => 'flat_box', 'name' => __('Flat Box', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-flat_box', 'params' => array(array('param_name' => 'icon', 'type' => 'textfield', 'heading' => __('Icon', 'mfn-opts'), 'description' => __('Font Icon, eg. <strong>icon-lamp</strong>', 'mfn-opts'), 'admin_label' => true, 'value' => 'icon-lamp'), array('param_name' => 'background', 'type' => 'colorpicker', 'heading' => __('Icon background', 'mfn-opts'), 'description' => __('Leave this field blank to use Theme Background.', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'image', 'type' => 'attach_image', 'heading' => __('Image', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'content', 'type' => 'textarea', 'heading' => __('Content', 'mfn-opts'), 'admin_label' => true, 'value' => __('Insert your content here', 'mfn-opts')), array('param_name' => 'link', 'type' => 'textfield', 'heading' => __('Link', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'target', 'type' => 'dropdown', 'heading' => __('Target', 'mfn-opts'), 'admin_label' => false, 'value' => array('', '_blank')))));
     // Hover Box -------------------------------------------
     vc_map(array('base' => 'hover_box', 'name' => __('Hover Box', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-hover_box', 'params' => array(array('param_name' => 'image', 'type' => 'attach_image', 'heading' => __('Image', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'image_hover', 'type' => 'attach_image', 'heading' => __('Hover Image', 'mfn-opts'), 'description' => __('Both images must have the same size.', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'link', 'type' => 'textfield', 'heading' => __('Link', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'target', 'type' => 'dropdown', 'heading' => __('Target', 'mfn-opts'), 'admin_label' => false, 'value' => array('', '_blank')))));
     // How it Works -------------------------------------------
     vc_map(array('base' => 'how_it_works', 'name' => __('How it Works', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-how_it_works', 'params' => array(array('param_name' => 'image', 'type' => 'attach_image', 'heading' => __('Background Image', 'mfn-opts'), 'description' => __('Recommended: Square Image with transparent background.', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'number', 'type' => 'textfield', 'heading' => __('Number', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'content', 'type' => 'textfield', 'heading' => __('Content', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'border', 'type' => 'dropdown', 'heading' => __('Line', 'mfn-opts'), 'description' => __('Show right connecting line', 'mfn-opts'), 'admin_label' => false, 'value' => array(__('No', 'mfn-opts') => 0, __('Yes', 'mfn-opts') => 1)), array('param_name' => 'link', 'type' => 'textfield', 'heading' => __('Link', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'target', 'type' => 'dropdown', 'heading' => __('Target', 'mfn-opts'), 'admin_label' => false, 'value' => array('', '_blank')))));
     // Icon Box -------------------------------------------
     vc_map(array('base' => 'icon_box', 'name' => __('Icon Box', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-icon_box', 'params' => array(array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'content', 'type' => 'textarea', 'heading' => __('Content', 'mfn-opts'), 'admin_label' => true, 'value' => __('Insert your content here', 'mfn-opts')), array('param_name' => 'icon', 'type' => 'textfield', 'heading' => __('Icon', 'mfn-opts'), 'description' => __('Font Icon, eg. <strong>icon-lamp</strong>', 'mfn-opts'), 'admin_label' => true, 'value' => 'icon-lamp'), array('param_name' => 'image', 'type' => 'attach_image', 'heading' => __('Image', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'icon_position', 'type' => 'dropdown', 'heading' => __('Icon Position', 'mfn-opts'), 'admin_label' => false, 'value' => array_flip(array('top' => 'Top', 'left' => 'Left'))), array('param_name' => 'border', 'type' => 'dropdown', 'heading' => __('Border', 'mfn-opts'), 'description' => __('Show right border', 'mfn-opts'), 'admin_label' => false, 'value' => array(__('No', 'mfn-opts') => 0, __('Yes', 'mfn-opts') => 1)), array('param_name' => 'link', 'type' => 'textfield', 'heading' => __('Link', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'target', 'type' => 'dropdown', 'heading' => __('Target', 'mfn-opts'), 'admin_label' => false, 'value' => array('', '_blank')), array('param_name' => 'class', 'type' => 'textfield', 'heading' => __('Custom CSS classes for link', 'mfn-opts'), 'description' => __('This option is useful when you want to use PrettyPhoto (prettyphoto) or Scroll (scroll).', 'mfn-opts'), 'admin_label' => true))));
     // Info Box -------------------------------------------
     vc_map(array('base' => 'info_box', 'name' => __('Info Box', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-info_box', 'params' => array(array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'content', 'type' => 'textarea', 'heading' => __('Content', 'mfn-opts'), 'admin_label' => false, 'value' => '<ul><li>list item 1</li><li>list item 2</li></ul>'), array('param_name' => 'image', 'type' => 'attach_image', 'heading' => __('Background Image', 'mfn-opts'), 'admin_label' => false))));
     // List -------------------------------------------
     vc_map(array('base' => 'list', 'name' => __('List', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-list', 'params' => array(array('param_name' => 'icon', 'type' => 'textfield', 'heading' => __('Icon', 'mfn-opts'), 'description' => __('Font Icon, eg. <strong>icon-lamp</strong>', 'mfn-opts'), 'admin_label' => true, 'value' => 'icon-lamp'), array('param_name' => 'image', 'type' => 'attach_image', 'heading' => __('Image', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'content', 'type' => 'textarea', 'heading' => __('Content', 'mfn-opts'), 'admin_label' => true, 'value' => __('Insert your content here', 'mfn-opts')), array('param_name' => 'link', 'type' => 'textfield', 'heading' => __('Link', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'target', 'type' => 'dropdown', 'heading' => __('Target', 'mfn-opts'), 'admin_label' => false, 'value' => array('', '_blank')), array('param_name' => 'style', 'type' => 'dropdown', 'heading' => __('Style', 'mfn-opts'), 'admin_label' => false, 'value' => array_flip(array(1 => 'With background', 2 => 'Transparent', 3 => 'Vertical', 4 => 'Ordered list'))))));
     // Map -------------------------------------------
     vc_map(array('base' => 'map', 'name' => __('Map', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-map', 'params' => array(array('param_name' => 'lat', 'type' => 'textfield', 'heading' => __('Google Maps Lat', 'mfn-opts'), 'description' => __('The map will appear only if this field is filled correctly.', 'mfn-opts'), 'admin_label' => true, 'value' => '-33.87'), array('param_name' => 'lng', 'type' => 'textfield', 'heading' => __('Google Maps Lng', 'mfn-opts'), 'description' => __('The map will appear only if this field is filled correctly.', 'mfn-opts'), 'admin_label' => true, 'value' => '151.20'), array('param_name' => 'zoom', 'type' => 'textfield', 'heading' => __('Zoom', 'mfn-opts'), 'admin_label' => true, 'value' => 13), array('param_name' => 'height', 'type' => 'textfield', 'heading' => __('Height', 'mfn-opts'), 'admin_label' => false, 'value' => 200), array('param_name' => 'type', 'type' => 'dropdown', 'heading' => __('Type', 'mfn-opts'), 'admin_label' => true, 'value' => array_flip(array('ROADMAP' => __('Map', 'mfn-opts'), 'SATELLITE' => __('Satellite', 'mfn-opts'), 'HYBRID' => __('Satellite + Map', 'mfn-opts'), 'TERRAIN' => __('Terrain', 'mfn-opts')))), array('param_name' => 'controls', 'type' => 'dropdown', 'heading' => __('Controls', 'mfn-opts'), 'admin_label' => false, 'value' => array_flip(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('param_name' => 'draggable', 'type' => 'dropdown', 'heading' => __('Draggable', 'mfn-opts'), 'admin_label' => false, 'value' => array_flip(array('' => __('Enable', 'mfn-opts'), 'disable' => __('Disable', 'mfn-opts'), 'disable-mobile' => __('Disable on Mobile', 'mfn-opts')))), array('param_name' => 'border', 'type' => 'dropdown', 'heading' => __('Border', 'mfn-opts'), 'admin_label' => false, 'value' => array_flip(array(0 => __('No', 'mfn-opts'), 1 => __('Yes', 'mfn-opts')))), array('param_name' => 'icon', 'type' => 'attach_image', 'heading' => __('Marker Icon [.png]', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'styles', 'type' => 'textarea', 'heading' => __('Styles', 'mfn-opts'), 'description' => __('You can get predefined styles from <a target="_blank" href="http://snazzymaps.com/">snazzymaps.com</a> or generate your own <a target="_blank" href="http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html">here</a>', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'latlng', 'type' => 'textarea', 'heading' => __('Additional Markers | Lat,Lng,IconURL', 'mfn-opts'), 'description' => __('Separate Lat,Lang,IconURL[optional] with <b>coma</b> [ , ]<br />Separate multiple Markers with <b>semicolon</b> [ ; ]<br />Example: <b>-33.88,151.21,ICON_URL;-33.89,151.22</b>', 'mfn-opts'), 'admin_label' => false))));
     // Opening Hours -------------------------------------------
     vc_map(array('base' => 'opening_hours', 'name' => __('Opening Hours', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-opening_hours', 'params' => array(array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'content', 'type' => 'textarea', 'heading' => __('Content', 'mfn-opts'), 'description' => __('HTML tags allowed', 'mfn-opts'), 'admin_label' => false, 'value' => '<ul><li><label>Monday - Saturday</label><span class="h">8am - 4pm</span></li></ul>'), array('param_name' => 'image', 'type' => 'attach_image', 'heading' => __('Background Image', 'mfn-opts'), 'admin_label' => false))));
     // Our Team -------------------------------------------
     vc_map(array('base' => 'our_team', 'name' => __('Our Team', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-our_team', 'params' => array(array('param_name' => 'heading', 'type' => 'textfield', 'heading' => __('Heading', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'image', 'type' => 'attach_image', 'heading' => __('Photo', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'description' => __('Will also be used as the image alternative text', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'subtitle', 'type' => 'textfield', 'heading' => __('Subtitle', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'phone', 'type' => 'textfield', 'heading' => __('Phone', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'content', 'type' => 'textarea', 'heading' => __('Content', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'email', 'type' => 'textfield', 'heading' => __('E-mail', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'facebook', 'type' => 'textfield', 'heading' => __('Facebook', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'twitter', 'type' => 'textfield', 'heading' => __('Twitter', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'linkedin', 'type' => 'textfield', 'heading' => __('LinkedIn', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'blockquote', 'type' => 'textarea', 'heading' => __('Blockquote', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'link', 'type' => 'textfield', 'heading' => __('Link', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'target', 'type' => 'dropdown', 'heading' => __('Target', 'mfn-opts'), 'admin_label' => false, 'value' => array('', '_blank')), array('param_name' => 'style', 'type' => 'dropdown', 'heading' => __('Style', 'mfn-opts'), 'admin_label' => false, 'value' => array_flip(array('circle' => 'Circle', 'vertical' => 'Vertical', 'horizontal' => 'Horizontal 	[1/2 and wider]'))))));
     // Our Team List -------------------------------------------
     vc_map(array('base' => 'our_team_list', 'name' => __('Our Team List', 'mfn-opts'), 'description' => __('Recommended column size: 1/1', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-our_team_list', 'params' => array(array('param_name' => 'image', 'type' => 'attach_image', 'heading' => __('Photo', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'description' => __('Will also be used as the image alternative text', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'subtitle', 'type' => 'textfield', 'heading' => __('Subtitle', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'phone', 'type' => 'textfield', 'heading' => __('Phone', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'content', 'type' => 'textarea', 'heading' => __('Content', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'blockquote', 'type' => 'textarea', 'heading' => __('Blockquote', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'email', 'type' => 'textfield', 'heading' => __('E-mail', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'facebook', 'type' => 'textfield', 'heading' => __('Facebook', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'twitter', 'type' => 'textfield', 'heading' => __('Twitter', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'linkedin', 'type' => 'textfield', 'heading' => __('LinkedIn', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'link', 'type' => 'textfield', 'heading' => __('Link', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'target', 'type' => 'dropdown', 'heading' => __('Target', 'mfn-opts'), 'admin_label' => false, 'value' => array('', '_blank')))));
     // Photo Box -------------------------------------------
     vc_map(array('base' => 'photo_box', 'name' => __('Photo Box', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-photo_box', 'params' => array(array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'image', 'type' => 'attach_image', 'heading' => __('Image', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'content', 'type' => 'textarea', 'heading' => __('Content', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'align', 'type' => 'dropdown', 'heading' => __('Align', 'mfn-opts'), 'admin_label' => false, 'value' => array_flip(array('' => 'Center', 'left' => 'Left', 'right' => 'Right'))), array('param_name' => 'link', 'type' => 'textfield', 'heading' => __('Link', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'target', 'type' => 'dropdown', 'heading' => __('Target', 'mfn-opts'), 'admin_label' => false, 'value' => array('', '_blank')))));
     // Portfolio -------------------------------------------
     vc_map(array('base' => 'portfolio', 'name' => __('Portfolio', 'mfn-opts'), 'description' => __('Recommended column size: 1/1', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-portfolio', 'params' => array(array('param_name' => 'count', 'type' => 'textfield', 'heading' => __('Count', 'mfn-opts'), 'admin_label' => true, 'value' => 2), array('param_name' => 'category', 'type' => 'textfield', 'heading' => __('Category', 'mfn-opts'), 'description' => __('Portfolio Category slug', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'style', 'type' => 'dropdown', 'heading' => __('Style', 'mfn-opts'), 'admin_label' => false, 'value' => array_flip(array('list' => 'List', 'flat' => 'Flat', 'grid' => 'Grid', 'masonry' => 'Masonry', 'masonry-flat' => 'Masonry Flat'))), array('param_name' => 'orderby', 'type' => 'dropdown', 'heading' => __('Order by', 'mfn-opts'), 'description' => __('Portfolio items order by column.', 'mfn-opts'), 'admin_label' => false, 'value' => array_flip(array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title', 'rand' => 'Random'))), array('param_name' => 'order', 'type' => 'dropdown', 'heading' => __('Order', 'mfn-opts'), 'description' => __('Portfolio items order.', 'mfn-opts'), 'admin_label' => false, 'value' => array_flip(array('ASC' => 'Ascending', 'DESC' => 'Descending'))), array('param_name' => 'pagination', 'type' => 'dropdown', 'heading' => __('Show pagination', 'mfn-opts'), 'description' => __('<strong>Notice:</strong> Pagination will <strong>not</strong> work if you put item on Homepage of WordPress Multilangual Site.', 'mfn-opts'), 'admin_label' => false, 'value' => array_flip(array('' => 'No', 1 => 'Yes'))))));
     // Pricing Item -------------------------------------------
     vc_map(array('base' => 'pricing_item', 'name' => __('Pricing Item', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-pricing_item', 'params' => array(array('param_name' => 'image', 'type' => 'attach_image', 'heading' => __('Image', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'price', 'type' => 'textfield', 'heading' => __('Price', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'currency', 'type' => 'textfield', 'heading' => __('Currency', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'period', 'type' => 'textfield', 'heading' => __('Period', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'subtitle', 'type' => 'textfield', 'heading' => __('Subtitle', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'content', 'type' => 'textarea', 'heading' => __('Content', 'mfn-opts'), 'description' => __('HTML tags allowed', 'mfn-opts'), 'admin_label' => false, 'value' => '<ul><li><strong>List</strong> item</li></ul>'), array('param_name' => 'link_title', 'type' => 'textfield', 'heading' => __('Link title', 'mfn-opts'), 'description' => __('Link will appear only if this field will be filled.', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'link', 'type' => 'textfield', 'heading' => __('Link', 'mfn-opts'), 'description' => __('Link will appear only if this field will be filled.', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'featured', 'type' => 'dropdown', 'heading' => __('Featured', 'mfn-opts'), 'admin_label' => false, 'value' => array(__('No', 'mfn-opts') => 0, __('Yes', 'mfn-opts') => 1)), array('param_name' => 'style', 'type' => 'dropdown', 'heading' => __('Style', 'mfn-opts'), 'admin_label' => false, 'value' => array_flip(array('box' => 'Box', 'label' => 'Table Label', 'table' => 'Table'))))));
     // Progress Bars -------------------------------------------
     vc_map(array('base' => 'progress_bars', 'name' => __('Progress Bars', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-progress_bars', 'params' => array(array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'content', 'type' => 'textarea', 'heading' => __('Content', 'mfn-opts'), 'description' => __('Please use <strong>[bar title="Title" value="50"]</strong> shortcodes here.', 'mfn-opts'), 'admin_label' => false, 'value' => '[bar title="Bar1" value="50"]' . "\n" . '[bar title="Bar2" value="60"]'))));
     // Promo Box -------------------------------------------
     vc_map(array('base' => 'promo_box', 'name' => __('Promo Box', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-promo_box', 'params' => array(array('param_name' => 'image', 'type' => 'attach_image', 'heading' => __('Image', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'content', 'type' => 'textarea', 'heading' => __('Content', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'btn_text', 'type' => 'textfield', 'heading' => __('Button Text', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'btn_link', 'type' => 'textfield', 'heading' => __('Button Link', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'target', 'type' => 'dropdown', 'heading' => __('Target', 'mfn-opts'), 'admin_label' => false, 'value' => array('', '_blank')), array('param_name' => 'position', 'type' => 'dropdown', 'heading' => __('Image position', 'mfn-opts'), 'admin_label' => false, 'value' => array_flip(array('left' => 'Left', 'right' => 'Right'))), array('param_name' => 'border', 'type' => 'dropdown', 'heading' => __('Border', 'mfn-opts'), 'admin_label' => false, 'description' => __('Show right border', 'mfn-opts'), 'value' => array(__('No', 'mfn-opts') => 0, __('Yes', 'mfn-opts') => 1)))));
     // Quick Fact -------------------------------------------
     vc_map(array('base' => 'quick_fact', 'name' => __('Quick Fact', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-quick_fact', 'params' => array(array('param_name' => 'heading', 'type' => 'textfield', 'heading' => __('Heading', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'number', 'type' => 'textfield', 'heading' => __('Number', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'content', 'type' => 'textarea', 'heading' => __('Content', 'mfn-opts'), 'admin_label' => false))));
     // Sliding Box -------------------------------------------
     vc_map(array('base' => 'sliding_box', 'name' => __('Sliding Box', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-sliding_box', 'params' => array(array('param_name' => 'image', 'type' => 'attach_image', 'heading' => __('Image', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'link', 'type' => 'textfield', 'heading' => __('Link', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'target', 'type' => 'dropdown', 'heading' => __('Target', 'mfn-opts'), 'admin_label' => false, 'value' => array('', '_blank')))));
     // Trailer Box -------------------------------------------
     vc_map(array('base' => 'trailer_box', 'name' => __('Trailer Box', 'mfn-opts'), 'category' => __('Muffin Builder', 'mfn-opts'), 'icon' => 'mfn-vc-icon-trailer_box', 'params' => array(array('param_name' => 'image', 'type' => 'attach_image', 'heading' => __('Image', 'mfn-opts'), 'admin_label' => false), array('param_name' => 'slogan', 'type' => 'textfield', 'heading' => __('Slogan', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'title', 'type' => 'textfield', 'heading' => __('Title', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'link', 'type' => 'textfield', 'heading' => __('Link', 'mfn-opts'), 'admin_label' => true), array('param_name' => 'target', 'type' => 'dropdown', 'heading' => __('Target', 'mfn-opts'), 'admin_label' => false, 'value' => array('', '_blank')))));
 }
/**
 * Options Page | Fields & Args
 */
function mfn_opts_setup()
{
    // Navigation elements
    $menu = array('general' => array('title' => __('Getting started', 'mfn-opts'), 'sections' => array('general', 'sidebars', 'blog', 'portfolio', 'sliders', 'under-construction')), 'elements' => array('title' => __('Layout', 'mfn-opts'), 'sections' => array('layout-general', 'layout-header', 'layout-menu', 'social', 'custom-css')), 'colors' => array('title' => __('Colors', 'mfn-opts'), 'sections' => array('colors-general', 'colors-header', 'colors-menu', 'content', 'colors-footer', 'colors-sliding-top', 'headings', 'colors-shortcodes')), 'font' => array('title' => __('Fonts', 'mfn-opts'), 'sections' => array('font-family', 'font-size')), 'translate' => array('title' => __('Translate', 'mfn-opts'), 'sections' => array('translate-general', 'translate-blog', 'translate-404')));
    $sections = array();
    // General ----------------------------------------------------------------------------------------
    // General -------------------------------------------
    $sections['general'] = array('title' => __('General', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'responsive', 'type' => 'switch', 'title' => __('Responsive', 'mfn-opts'), 'desc' => __('<b>Notice:</b> Responsive menu is working only with WordPress custom menu, please add one in Appearance > Menus and select it for Theme Locations section. <a href="http://en.support.wordpress.com/menus/" target="_blank">http://en.support.wordpress.com/menus/</a>', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'static-css', 'type' => 'switch', 'title' => __('Static CSS', 'mfn-opts'), 'sub_desc' => __('Use Static CSS files insted of Theme Options', 'mfn-opts'), 'desc' => __('For more info please see <a href="http://themes.muffingroup.com/betheme/documentation/#static-css" target="_blank">http://themes.muffingroup.com/betheme/documentation/#static-css</a>', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '0'), array('id' => 'nice-scroll', 'type' => 'switch', 'title' => __('Nice Scroll', 'mfn-opts'), 'desc' => __('Scrollbar with a very similar ios/mobile style', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'nice-scroll-speed', 'type' => 'text', 'title' => __('Nice Scroll Speed', 'mfn-opts'), 'sub_desc' => __('default: 40', 'mfn-opts'), 'desc' => __('px', 'mfn-opts'), 'class' => 'small-text', 'std' => '40'), array('id' => 'prev-next-nav', 'type' => 'switch', 'title' => __('Navigation Arrows', 'mfn-opts'), 'sub_desc' => __('Show Prev/Next Navigation', 'mfn-opts'), 'desc' => __('Blog, Portfolio, Shop', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'share', 'type' => 'switch', 'title' => __('Share Box', 'mfn-opts'), 'sub_desc' => __('Show Share Box', 'mfn-opts'), 'desc' => __('Blog, Portfolio, Shop', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'mfn-seo', 'type' => 'switch', 'title' => __('Use built-in SEO fields', 'mfn-opts'), 'desc' => __('Turn it OFF if you want to use external SEO plugin.', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'meta-description', 'type' => 'text', 'title' => __('Meta Description', 'mfn-opts'), 'desc' => __('These setting may be overridden for single posts & pages.', 'mfn-opts'), 'std' => get_bloginfo('description')), array('id' => 'meta-keywords', 'type' => 'text', 'title' => __('Meta Keywords', 'mfn-opts'), 'desc' => __('These setting may be overridden for single posts & pages.', 'mfn-opts')), array('id' => 'google-analytics', 'type' => 'textarea', 'title' => __('Google Analytics', 'mfn-opts'), 'sub_desc' => __('Paste your Google Analytics code here.', 'mfn-opts')), array('id' => 'builder-visibility', 'type' => 'select', 'title' => __('Builder Visibility', 'mfn-opts'), 'options' => array('' => '- Everyone -', 'publish_posts' => 'Author', 'edit_pages' => 'Editor', 'edit_theme_options' => 'Administrator')), array('id' => 'error404-icon', 'type' => 'icon', 'title' => __('Error 404 Icon', 'mfn-opts'), 'sub_desc' => __('Error 404 Page Icon', 'mfn-opts'), 'class' => 'small-text', 'std' => 'icon-traffic-cone')));
    // Sidebars --------------------------------------------
    $sections['sidebars'] = array('title' => __('Sidebars', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'sidebars', 'type' => 'multi_text', 'title' => __('Sidebars', 'mfn-opts'), 'sub_desc' => __('Manage custom sidebars', 'mfn-opts'), 'desc' => __('Sidebars can be used on pages, blog and portfolio', 'mfn-opts')), array('id' => 'single-page-layout', 'type' => 'radio_img', 'title' => __('Single Page Layout', 'mfn-opts'), 'sub_desc' => __('Use this option to force layout for all pages', 'mfn-opts'), 'desc' => __('This option can <strong>not</strong> be overriden and it is usefull for people who already have many pages and want to standardize their appearance.', 'mfn-opts'), 'options' => array('' => array('title' => 'Use Page Meta', 'img' => MFN_OPTIONS_URI . 'img/question.png'), 'no-sidebar' => array('title' => 'Full width without sidebar', 'img' => MFN_OPTIONS_URI . 'img/1col.png'), 'left-sidebar' => array('title' => 'Left Sidebar', 'img' => MFN_OPTIONS_URI . 'img/2cl.png'), 'right-sidebar' => array('title' => 'Right Sidebar', 'img' => MFN_OPTIONS_URI . 'img/2cr.png'))), array('id' => 'single-page-sidebar', 'type' => 'text', 'title' => __('Single Page Sidebar', 'mfn-opts'), 'sub_desc' => __('Use this option to force sidebar for all pages', 'mfn-opts'), 'desc' => __('Paste the name of one of the sidebars that you added in the "Sidebars" section.', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'single-layout', 'type' => 'radio_img', 'title' => __('Single Post Layout', 'mfn-opts'), 'sub_desc' => __('Use this option to force layout for all posts', 'mfn-opts'), 'desc' => __('This option can <strong>not</strong> be overriden and it is usefull for people who already have many posts and want to standardize their appearance.', 'mfn-opts'), 'options' => array('' => array('title' => 'Use Post Meta', 'img' => MFN_OPTIONS_URI . 'img/question.png'), 'no-sidebar' => array('title' => 'Full width without sidebar', 'img' => MFN_OPTIONS_URI . 'img/1col.png'), 'left-sidebar' => array('title' => 'Left Sidebar', 'img' => MFN_OPTIONS_URI . 'img/2cl.png'), 'right-sidebar' => array('title' => 'Right Sidebar', 'img' => MFN_OPTIONS_URI . 'img/2cr.png'))), array('id' => 'single-sidebar', 'type' => 'text', 'title' => __('Single Post Sidebar', 'mfn-opts'), 'sub_desc' => __('Use this option to force sidebar for all posts', 'mfn-opts'), 'desc' => __('Paste the name of one of the sidebars that you added in the "Sidebars" section.', 'mfn-opts'), 'class' => 'small-text')));
    // Blog --------------------------------------------
    $sections['blog'] = array('title' => __('Blog', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'blog-posts', 'type' => 'text', 'title' => __('Posts per page', 'mfn-opts'), 'sub_desc' => __('Number of posts per page', 'mfn-opts'), 'class' => 'small-text', 'std' => '4'), array('id' => 'blog-layout', 'type' => 'radio_img', 'title' => __('Layout', 'mfn-opts'), 'sub_desc' => __('Layout for Blog Page', 'mfn-opts'), 'options' => array('classic' => array('title' => 'Classic', 'img' => MFN_OPTIONS_URI . 'img/list.png'), 'masonry' => array('title' => 'Masonry', 'img' => MFN_OPTIONS_URI . 'img/masonry.png'), 'timeline' => array('title' => 'Timeline', 'img' => MFN_OPTIONS_URI . 'img/timeline.png')), 'std' => 'classic'), array('id' => 'blog-title', 'type' => 'switch', 'title' => __('Post Title', 'mfn-opts'), 'sub_desc' => __('Show Post Title', 'mfn-opts'), 'desc' => __('Single Post', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'blog-meta', 'type' => 'switch', 'title' => __('Post Meta', 'mfn-opts'), 'sub_desc' => __('Show Author, Date & Categories', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'blog-author', 'type' => 'switch', 'title' => __('Author Box', 'mfn-opts'), 'sub_desc' => __('Show Author Box', 'mfn-opts'), 'desc' => __('Single Post', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'blog-related', 'type' => 'switch', 'title' => __('Related Posts', 'mfn-opts'), 'sub_desc' => __('Show Related Posts', 'mfn-opts'), 'desc' => __('Single Post', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'pagination-show-all', 'type' => 'switch', 'title' => __('All pages in pagination', 'mfn-opts'), 'desc' => __('Show all of the pages instead of a short list of the pages near the current page.', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'blog-page', 'type' => 'pages_select', 'title' => __('Blog Page', 'mfn-opts'), 'sub_desc' => __('Assign page for blog', 'mfn-opts'), 'desc' => __('Use this option if you set <strong>Front page displays: Your latest posts</strong> in Settings > Reading', 'mfn-opts'), 'args' => array()), array('id' => 'blog-love-rand', 'type' => 'ajax', 'title' => __('Random Love', 'mfn-opts'), 'sub_desc' => __('Generate random number of loves', 'mfn-opts'))));
    // Portfolio --------------------------------------------
    $sections['portfolio'] = array('title' => __('Portfolio', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'portfolio-posts', 'type' => 'text', 'title' => __('Posts per page', 'mfn-opts'), 'sub_desc' => __('Number of portfolio posts per page', 'mfn-opts'), 'class' => 'small-text', 'std' => '8'), array('id' => 'portfolio-layout', 'type' => 'radio_img', 'title' => __('Layout', 'mfn-opts'), 'sub_desc' => __('Layout for portfolio items list', 'mfn-opts'), 'options' => array('list' => array('title' => 'List', 'img' => MFN_OPTIONS_URI . 'img/list.png'), 'flat' => array('title' => 'Flat', 'img' => MFN_OPTIONS_URI . 'img/flat.png'), 'grid' => array('title' => 'Grid', 'img' => MFN_OPTIONS_URI . 'img/grid.png'), 'masonry' => array('title' => 'Masonry', 'img' => MFN_OPTIONS_URI . 'img/masonry.png'), 'masonry-flat' => array('title' => 'Masonry Flat', 'img' => MFN_OPTIONS_URI . 'img/masonry-flat.png')), 'std' => 'grid'), array('id' => 'portfolio-orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'sub_desc' => __('Portfolio items order by column', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title', 'rand' => 'Random'), 'std' => 'date'), array('id' => 'portfolio-order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'sub_desc' => __('Portfolio items order', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'portfolio-external', 'type' => 'switch', 'title' => __('Link to Project Website', 'mfn-opts'), 'sub_desc' => __('Portfolio Image and Title link to Project Website', 'mfn-opts'), 'desc' => __('List', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '0'), array('id' => 'portfolio-in-same-term', 'type' => 'switch', 'title' => __('In same category', 'mfn-opts'), 'sub_desc' => __('Navigation arrows refer to projects in the same category', 'mfn-opts'), 'desc' => __('Portfolio Item', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '0'), array('id' => 'portfolio-related', 'type' => 'switch', 'title' => __('Related Projects', 'mfn-opts'), 'sub_desc' => __('Show Related Projects', 'mfn-opts'), 'desc' => __('Portfolio Item', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'portfolio-isotope', 'type' => 'switch', 'title' => __('jQuery filtering', 'mfn-opts'), 'desc' => __('When this option is enabled, portfolio looks great with all projects on single site, so please set "Posts per page" option to bigger number', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'portfolio-page', 'type' => 'pages_select', 'title' => __('Portfolio Page', 'mfn-opts'), 'sub_desc' => __('Assign page for portfolio', 'mfn-opts'), 'args' => array()), array('id' => 'portfolio-slug', 'type' => 'text', 'title' => __('Single item slug', 'mfn-opts'), 'sub_desc' => __('Link to single item', 'mfn-opts'), 'desc' => __('<b>Important:</b> Do not use characters not allowed in links. <br /><br />Must be different from the Portfolio site title chosen above, eg. "portfolio-item". After change please go to "Settings > Permalinks" and click "Save changes" button.', 'mfn-opts'), 'class' => 'small-text', 'std' => 'portfolio-item')));
    // Sliders --------------------------------------------
    $sections['sliders'] = array('title' => __('Sliders', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'slider-blog-timeout', 'type' => 'text', 'title' => __('Blog | Timeout', 'mfn-opts'), 'sub_desc' => __('Milliseconds between slide transitions.', 'mfn-opts'), 'desc' => __('<strong>0 to disable auto</strong> advance.<br />1000ms = 1s', 'mfn-opts'), 'class' => 'small-text', 'std' => '0'), array('id' => 'slider-clients-timeout', 'type' => 'text', 'title' => __('Clients | Timeout', 'mfn-opts'), 'sub_desc' => __('Milliseconds between slide transitions.', 'mfn-opts'), 'desc' => __('<strong>0 to disable auto</strong> advance.<br />1000ms = 1s', 'mfn-opts'), 'class' => 'small-text', 'std' => '0'), array('id' => 'slider-offer-timeout', 'type' => 'text', 'title' => __('Offer | Timeout', 'mfn-opts'), 'sub_desc' => __('Milliseconds between slide transitions.', 'mfn-opts'), 'desc' => __('<strong>0 to disable auto</strong> advance.<br />1000ms = 1s', 'mfn-opts'), 'class' => 'small-text', 'std' => '0'), array('id' => 'slider-portfolio-timeout', 'type' => 'text', 'title' => __('Portfolio | Timeout', 'mfn-opts'), 'sub_desc' => __('Milliseconds between slide transitions.', 'mfn-opts'), 'desc' => __('<strong>0 to disable auto</strong> advance.<br />1000ms = 1s', 'mfn-opts'), 'class' => 'small-text', 'std' => '0'), array('id' => 'slider-shop-timeout', 'type' => 'text', 'title' => __('Shop | Timeout', 'mfn-opts'), 'sub_desc' => __('Milliseconds between slide transitions.', 'mfn-opts'), 'desc' => __('<strong>0 to disable auto</strong> advance.<br />1000ms = 1s', 'mfn-opts'), 'class' => 'small-text', 'std' => '0'), array('id' => 'slider-slider-timeout', 'type' => 'text', 'title' => __('Slider | Timeout', 'mfn-opts'), 'sub_desc' => __('Milliseconds between slide transitions.', 'mfn-opts'), 'desc' => __('<strong>0 to disable auto</strong> advance.<br />1000ms = 1s', 'mfn-opts'), 'class' => 'small-text', 'std' => '0'), array('id' => 'slider-testimonials-timeout', 'type' => 'text', 'title' => __('Testimonials | Timeout', 'mfn-opts'), 'sub_desc' => __('Milliseconds between slide transitions.', 'mfn-opts'), 'desc' => __('<strong>0 to disable auto</strong> advance.<br />1000ms = 1s', 'mfn-opts'), 'class' => 'small-text', 'std' => '0')));
    // Under Construction --------------------------------------------
    $sections['under-construction'] = array('title' => __('Under Construction', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'construction', 'type' => 'switch', 'title' => __('Under Construction', 'mfn-opts'), 'desc' => __('Under Construction page will be visible for all NOT logged in users.', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '0'), array('id' => 'construction-title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'std' => 'Coming Soon'), array('id' => 'construction-text', 'type' => 'textarea', 'title' => __('Text', 'mfn-opts')), array('id' => 'construction-date', 'type' => 'text', 'title' => __('Launch Date', 'mfn-opts'), 'desc' => __('Format: 12/30/2014 12:00:00 month/day/year hour:minute:second', 'mfn-opts'), 'std' => '12/30/2014 12:00:00', 'class' => 'small-text'), array('id' => 'construction-offset', 'type' => 'select', 'title' => __('UTC Timezone', 'mfn-opts'), 'options' => mfna_utc(), 'std' => '0'), array('id' => 'construction-contact', 'type' => 'text', 'title' => __('Contact Form Shortcode', 'mfn-opts'), 'desc' => __('eg. [contact-form-7 id="000" title="Maintenance"]', 'mfn-opts'))));
    // Layout ----------------------------------------------------------------------------------------
    // General --------------------------------------------
    $sections['layout-general'] = array('title' => __('General', 'mfn-opts'), 'fields' => array(array('id' => 'logo-img', 'type' => 'upload', 'title' => __('Custom Logo', 'mfn-opts')), array('id' => 'retina-logo-img', 'type' => 'upload', 'title' => __('Retina Logo', 'mfn-opts'), 'desc' => __('Retina Logo should be 2x larger than Custom Logo (field is optional).', 'mfn-opts')), array('id' => 'logo-text', 'type' => 'text', 'title' => __('Text Logo', 'mfn-opts'), 'desc' => __('Use text instead of graphic logo.', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'favicon-img', 'type' => 'upload', 'title' => __('Custom Favicon', 'mfn-opts'), 'sub_desc' => __('Site favicon', 'mfn-opts'), 'desc' => __('Please use ICO format only.', 'mfn-opts')), array('id' => 'grid960', 'type' => 'switch', 'title' => __('Use 960px grid', 'mfn-opts'), 'desc' => __('Turn it ON if you prefer narrow 960px grid.', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '0'), array('id' => 'layout', 'type' => 'radio_img', 'title' => __('Layout', 'mfn-opts'), 'sub_desc' => __('Layout type', 'mfn-opts'), 'options' => array('full-width' => array('title' => 'Full width', 'img' => MFN_OPTIONS_URI . 'img/1col.png'), 'boxed' => array('title' => 'Boxed', 'img' => MFN_OPTIONS_URI . 'img/boxed.png')), 'std' => 'full-width'), array('id' => 'img-page-bg', 'type' => 'upload', 'title' => __('Background Image', 'mfn-opts'), 'desc' => __('This option can be used <strong>only</strong> with Layout: Boxed.', 'mfn-opts')), array('id' => 'position-page-bg', 'type' => 'select', 'title' => __('Background Image position', 'mfn-opts'), 'desc' => __('This option can be used only with your custom image selected above.', 'mfn-opts'), 'options' => mfna_bg_position(1), 'std' => 'center top no-repeat'), array('id' => 'sidebar-lines', 'type' => 'select', 'title' => __('Sidebar Lines', 'mfn-opts'), 'sub_desc' => __('Sidebar Lines Style', 'mfn-opts'), 'options' => array('' => 'Default', 'lines-boxed' => 'Sidebar Width', 'lines-hidden' => 'Hide Lines'), 'std' => ''), array('id' => 'footer-bg-img', 'type' => 'upload', 'title' => __('Footer Background Image', 'mfn-opts')), array('id' => 'footer-call-to-action', 'type' => 'text', 'title' => __('Footer Call To Action', 'mfn-opts')), array('id' => 'footer-copy', 'type' => 'text', 'title' => __('Footer Copyright', 'mfn-opts'), 'desc' => __('Leave this field blank to show a default copyright.', 'mfn-opts')), array('id' => 'footer-hide', 'type' => 'switch', 'title' => __('Footer Hide Copyright & Social Bar', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '0')));
    // Header --------------------------------------------
    $sections['layout-header'] = array('title' => __('Header', 'mfn-opts'), 'fields' => array(array('id' => 'header-style', 'type' => 'radio_img', 'title' => __('Header | Style', 'mfn-opts'), 'options' => mfna_header_style(), 'std' => 'modern', 'class' => 'wide'), array('id' => 'img-subheader-bg', 'type' => 'upload', 'title' => __('Header | Image', 'mfn-opts'), 'desc' => __('Pages without slider. May be overridden for single page.', 'mfn-opts')), array('id' => 'sticky-header', 'type' => 'switch', 'title' => __('Header | Sticky', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'minimalist-header', 'type' => 'switch', 'title' => __('Header | Minimalist', 'mfn-opts'), 'desc' => __('Header without background image & padding', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '0'), array('id' => 'sliding-top', 'type' => 'switch', 'title' => __('Sliding Top', 'mfn-opts'), 'desc' => __('Show Widgetized Sliding Top', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'header-search', 'type' => 'switch', 'title' => __('Search Icon', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'header-action-title', 'type' => 'text', 'title' => __('Action Button | Title', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'header-action-link', 'type' => 'text', 'title' => __('Action Button | Link', 'mfn-opts')), array('id' => 'header-banner', 'type' => 'textarea', 'title' => __('Banner', 'mfn-opts'), 'sub_desc' => __('Header Magazine Banner code 468px x 60px', 'mfn-opts'), 'desc' => '&lt;a href="#" target="_blank"&gt;&lt;img src="" alt="" /&gt;&lt;/a&gt;'), array('id' => 'show-breadcrumbs', 'type' => 'switch', 'title' => __('Subheader | Breadcrumbs', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'subheader-image', 'type' => 'upload', 'title' => __('Subheader | Image', 'mfn-opts')), array('id' => 'subheader-transparent', 'type' => 'switch', 'title' => __('Subheader | Transparent', 'mfn-opts'), 'desc' => __('Header Image will be visible through the Subheader.', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '0')));
    // Menu & Action Bar --------------------------------------------
    $sections['layout-menu'] = array('title' => __('Menu & Action Bar', 'mfn-opts'), 'fields' => array(array('id' => 'menu-style', 'type' => 'select', 'title' => __('Menu | Style', 'mfn-opts'), 'options' => array('' => 'Default', 'highlight' => 'Highlight')), array('id' => 'header-menu-right', 'type' => 'switch', 'title' => __('Menu | Align Right', 'mfn-opts'), 'desc' => __('Align Main Menu to right.<br />For some types of header only.', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '0'), array('id' => 'header-menu-text', 'type' => 'text', 'title' => __('Menu | Responsive Button text', 'mfn-opts'), 'desc' => __('This text will be used instead of the menu icon.', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'action-bar', 'type' => 'switch', 'title' => __('Action Bar', 'mfn-opts'), 'desc' => __('Show Action Bar above the header', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'header-slogan', 'type' => 'text', 'title' => __('Action Bar | Slogan', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'header-phone', 'type' => 'text', 'title' => __('Action Bar | Phone', 'mfn-opts'), 'sub_desc' => __('Phone number', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'header-phone-2', 'type' => 'text', 'title' => __('Action Bar | 2nd Phone', 'mfn-opts'), 'sub_desc' => __('Additional Phone number', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'header-email', 'type' => 'text', 'title' => __('Action Bar | Email', 'mfn-opts'), 'sub_desc' => __('Email address', 'mfn-opts'), 'class' => 'small-text')));
    // Social Icons --------------------------------------------
    $sections['social'] = array('title' => __('Social Icons', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'social-skype', 'type' => 'text', 'title' => __('Skype', 'mfn-opts'), 'sub_desc' => __('Type your Skype login here', 'mfn-opts'), 'desc' => __('You can use <strong>callto:</strong> or <strong>skype:</strong> prefix', 'mfn-opts')), array('id' => 'social-facebook', 'type' => 'text', 'title' => __('Facebook', 'mfn-opts'), 'sub_desc' => __('Type your Facebook link here', 'mfn-opts'), 'desc' => __('Icon won`t show if you leave this field blank', 'mfn-opts')), array('id' => 'social-googleplus', 'type' => 'text', 'title' => __('Google +', 'mfn-opts'), 'sub_desc' => __('Type your Google + link here', 'mfn-opts'), 'desc' => __('Icon won`t show if you leave this field blank', 'mfn-opts')), array('id' => 'social-twitter', 'type' => 'text', 'title' => __('Twitter', 'mfn-opts'), 'sub_desc' => __('Type your Twitter link here', 'mfn-opts'), 'desc' => __('Icon won`t show if you leave this field blank', 'mfn-opts')), array('id' => 'social-vimeo', 'type' => 'text', 'title' => __('Vimeo', 'mfn-opts'), 'sub_desc' => __('Type your Vimeo link here', 'mfn-opts'), 'desc' => __('Icon won`t show if you leave this field blank', 'mfn-opts')), array('id' => 'social-youtube', 'type' => 'text', 'title' => __('YouTube', 'mfn-opts'), 'sub_desc' => __('Type your YouTube link here', 'mfn-opts'), 'desc' => __('Icon won`t show if you leave this field blank', 'mfn-opts')), array('id' => 'social-flickr', 'type' => 'text', 'title' => __('Flickr', 'mfn-opts'), 'sub_desc' => __('Type your Flickr link here', 'mfn-opts'), 'desc' => __('Icon won`t show if you leave this field blank', 'mfn-opts')), array('id' => 'social-linkedin', 'type' => 'text', 'title' => __('LinkedIn', 'mfn-opts'), 'sub_desc' => __('Type your LinkedIn link here', 'mfn-opts'), 'desc' => __('Icon won`t show if you leave this field blank', 'mfn-opts')), array('id' => 'social-pinterest', 'type' => 'text', 'title' => __('Pinterest', 'mfn-opts'), 'sub_desc' => __('Type your Pinterest link here', 'mfn-opts'), 'desc' => __('Icon won`t show if you leave this field blank', 'mfn-opts')), array('id' => 'social-dribbble', 'type' => 'text', 'title' => __('Dribbble', 'mfn-opts'), 'sub_desc' => __('Type your Dribbble link here', 'mfn-opts'), 'desc' => __('Icon won`t show if you leave this field blank', 'mfn-opts')), array('id' => 'social-instagram', 'type' => 'text', 'title' => __('Instagram', 'mfn-opts'), 'sub_desc' => __('Type your Instagram link here', 'mfn-opts'), 'desc' => __('Icon won`t show if you leave this field blank', 'mfn-opts'))));
    // Custom CSS & JS --------------------------------------------
    $sections['custom-css'] = array('title' => __('Custom CSS & JS', 'mfn-opts'), 'fields' => array(array('id' => 'custom-css', 'type' => 'textarea', 'title' => __('Custom CSS', 'mfn-opts'), 'sub_desc' => __('Paste your custom CSS code here', 'mfn-opts')), array('id' => 'custom-js', 'type' => 'textarea', 'title' => __('Custom JS', 'mfn-opts'), 'sub_desc' => __('Paste your custom JS code here', 'mfn-opts'), 'desc' => __('To use jQuery code wrap it into <strong>jQuery(function($){ ... });</strong>', 'mfn-opts'))));
    // Colors ----------------------------------------------------------------------------------------
    // General --------------------------------------------
    $sections['colors-general'] = array('title' => __('General', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'skin', 'type' => 'select', 'title' => __('Theme Skin', 'mfn-opts'), 'sub_desc' => __('Choose one of the predefined styles or set your own colors', 'mfn-opts'), 'desc' => __('<strong>Important:</strong> Color options can be used only with the <strong>Custom Skin</strong>', 'mfn-opts'), 'options' => mfna_skin(), 'std' => 'custom'), array('id' => 'background-body', 'type' => 'color', 'title' => __('Body background', 'mfn-opts'), 'std' => '#FCFCFC'), array('id' => 'color-one', 'type' => 'color', 'title' => __('One Color', 'mfn-opts'), 'sub_desc' => __('One Color Skin Generator', 'mfn-opts'), 'desc' => __('<strong>Important:</strong> This option can be used only with the <strong>One Color Skin</strong>', 'mfn-opts'), 'std' => '#2991D6')));
    // Header --------------------------------------------
    $sections['colors-header'] = array('title' => __('Header', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'background-header', 'type' => 'color', 'title' => __('Header background', 'mfn-opts'), 'std' => '#000119'), array('id' => 'background-top-left', 'type' => 'color', 'title' => __('Top Bar Left background', 'mfn-opts'), 'desc' => __('This is also Mobile Header & Top Bar Background for some Header Styles', 'mfn-opts'), 'std' => '#ffffff'), array('id' => 'background-top-middle', 'type' => 'color', 'title' => __('Top Bar Middle background', 'mfn-opts'), 'std' => '#e3e3e3'), array('id' => 'background-top-right', 'type' => 'color', 'title' => __('Top Bar Right | background', 'mfn-opts'), 'std' => '#f5f5f5'), array('id' => 'color-top-right-a', 'type' => 'color', 'title' => __('Top Bar Right | Icon color', 'mfn-opts'), 'std' => '#444444'), array('id' => 'background-search', 'type' => 'color', 'title' => __('Search Bar background', 'mfn-opts'), 'std' => '#2991D6'), array('id' => 'background-subheader', 'type' => 'color', 'title' => __('Subheader background', 'mfn-opts'), 'std' => '#F7F7F7'), array('id' => 'color-subheader', 'type' => 'color', 'title' => __('Subheader Title color', 'mfn-opts'), 'std' => '#888888')));
    // Menu --------------------------------------------
    $sections['colors-menu'] = array('title' => __('Menu & Action Bar', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'color-menu-a', 'type' => 'color', 'title' => __('Menu | Link color', 'mfn-opts'), 'std' => '#444444'), array('id' => 'color-menu-a-active', 'type' => 'color', 'title' => __('Menu | Active Link color', 'mfn-opts'), 'desc' => __('This is also Active Link Border', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-menu-a-active', 'type' => 'color', 'title' => __('Menu | Active Link background', 'mfn-opts'), 'desc' => __('For Highlight Menu style', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-submenu', 'type' => 'color', 'title' => __('Submenu | background', 'mfn-opts'), 'std' => '#F2F2F2'), array('id' => 'color-submenu-a', 'type' => 'color', 'title' => __('Submenu | Link color', 'mfn-opts'), 'std' => '#5f5f5f'), array('id' => 'color-submenu-a-hover', 'type' => 'color', 'title' => __('Submenu | Hover Link color', 'mfn-opts'), 'std' => '#2e2e2e'), array('id' => 'background-action-bar', 'type' => 'color', 'title' => __('Action Bar | background', 'mfn-opts'), 'desc' => __('For some Header Styles', 'mfn-opts'), 'std' => '#2C2C2C')));
    // Content --------------------------------------------
    $sections['content'] = array('title' => __('Content', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'color-theme', 'type' => 'color', 'title' => __('Theme color', 'mfn-opts'), 'sub_desc' => __('Color for highlighted buttons, icons and other small elements', 'mfn-opts'), 'desc' => __('You can use <strong>.themecolor</strong> and <strong>.themebg</strong> classes in your content', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-text', 'type' => 'color', 'title' => __('Text color', 'mfn-opts'), 'sub_desc' => __('Content text color', 'mfn-opts'), 'std' => '#626262'), array('id' => 'color-a', 'type' => 'color', 'title' => __('Link color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-a-hover', 'type' => 'color', 'title' => __('Link Hover color', 'mfn-opts'), 'std' => '#2275ac'), array('id' => 'color-fancy-link', 'type' => 'color', 'title' => __('Fancy Link | color', 'mfn-opts'), 'desc' => __('For some link styles only', 'mfn-opts'), 'std' => '#656B6F'), array('id' => 'background-fancy-link', 'type' => 'color', 'title' => __('Fancy Link | background', 'mfn-opts'), 'desc' => __('For some link styles only', 'mfn-opts'), 'std' => '#2195de'), array('id' => 'color-fancy-link-hover', 'type' => 'color', 'title' => __('Fancy Link | Hover color', 'mfn-opts'), 'desc' => __('For some link styles only', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-fancy-link-hover', 'type' => 'color', 'title' => __('Fancy Link | Hover background', 'mfn-opts'), 'desc' => __('For some link styles only', 'mfn-opts'), 'std' => '#2275ac'), array('id' => 'color-note', 'type' => 'color', 'title' => __('Note color', 'mfn-opts'), 'desc' => __('eg. Blog meta, Filters, Widgets meta', 'mfn-opts'), 'std' => '#a8a8a8'), array('id' => 'color-list', 'type' => 'color', 'title' => __('List color', 'mfn-opts'), 'desc' => __('Ordered, Unordered & Bullets List', 'mfn-opts'), 'std' => '#737E86'), array('id' => 'background-highlight', 'type' => 'color', 'title' => __('Dropcap & Highlight background', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-highlight-section', 'type' => 'color', 'title' => __('Highlight Section background', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-hr', 'type' => 'color', 'title' => __('Hr color', 'mfn-opts'), 'desc' => __('Dots, ZigZag & Theme Color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-button', 'type' => 'color', 'title' => __('Button background', 'mfn-opts'), 'std' => '#f7f7f7'), array('id' => 'color-button', 'type' => 'color', 'title' => __('Button color', 'mfn-opts'), 'std' => '#747474')));
    // Footer --------------------------------------------
    $sections['colors-footer'] = array('title' => __('Footer', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'color-footer-theme', 'type' => 'color', 'title' => __('Footer Theme color', 'mfn-opts'), 'sub_desc' => __('Color for icons and other small elements', 'mfn-opts'), 'desc' => __('You can use <strong>.themecolor</strong> and <strong>.themebg</strong> classes in your footer content', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-footer', 'type' => 'color', 'title' => __('Footer background', 'mfn-opts'), 'std' => '#545454'), array('id' => 'color-footer', 'type' => 'color', 'title' => __('Footer Text color', 'mfn-opts'), 'std' => '#cccccc'), array('id' => 'color-footer-a', 'type' => 'color', 'title' => __('Footer Link color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-footer-a-hover', 'type' => 'color', 'title' => __('Footer Hover Link color', 'mfn-opts'), 'std' => '#2275ac'), array('id' => 'color-footer-heading', 'type' => 'color', 'title' => __('Footer Heading color', 'mfn-opts'), 'std' => '#ffffff'), array('id' => 'color-footer-note', 'type' => 'color', 'title' => __('Footer Note color', 'mfn-opts'), 'desc' => __('eg. Widget meta', 'mfn-opts'), 'std' => '#a8a8a8')));
    // Sliding Top --------------------------------------------
    $sections['colors-sliding-top'] = array('title' => __('Sliding Top', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'color-sliding-top-theme', 'type' => 'color', 'title' => __('Sliding Top Theme color', 'mfn-opts'), 'sub_desc' => __('Color for icons and other small elements', 'mfn-opts'), 'desc' => __('You can use <strong>.themecolor</strong> and <strong>.themebg</strong> classes in your Sliding Top content', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-sliding-top', 'type' => 'color', 'title' => __('Sliding Top background', 'mfn-opts'), 'std' => '#545454'), array('id' => 'color-sliding-top', 'type' => 'color', 'title' => __('Sliding Top Text color', 'mfn-opts'), 'std' => '#cccccc'), array('id' => 'color-sliding-top-a', 'type' => 'color', 'title' => __('Sliding Top Link color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-sliding-top-a-hover', 'type' => 'color', 'title' => __('Sliding Top Hover Link color', 'mfn-opts'), 'std' => '#2275ac'), array('id' => 'color-sliding-top-heading', 'type' => 'color', 'title' => __('Sliding Top Heading color', 'mfn-opts'), 'std' => '#ffffff'), array('id' => 'color-sliding-top-note', 'type' => 'color', 'title' => __('Sliding Top Note color', 'mfn-opts'), 'desc' => __('eg. Widget meta', 'mfn-opts'), 'std' => '#a8a8a8')));
    // Headings --------------------------------------------
    $sections['headings'] = array('title' => __('Headings', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'color-h1', 'type' => 'color', 'title' => __('Heading H1 color', 'mfn-opts'), 'std' => '#444444'), array('id' => 'color-h2', 'type' => 'color', 'title' => __('Heading H2 color', 'mfn-opts'), 'std' => '#444444'), array('id' => 'color-h3', 'type' => 'color', 'title' => __('Heading H3 color', 'mfn-opts'), 'std' => '#444444'), array('id' => 'color-h4', 'type' => 'color', 'title' => __('Heading H4 color', 'mfn-opts'), 'std' => '#444444'), array('id' => 'color-h5', 'type' => 'color', 'title' => __('Heading H5 color', 'mfn-opts'), 'std' => '#444444'), array('id' => 'color-h6', 'type' => 'color', 'title' => __('Heading H6 color', 'mfn-opts'), 'std' => '#444444')));
    // Shortcodes --------------------------------------------
    $sections['colors-shortcodes'] = array('title' => __('Shortcodes', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'color-tab-title', 'type' => 'color', 'title' => __('Accordion & Tabs Active Title color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-blockquote', 'type' => 'color', 'title' => __('Blockquote color', 'mfn-opts'), 'std' => '#444444'), array('id' => 'color-contentlink', 'type' => 'color', 'title' => __('Content Link Icon color', 'mfn-opts'), 'desc' => __('This is also Content Link Hover Border', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-counter', 'type' => 'color', 'title' => __('Counter Icon color', 'mfn-opts'), 'desc' => __('This is also Chart Progress color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-getintouch', 'type' => 'color', 'title' => __('Get in Touch background', 'mfn-opts'), 'desc' => __('This is also Infobox background', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-iconbar', 'type' => 'color', 'title' => __('Icon Bar Hover Icon color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-iconbox', 'type' => 'color', 'title' => __('Icon Box Icon color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-imageframe-link', 'type' => 'color', 'title' => __('Image Frame Link background', 'mfn-opts'), 'desc' => __('This is also Image Frame Hover Link color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-imageframe-link', 'type' => 'color', 'title' => __('Image Frame Link color', 'mfn-opts'), 'desc' => __('This is also Image Frame Hover Link background', 'mfn-opts'), 'std' => '#ffffff'), array('id' => 'color-list-icon', 'type' => 'color', 'title' => __('List & Feature List Icon color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-pricing-price', 'type' => 'color', 'title' => __('Pricing Box Price color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-pricing-featured', 'type' => 'color', 'title' => __('Pricing Box Featured background', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-progressbar', 'type' => 'color', 'title' => __('Progress Bar background', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-quickfact-number', 'type' => 'color', 'title' => __('Quick Fact Number color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-slidingbox-title', 'type' => 'color', 'title' => __('Sliding Box Title background', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-trailer-subtitle', 'type' => 'color', 'title' => __('Trailer Box Subtitle background', 'mfn-opts'), 'std' => '#2991d6')));
    // Font Family --------------------------------------------
    $sections['font-family'] = array('title' => __('Font Family', 'mfn-opts'), 'fields' => array(array('id' => 'font-content', 'type' => 'font_select', 'title' => __('Content Font', 'mfn-opts'), 'sub_desc' => __('All theme texts except headings and menu', 'mfn-opts'), 'std' => 'Roboto'), array('id' => 'font-menu', 'type' => 'font_select', 'title' => __('Main Menu Font', 'mfn-opts'), 'sub_desc' => __('Header menu', 'mfn-opts'), 'std' => 'Roboto'), array('id' => 'font-headings', 'type' => 'font_select', 'title' => __('Big Headings Font', 'mfn-opts'), 'sub_desc' => __('H1, H2, H3 & H4 headings', 'mfn-opts'), 'std' => 'Patua One'), array('id' => 'font-headings-small', 'type' => 'font_select', 'title' => __('Small Headings Font', 'mfn-opts'), 'sub_desc' => __('H5 & H6 headings', 'mfn-opts'), 'std' => 'Roboto'), array('id' => 'font-subset', 'type' => 'text', 'title' => __('Google Font Subset', 'mfn-opts'), 'sub_desc' => __('Specify which subsets should be downloaded. Multiple subsets should be separated with coma (,)', 'mfn-opts'), 'desc' => __('Some of the fonts in the Google Font Directory support multiple scripts (like Latin and Cyrillic for example). In order to specify which subsets should be downloaded the subset parameter should be appended to the URL. For a complete list of available fonts and font subsets please see <a href="http://www.google.com/webfonts" target="_blank">Google Web Fonts</a>.', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'font-custom', 'type' => 'text', 'title' => __('Custom Font | Name', 'mfn-opts'), 'sub_desc' => __('Please use only letters or spaces, eg. Patua One', 'mfn-opts'), 'desc' => __('Name for Custom Font uploaded below.<br/><br/>Font will show on fonts list after click the Save Changes button.', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'font-custom-woff', 'type' => 'upload', 'title' => __('Custom Font | .woff', 'mfn-opts'), 'class' => ''), array('id' => 'font-custom-ttf', 'type' => 'upload', 'title' => __('Custom Font | .ttf', 'mfn-opts'), 'class' => ''), array('id' => 'font-custom-svg', 'type' => 'upload', 'title' => __('Custom Font | .svg', 'mfn-opts'), 'class' => ''), array('id' => 'font-custom-eot', 'type' => 'upload', 'title' => __('Custom Font | .eot', 'mfn-opts'), 'class' => ''), array('id' => 'font-custom2', 'type' => 'text', 'title' => __('Custom Font 2 | Name', 'mfn-opts'), 'sub_desc' => __('Please use only letters or spaces, eg. Patua One', 'mfn-opts'), 'desc' => __('Name for Custom Font 2 uploaded below.<br/><br/>Font will show on fonts list after click the Save Changes button.', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'font-custom2-woff', 'type' => 'upload', 'title' => __('Custom Font 2 | .woff', 'mfn-opts'), 'class' => ''), array('id' => 'font-custom2-ttf', 'type' => 'upload', 'title' => __('Custom Font 2 | .ttf', 'mfn-opts'), 'class' => ''), array('id' => 'font-custom2-svg', 'type' => 'upload', 'title' => __('Custom Font 2 | .svg', 'mfn-opts'), 'class' => ''), array('id' => 'font-custom2-eot', 'type' => 'upload', 'title' => __('Custom Font 2 | .eot', 'mfn-opts'), 'class' => '')));
    // Content Font Size --------------------------------------------
    $sections['font-size'] = array('title' => __('Font Size', 'mfn-opts'), 'fields' => array(array('id' => 'font-size-content', 'type' => 'sliderbar', 'title' => __('Content', 'mfn-opts'), 'sub_desc' => __('This font size will be used for all theme texts.', 'mfn-opts'), 'std' => '13'), array('id' => 'font-size-menu', 'type' => 'sliderbar', 'title' => __('Main menu', 'mfn-opts'), 'sub_desc' => __('This font size will be used for top level only.', 'mfn-opts'), 'std' => '14'), array('id' => 'font-size-h1', 'type' => 'sliderbar', 'title' => __('Heading H1', 'mfn-opts'), 'sub_desc' => __('Subpages header title.', 'mfn-opts'), 'std' => '25'), array('id' => 'font-size-h2', 'type' => 'sliderbar', 'title' => __('Heading H2', 'mfn-opts'), 'std' => '30'), array('id' => 'font-size-h3', 'type' => 'sliderbar', 'title' => __('Heading H3', 'mfn-opts'), 'std' => '25'), array('id' => 'font-size-h4', 'type' => 'sliderbar', 'title' => __('Heading H4', 'mfn-opts'), 'std' => '21'), array('id' => 'font-size-h5', 'type' => 'sliderbar', 'title' => __('Heading H5', 'mfn-opts'), 'std' => '15'), array('id' => 'font-size-h6', 'type' => 'sliderbar', 'title' => __('Heading H6', 'mfn-opts'), 'std' => '13')));
    // Translate / General --------------------------------------------
    $sections['translate-general'] = array('title' => __('General', 'mfn-opts'), 'fields' => array(array('id' => 'translate', 'type' => 'switch', 'title' => __('Enable Translate', 'mfn-opts'), 'desc' => __('Turn it off if you want to use .mo .po files for more complex translation.', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'translate-search-placeholder', 'type' => 'text', 'title' => __('Search Placeholder', 'mfn-opts'), 'desc' => __('Search Form', 'mfn-opts'), 'std' => 'Enter your search', 'class' => 'small-text'), array('id' => 'translate-home', 'type' => 'text', 'title' => __('Home', 'mfn-opts'), 'desc' => __('Breadcrumbs', 'mfn-opts'), 'std' => 'Home', 'class' => 'small-text'), array('id' => 'translate-prev', 'type' => 'text', 'title' => __('Prev page', 'mfn-opts'), 'desc' => __('Pagination', 'mfn-opts'), 'std' => 'Prev page', 'class' => 'small-text'), array('id' => 'translate-next', 'type' => 'text', 'title' => __('Next page', 'mfn-opts'), 'desc' => __('Pagination', 'mfn-opts'), 'std' => 'Next page', 'class' => 'small-text'), array('id' => 'translate-wpml-no', 'type' => 'text', 'title' => __('No translations available for this page', 'mfn-opts'), 'desc' => __('WPML Languages Menu', 'mfn-opts'), 'std' => 'No translations available for this page'), array('id' => 'translate-days', 'type' => 'text', 'title' => __('Days', 'mfn-opts'), 'desc' => __('Countdown', 'mfn-opts'), 'std' => 'days', 'class' => 'small-text'), array('id' => 'translate-hours', 'type' => 'text', 'title' => __('Hours', 'mfn-opts'), 'desc' => __('Countdown', 'mfn-opts'), 'std' => 'hours', 'class' => 'small-text'), array('id' => 'translate-minutes', 'type' => 'text', 'title' => __('Minutes', 'mfn-opts'), 'desc' => __('Countdown', 'mfn-opts'), 'std' => 'minutes', 'class' => 'small-text'), array('id' => 'translate-seconds', 'type' => 'text', 'title' => __('Seconds', 'mfn-opts'), 'desc' => __('Countdown', 'mfn-opts'), 'std' => 'seconds', 'class' => 'small-text')));
    // Translate / Blog  --------------------------------------------
    $sections['translate-blog'] = array('title' => __('Blog & Portfolio', 'mfn-opts'), 'fields' => array(array('id' => 'translate-filter', 'type' => 'text', 'title' => __('Filter by', 'mfn-opts'), 'desc' => __('Blog, Portfolio', 'mfn-opts'), 'std' => 'Filter by', 'class' => 'small-text'), array('id' => 'translate-tags', 'type' => 'text', 'title' => __('Tags', 'mfn-opts'), 'desc' => __('Blog', 'mfn-opts'), 'std' => 'Tags', 'class' => 'small-text'), array('id' => 'translate-authors', 'type' => 'text', 'title' => __('Authors', 'mfn-opts'), 'desc' => __('Blog', 'mfn-opts'), 'std' => 'Authors', 'class' => 'small-text'), array('id' => 'translate-all', 'type' => 'text', 'title' => __('Show all', 'mfn-opts'), 'desc' => __('Blog, Portfolio', 'mfn-opts'), 'std' => 'Show all', 'class' => 'small-text'), array('id' => 'translate-published', 'type' => 'text', 'title' => __('Published by', 'mfn-opts'), 'desc' => __('Blog, Portfolio', 'mfn-opts'), 'std' => 'Published by', 'class' => 'small-text'), array('id' => 'translate-at', 'type' => 'text', 'title' => __('at', 'mfn-opts'), 'sub_desc' => __('Published by .. at', 'mfn-opts'), 'desc' => __('Blog, Portfolio', 'mfn-opts'), 'std' => 'at', 'class' => 'small-text'), array('id' => 'translate-categories', 'type' => 'text', 'title' => __('Categories', 'mfn-opts'), 'desc' => __('Blog, Portfolio', 'mfn-opts'), 'std' => 'Categories', 'class' => 'small-text'), array('id' => 'translate-tags', 'type' => 'text', 'title' => __('Tags', 'mfn-opts'), 'desc' => __('Blog', 'mfn-opts'), 'std' => 'Tags', 'class' => 'small-text'), array('id' => 'translate-readmore', 'type' => 'text', 'title' => __('Read more', 'mfn-opts'), 'desc' => __('Blog, Portfolio', 'mfn-opts'), 'std' => 'Read more', 'class' => 'small-text'), array('id' => 'translate-like', 'type' => 'text', 'title' => __('Do you like it?', 'mfn-opts'), 'desc' => __('Blog', 'mfn-opts'), 'std' => 'Do you like it?', 'class' => 'small-text'), array('id' => 'translate-related', 'type' => 'text', 'title' => __('Related projects', 'mfn-opts'), 'desc' => __('Blog, Portfolio', 'mfn-opts'), 'std' => 'Related posts', 'class' => 'small-text'), array('id' => 'translate-client', 'type' => 'text', 'title' => __('Client', 'mfn-opts'), 'desc' => __('Portfolio', 'mfn-opts'), 'std' => 'Client', 'class' => 'small-text'), array('id' => 'translate-date', 'type' => 'text', 'title' => __('Date', 'mfn-opts'), 'desc' => __('Portfolio', 'mfn-opts'), 'std' => 'Date', 'class' => 'small-text'), array('id' => 'translate-website', 'type' => 'text', 'title' => __('Website', 'mfn-opts'), 'desc' => __('Portfolio', 'mfn-opts'), 'std' => 'Website', 'class' => 'small-text'), array('id' => 'translate-view', 'type' => 'text', 'title' => __('View website', 'mfn-opts'), 'desc' => __('Portfolio', 'mfn-opts'), 'std' => 'View website', 'class' => 'small-text'), array('id' => 'translate-task', 'type' => 'text', 'title' => __('Task', 'mfn-opts'), 'desc' => __('Portfolio', 'mfn-opts'), 'std' => 'Task', 'class' => 'small-text')));
    // Translate Error 404 --------------------------------------------
    $sections['translate-404'] = array('title' => __('Error 404', 'mfn-opts'), 'fields' => array(array('id' => 'translate-404-title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'desc' => __('Ooops... Error 404', 'mfn-opts'), 'std' => 'Ooops... Error 404'), array('id' => 'translate-404-subtitle', 'type' => 'text', 'title' => __('Subtitle', 'mfn-opts'), 'desc' => __('We are sorry, but the page you are looking for does not exist.', 'mfn-opts'), 'std' => 'We are sorry, but the page you are looking for does not exist.'), array('id' => 'translate-404-text', 'type' => 'text', 'title' => __('Text', 'mfn-opts'), 'desc' => __('Please check entered address and try again or', 'mfn-opts'), 'std' => 'Please check entered address and try again or '), array('id' => 'translate-404-btn', 'type' => 'text', 'title' => __('Button', 'mfn-opts'), 'sub_desc' => __('Go To Homepage button', 'mfn-opts'), 'std' => 'go to homepage', 'class' => 'small-text')));
    global $MFN_Options;
    $MFN_Options = new MFN_Options($menu, $sections);
}
 /**
  * GET Fields | Item
  * 
  * If param $item is empty return items list
  *
  * @param string $item Item name
  * @return array
  */
 function mfn_get_fields_item($item = false)
 {
     $items = array('placeholder' => array('type' => 'placeholder', 'title' => __('- Placeholder', 'mfn-opts'), 'size' => '1/4', 'cat' => 'other', 'fields' => array(array('id' => 'info', 'type' => 'info', 'desc' => __('This is Muffin Builder Placeholder.', 'nhp-opts')))), 'accordion' => array('type' => 'accordion', 'title' => __('Accordion', 'mfn-opts'), 'size' => '1/4', 'cat' => 'blocks', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'tabs', 'type' => 'tabs', 'title' => __('Accordion', 'mfn-opts'), 'sub_desc' => __('Manage accordion tabs.', 'mfn-opts'), 'desc' => __('You can use Drag & Drop to set the order.', 'mfn-opts')), array('id' => 'open1st', 'type' => 'select', 'title' => __('Open First', 'mfn-opts'), 'desc' => __('Open first tab at start.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'openAll', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open All', 'mfn-opts'), 'desc' => __('Open all tabs at start', 'mfn-opts')), array('id' => 'style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'options' => array('accordion' => 'Accordion', 'toggle' => 'Toggle')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'article_box' => array('type' => 'article_box', 'title' => __('Article box', 'mfn-opts'), 'size' => '1/3', 'cat' => 'boxes', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts'), 'sub_desc' => __('Featured Image', 'mfn-opts')), array('id' => 'slogan', 'type' => 'text', 'title' => __('Slogan', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'blockquote' => array('type' => 'blockquote', 'title' => __('Blockquote', 'mfn-opts'), 'size' => '1/4', 'cat' => 'typography', 'fields' => array(array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'sub_desc' => __('Blockquote content.', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts')), array('id' => 'author', 'type' => 'text', 'title' => __('Author', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts'), 'sub_desc' => __('Link to company page.', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'sub_desc' => __('Open link in a new window.', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'blog' => array('type' => 'blog', 'title' => __('Blog', 'mfn-opts'), 'size' => '1/1', 'cat' => 'loops', 'fields' => array(array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'sub_desc' => __('Number of posts to show', 'mfn-opts'), 'std' => '2', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('category'), 'sub_desc' => __('Select posts category', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'style', 'type' => 'select', 'title' => 'Style', 'options' => array('classic' => 'Classic', 'masonry' => 'Masonry Blog Style', 'masonry tiles' => 'Masonry Tiles', 'photo' => 'Photo (Horizontal Images)', 'timeline' => 'Timeline'), 'std' => 'classic'), array('id' => 'columns', 'type' => 'select', 'title' => __('Columns', 'mfn-opts'), 'desc' => __('Default: 3. Recommended: 2-4. Too large value may crash the layout.<br />This option works in style: <b>Masonry</b>', 'mfn-opts'), 'options' => array(2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6), 'std' => 3), array('id' => 'greyscale', 'type' => 'select', 'title' => 'Greyscale Images', 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'more', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Show | Read More link', 'mfn-opts'), 'std' => 1), array('id' => 'filters', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Show | Filters', 'mfn-opts'), 'desc' => __('This option works in <b>Category: All</b> and <b>Style: Masonry</b>', 'mfn-opts')), array('id' => 'pagination', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Show | Pagination', 'mfn-opts'), 'desc' => __('<strong>Notice:</strong> Pagination will <strong>not</strong> work if you put item on Homepage of WordPress Multilangual Site.', 'mfn-opts')), array('id' => 'load_more', 'type' => 'select', 'title' => __('Show | Load More button', 'mfn-opts'), 'sub_desc' => __('Show Ajax Load More button', 'mfn-opts'), 'desc' => __('This will replace all sliders on list with featured images. Please also <b>show Pagination</b>', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'blog_news' => array('type' => 'blog_news', 'title' => __('Blog News', 'mfn-opts'), 'size' => '1/4', 'cat' => 'loops', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'sub_desc' => __('Number of posts to show', 'mfn-opts'), 'desc' => __('We <strong>do not</strong> recommend use more than 10 items, because site will be working slowly.', 'mfn-opts'), 'std' => '5', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('category'), 'sub_desc' => __('Select posts category', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Button Link', 'mfn-opts')), array('id' => 'link_title', 'type' => 'text', 'title' => __('Button Title', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'blog_slider' => array('type' => 'blog_slider', 'title' => __('Blog Slider', 'mfn-opts'), 'size' => '1/4', 'cat' => 'loops', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'sub_desc' => __('Number of posts to show', 'mfn-opts'), 'desc' => __('We <strong>do not</strong> recommend use more than 10 items, because site will be working slowly.', 'mfn-opts'), 'std' => '5', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('category'), 'sub_desc' => __('Select posts category', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'more', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Show Read More button', 'mfn-opts'), 'std' => 1), array('id' => 'style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'options' => array('' => 'Default', 'flat' => 'Flat')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'call_to_action' => array('type' => 'call_to_action', 'title' => __('Call to Action', 'mfn-opts'), 'size' => '1/1', 'cat' => 'elements', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'button_title', 'type' => 'text', 'title' => __('Button Title', 'mfn-opts'), 'desc' => __('Leave this field blank if you want Call to Action with Big Icon', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'class', 'type' => 'text', 'title' => __('Class', 'mfn-opts'), 'desc' => __('This option is useful when you want to use PrettyPhoto (prettyphoto)', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'chart' => array('type' => 'chart', 'title' => __('Chart', 'mfn-opts'), 'size' => '1/4', 'cat' => 'boxes', 'fields' => array(array('id' => 'percent', 'type' => 'text', 'title' => __('Percent', 'mfn-opts'), 'desc' => __('Number between 0-100', 'mfn-opts')), array('id' => 'label', 'type' => 'text', 'title' => __('Chart Label', 'mfn-opts')), array('id' => 'icon', 'type' => 'icon', 'title' => __('Chart Icon', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'image', 'type' => 'upload', 'title' => __('Chart Image', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'clients' => array('type' => 'clients', 'title' => __('Clients', 'mfn-opts'), 'size' => '1/1', 'cat' => 'loops', 'fields' => array(array('id' => 'in_row', 'type' => 'text', 'title' => __('Items in Row', 'mfn-opts'), 'sub_desc' => __('Number of items in row', 'mfn-opts'), 'desc' => __('Recommended number: 3-6', 'mfn-opts'), 'std' => 6, 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('client-types'), 'sub_desc' => __('Select the client post category.', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title', 'rand' => 'Random'), 'std' => 'menu_order'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'ASC'), array('id' => 'style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'options' => array('' => 'Default', 'tiles' => 'Tiles')), array('id' => 'greyscale', 'type' => 'select', 'title' => 'Greyscale Images', 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'clients_slider' => array('type' => 'clients_slider', 'title' => __('Clients Slider', 'mfn-opts'), 'size' => '1/1', 'cat' => 'loops', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('client-types'), 'sub_desc' => __('Select the client post category.', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title', 'rand' => 'Random'), 'std' => 'menu_order'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'ASC'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'code' => array('type' => 'code', 'title' => __('Code', 'mfn-opts'), 'size' => '1/4', 'cat' => 'other', 'fields' => array(array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'class' => 'full-width'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'column' => array('type' => 'column', 'title' => __('Column', 'mfn-opts'), 'size' => '1/4', 'cat' => 'typography', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'desc' => __('This field is used as an Item Label in admin panel only', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Shortcodes and HTML tags allowed.', 'mfn-opts'), 'class' => 'full-width sc', 'validate' => 'html'), array('id' => 'align', 'type' => 'select', 'title' => __('Text Align', 'mfn-opts'), 'options' => array('' => 'None', 'left' => 'Left', 'right' => 'Right', 'center' => 'Center', 'justify' => 'Justify')), array('id' => 'column_bg', 'type' => 'text', 'title' => __('Background', 'mfn-opts'), 'desc' => __('Use color name ( gray ) or hex ( #808080 )', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'margin_bottom', 'type' => 'select', 'title' => __('Margin | Bottom', 'mfn-opts'), 'desc' => __('<b>Overrides</b> section settings', 'mfn-opts'), 'options' => array('' => '-- Default --', '0px' => '0px', '10px' => '10px', '20px' => '20px', '30px' => '30px', '40px' => '40px', '50px' => '50px')), array('id' => 'padding', 'type' => 'text', 'title' => __('Padding', 'mfn-opts'), 'desc' => __('Use value with <b>px</b> or <b>%</b>. Example: <b>20px</b> or <b>20px 10px 20px 10px</b> or <b>20px 1%</b>', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'contact_box' => array('type' => 'contact_box', 'title' => __('Contact Box', 'mfn-opts'), 'size' => '1/4', 'cat' => 'elements', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'address', 'type' => 'textarea', 'title' => __('Address', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts')), array('id' => 'telephone', 'type' => 'text', 'title' => __('Phone', 'mfn-opts'), 'desc' => __('Phone number', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'telephone_2', 'type' => 'text', 'title' => __('Phone 2nd', 'mfn-opts'), 'desc' => __('Additional Phone number', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'fax', 'type' => 'text', 'title' => __('Fax', 'mfn-opts'), 'desc' => __('Fax number', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'email', 'type' => 'text', 'title' => __('Email', 'mfn-opts')), array('id' => 'www', 'type' => 'text', 'title' => __('WWW', 'mfn-opts')), array('id' => 'image', 'type' => 'upload', 'title' => __('Background Image', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'content' => array('type' => 'content', 'title' => __('Content WP', 'mfn-opts'), 'size' => '1/4', 'cat' => 'typography', 'fields' => array(array('id' => 'info', 'type' => 'info', 'desc' => __('Adding this Item will show Content from WordPress Editor above Page Options. You can use it only once per page. Please also remember to turn on "Hide The Content" option.', 'nhp-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'countdown' => array('type' => 'countdown', 'title' => __('Countdown', 'mfn-opts'), 'size' => '1/1', 'cat' => 'boxes', 'fields' => array(array('id' => 'date', 'type' => 'text', 'title' => __('Lunch Date', 'mfn-opts'), 'desc' => __('Format: 12/30/2014 12:00:00 month/day/year hour:minute:second', 'mfn-opts'), 'std' => '12/30/2014 12:00:00', 'class' => 'small-text'), array('id' => 'timezone', 'type' => 'select', 'title' => __('UTC Timezone', 'mfn-opts'), 'options' => mfna_utc(), 'std' => '0'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'counter' => array('type' => 'counter', 'title' => __('Counter', 'mfn-opts'), 'size' => '1/4', 'cat' => 'boxes', 'fields' => array(array('id' => 'icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'std' => ' icon-lamp', 'class' => 'small-text'), array('id' => 'color', 'type' => 'text', 'title' => __('Icon Color', 'mfn-opts'), 'desc' => __('Use color name ( blue ) or hex ( #2991D6 )', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts'), 'desc' => __('If you upload an image, icon will not show', 'mfn-opts')), array('id' => 'number', 'type' => 'text', 'title' => __('Number', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'prefix', 'type' => 'text', 'title' => __('Prefix', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'label', 'type' => 'text', 'title' => __('Postfix', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'type', 'type' => 'select', 'options' => array('horizontal' => 'Horizontal', 'vertical' => 'Vertical'), 'title' => __('Style', 'mfn-opts'), 'desc' => __('Vertical style works only for column widths: 1/4, 1/3 & 1/2', 'mfn-opts'), 'std' => 'vertical'), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'divider' => array('type' => 'divider', 'title' => __('Divider', 'mfn-opts'), 'size' => '1/1', 'cat' => 'other', 'fields' => array(array('id' => 'height', 'type' => 'text', 'title' => __('Divider height', 'mfn-opts'), 'desc' => __('px', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'style', 'type' => 'select', 'options' => array('default' => 'Default', 'dots' => 'Dots', 'zigzag' => 'ZigZag'), 'title' => __('Style', 'mfn-opts')), array('id' => 'line', 'type' => 'select', 'options' => array('default' => 'Default', 'narrow' => 'Narrow', 'wide' => 'Wide', '' => 'No Line'), 'title' => __('Line', 'mfn-opts'), 'desc' => __('This option can be used <strong>only</strong> with Style: Default.', 'mfn-opts')), array('id' => 'themecolor', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Theme Color', 'mfn-opts'), 'desc' => __('This option can be used <strong>only</strong> with Style: Default.', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'fancy_divider' => array('type' => 'fancy_divider', 'title' => __('Fancy Divider', 'mfn-opts'), 'size' => '1/1', 'cat' => 'elements', 'fields' => array(array('id' => 'info', 'type' => 'info', 'desc' => __('This item can only be used on pages <strong>Without Sidebar</strong>', 'nhp-opts')), array('id' => 'style', 'type' => 'select', 'options' => array('circle up' => 'Circle Up', 'circle down' => 'Circle Down', 'curve up' => 'Curve Up', 'curve down' => 'Curve Down', 'stamp' => 'Stamp', 'triangle up' => 'Triangle Up', 'triangle down' => 'Triangle Down'), 'title' => __('Style', 'mfn-opts')), array('id' => 'color_top', 'type' => 'text', 'title' => __('Color Top', 'mfn-opts'), 'desc' => __('Use color name ( blue ) or hex ( #2991D6 )', 'mfn-opts'), 'class' => 'small-text', 'std' => ''), array('id' => 'color_bottom', 'type' => 'text', 'title' => __('Color Bottom', 'mfn-opts'), 'desc' => __('Use color name ( blue ) or hex ( #2991D6 )', 'mfn-opts'), 'class' => 'small-text', 'std' => ''), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'fancy_heading' => array('type' => 'fancy_heading', 'title' => __('Fancy Heading', 'mfn-opts'), 'size' => '1/1', 'cat' => 'elements', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'h1', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Use H1 tag', 'mfn-opts'), 'desc' => __('Wrap title into H1 instead of H2', 'mfn-opts')), array('id' => 'icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'sub_desc' => __('Icon Style only', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'slogan', 'type' => 'text', 'title' => __('Slogan', 'mfn-opts'), 'sub_desc' => __('Line Style only', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc', 'validate' => 'html'), array('id' => 'style', 'type' => 'select', 'options' => array('icon' => 'Icon', 'line' => 'Line', 'arrows' => 'Arrows'), 'title' => __('Style', 'mfn-opts'), 'desc' => __('Some fields above work on selected styles.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'faq' => array('type' => 'faq', 'title' => __('FAQ', 'mfn-opts'), 'size' => '1/4', 'cat' => 'blocks', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'tabs', 'type' => 'tabs', 'title' => __('FAQ', 'mfn-opts'), 'sub_desc' => __('Manage FAQ tabs.', 'mfn-opts'), 'desc' => __('You can use Drag & Drop to set the order', 'mfn-opts')), array('id' => 'open1st', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open First', 'mfn-opts'), 'desc' => __('Open first tab at start', 'mfn-opts')), array('id' => 'openAll', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open All', 'mfn-opts'), 'desc' => __('Open all tabs at start', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'feature_list' => array('type' => 'feature_list', 'title' => __('Feature List', 'mfn-opts'), 'size' => '1/1', 'cat' => 'elements', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'desc' => __('This field is used as an Item Label in admin panel only', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Please use <strong>[item icon="" title="" link="" target=""]</strong> shortcodes.', 'mfn-opts'), 'std' => '[item icon="icon-lamp" title="" link="" target="" animate=""]'), array('id' => 'columns', 'type' => 'select', 'title' => __('Columns', 'mfn-opts'), 'desc' => __('Default: 4. Recommended: 2-4. Too large value may crash the layout.', 'mfn-opts'), 'options' => array(2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6), 'std' => 4), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'flat_box' => array('type' => 'flat_box', 'title' => __('Flat Box', 'mfn-opts'), 'size' => '1/4', 'cat' => 'boxes', 'fields' => array(array('id' => 'icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'std' => 'icon-lamp', 'class' => 'small-text'), array('id' => 'background', 'type' => 'text', 'title' => __('Icon background', 'mfn-opts'), 'desc' => __('Use color name ( blue ) or hex ( #2991D6 ). Leave this field blank to use Theme Background', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc', 'validate' => 'html'), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'hover_box' => array('type' => 'hover_box', 'title' => __('Hover Box', 'mfn-opts'), 'size' => '1/4', 'cat' => 'boxes', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'image_hover', 'type' => 'upload', 'title' => __('Image | Hover', 'mfn-opts'), 'desc' => __('Both images <b>must have the same size</b>', 'mfn-opts')), array('id' => 'alt', 'type' => 'text', 'title' => __('Image | Alt', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Link | Target', 'mfn-opts'), 'options' => array(0 => 'Default | _self', 1 => 'New Tab or Window | _blank', 'prettyphoto' => 'prettyPhoto (images and embed video)')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'hover_color' => array('type' => 'hover_color', 'title' => __('Hover Color', 'mfn-opts'), 'size' => '1/4', 'cat' => 'elements', 'fields' => array(array('id' => 'background', 'type' => 'text', 'title' => __('Background color', 'mfn-opts'), 'desc' => __('Use color name ( blue ) or hex ( #2991D6 )', 'mfn-opts'), 'class' => 'small-text', 'std' => '#2991D6'), array('id' => 'background_hover', 'type' => 'text', 'title' => __('Hover Background color', 'mfn-opts'), 'desc' => __('Use color name ( blue ) or hex ( #2991D6 )', 'mfn-opts'), 'class' => 'small-text', 'std' => '#2991D6'), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc'), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'class', 'type' => 'text', 'title' => __('Link | Class', 'mfn-opts'), 'desc' => __('This option is useful when you want to use PrettyPhoto (prettyphoto)', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'how_it_works' => array('type' => 'how_it_works', 'title' => __('How It Works', 'mfn-opts'), 'size' => '1/4', 'cat' => 'elements', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Background Image', 'mfn-opts'), 'desc' => __('Recommended: Square Image with transparent background.', 'mfn-opts')), array('id' => 'number', 'type' => 'text', 'title' => __('Number', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc', 'validate' => 'html'), array('id' => 'border', 'type' => 'select', 'title' => __('Line', 'mfn-opts'), 'sub_desc' => __('Show right connecting line', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'icon_box' => array('type' => 'icon_box', 'title' => __('Icon Box', 'mfn-opts'), 'size' => '1/4', 'cat' => 'boxes', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc'), array('id' => 'icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'std' => 'icon-lamp', 'class' => 'small-text'), array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'icon_position', 'type' => 'select', 'options' => array('left' => 'Left', 'top' => 'Top'), 'title' => __('Icon Position', 'mfn-opts'), 'desc' => __('Left position works only for column widths: 1/4, 1/3 & 1/2', 'mfn-opts'), 'std' => 'top'), array('id' => 'border', 'type' => 'select', 'title' => __('Border', 'mfn-opts'), 'sub_desc' => __('Show right border', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'class', 'type' => 'text', 'title' => __('Custom CSS classes for link', 'mfn-opts'), 'desc' => __('This option is useful when you want to use PrettyPhoto (prettyphoto) or Scroll (scroll).', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'image' => array('type' => 'image', 'title' => __('Image', 'mfn-opts'), 'size' => '1/4', 'cat' => 'typography', 'fields' => array(array('id' => 'src', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'width', 'type' => 'text', 'title' => __('Image Width', 'mfn-opts'), 'desc' => __('px<br />optional', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'height', 'type' => 'text', 'title' => __('Image Height', 'mfn-opts'), 'desc' => __('px<br />optional', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'border', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Border', 'mfn-opts'), 'sub_desc' => __('Show Image Border', 'mfn-opts')), array('id' => 'align', 'type' => 'select', 'title' => __('Align', 'mfn-opts'), 'desc' => __('If you want image to be <b>resized</b> to column width use <b>align none</b>', 'mfn-opts'), 'options' => array('' => 'None', 'left' => 'Left', 'right' => 'Right', 'center' => 'Center')), array('id' => 'margin', 'type' => 'text', 'title' => __('Margin Top', 'mfn-opts'), 'desc' => __('px', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'alt', 'type' => 'text', 'title' => __('Alternate Text', 'mfn-opts')), array('id' => 'caption', 'type' => 'text', 'title' => __('Caption', 'mfn-opts')), array('id' => 'link_image', 'type' => 'upload', 'title' => __('Zoomed image', 'mfn-opts'), 'desc' => __('This image will be opened in lightbox.', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts'), 'desc' => __('This link will work only if you leave the above "Zoomed image" field empty.', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'greyscale', 'type' => 'select', 'title' => 'Greyscale Images', 'desc' => 'Works only for images with link', 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'info_box' => array('type' => 'info_box', 'title' => __('Info Box', 'mfn-opts'), 'size' => '1/4', 'cat' => 'elements', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts'), 'std' => '<ul><li>list item 1</li><li>list item 2</li></ul>'), array('id' => 'image', 'type' => 'upload', 'title' => __('Background Image', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'list' => array('type' => 'list', 'title' => __('List', 'mfn-opts'), 'size' => '1/4', 'cat' => 'blocks', 'fields' => array(array('id' => 'icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'std' => ' icon-lamp', 'class' => 'small-text'), array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'desc' => __('Only <strong>Vertical Style</strong> works for column widths 1/5 & 1/6', 'mfn-opts'), 'options' => array(1 => 'With background', 2 => 'Transparent', 3 => 'Vertical', 4 => 'Ordered list')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'map' => array('type' => 'map', 'title' => __('Map', 'mfn-opts'), 'size' => '1/4', 'cat' => 'elements', 'fields' => array(array('id' => 'lat', 'type' => 'text', 'title' => __('Google Maps Lat', 'mfn-opts'), 'class' => 'small-text', 'desc' => __('The map will appear only if this field is filled correctly.<br />Example: <b>-33.87</b>', 'mfn-opts')), array('id' => 'lng', 'type' => 'text', 'title' => __('Google Maps Lng', 'mfn-opts'), 'class' => 'small-text', 'desc' => __('The map will appear only if this field is filled correctly.<br />Example: <b>151.21</b>', 'mfn-opts')), array('id' => 'zoom', 'type' => 'text', 'title' => __('Zoom', 'mfn-opts'), 'class' => 'small-text', 'std' => 13), array('id' => 'height', 'type' => 'text', 'title' => __('Height', 'mfn-opts'), 'class' => 'small-text', 'std' => 200), array('id' => 'type', 'type' => 'select', 'title' => __('Type', 'mfn-opts'), 'options' => array('ROADMAP' => __('Map', 'mfn-opts'), 'SATELLITE' => __('Satellite', 'mfn-opts'), 'HYBRID' => __('Satellite + Map', 'mfn-opts'), 'TERRAIN' => __('Terrain', 'mfn-opts'))), array('id' => 'controls', 'type' => 'select', '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' => 'select', 'title' => __('Draggable', 'mfn-opts'), 'options' => array('' => __('Enable', 'mfn-opts'), 'disable' => __('Disable', 'mfn-opts'), 'disable-mobile' => __('Disable on Mobile', 'mfn-opts'))), array('id' => 'border', 'type' => 'select', 'title' => __('Border', 'mfn-opts'), 'sub_desc' => __('Show map border', 'mfn-opts'), 'options' => array(0 => __('No', 'mfn-opts'), 1 => __('Yes', 'mfn-opts'))), array('id' => 'icon', 'type' => 'upload', 'title' => __('Marker Icon', 'mfn-opts'), 'desc' => __('.png', 'mfn-opts')), array('id' => 'styles', 'type' => 'textarea', 'title' => __('Styles', 'mfn-opts'), 'sub_desc' => __('Google Maps API styles array', 'mfn-opts'), 'desc' => __('You can get predefined styles from <a target="_blank" href="http://snazzymaps.com/">snazzymaps.com</a> or generate your own <a target="_blank" href="http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html">here</a>', 'mfn-opts')), array('id' => 'latlng', 'type' => 'textarea', 'title' => __('Additional Markers | Lat,Lng,IconURL', 'mfn-opts'), 'desc' => __('Separate Lat,Lang,IconURL[optional] with <b>coma</b> [ , ]<br />Separate multiple Markers with <b>semicolon</b> [ ; ]<br />Example: <b>-33.88,151.21,ICON_URL;-33.89,151.22</b>', 'mfn-opts')), array('id' => 'info', 'type' => 'info', 'desc' => __('<strong>Contact Box</strong> | Works only in Full Width', 'nhp-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Box | Title', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'content', 'type' => 'textarea', 'title' => __('Box | Address', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts')), array('id' => 'telephone', 'type' => 'text', 'title' => __('Box | Telephone', 'mfn-opts')), array('id' => 'email', 'type' => 'text', 'title' => __('Box | Email', 'mfn-opts')), array('id' => 'www', 'type' => 'text', 'title' => __('Box | WWW', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'offer' => array('type' => 'offer', 'title' => __('Offer Slider Full', 'mfn-opts'), 'size' => '1/1', 'cat' => 'loops', 'fields' => array(array('id' => 'info', 'type' => 'info', 'desc' => __('This item can only be used on pages <strong>Without Sidebar</strong>.<br />Please also set Section Style to <strong>Full Width</strong> and use one Item in one Section.', 'nhp-opts')), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('offer-types'), 'sub_desc' => __('Select the offer post category.', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'offer_thumb' => array('type' => 'offer_thumb', 'title' => __('Offer Slider Thumb', 'mfn-opts'), 'size' => '1/1', 'cat' => 'loops', 'fields' => array(array('id' => 'info', 'type' => 'info', 'desc' => __('This item can only be used <strong>once per page</strong>.', 'nhp-opts')), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('offer-types'), 'sub_desc' => __('Select the offer post category.', 'mfn-opts')), array('id' => 'style', 'type' => 'select', 'options' => array('' => 'Thumbnails on the left', 'bottom' => 'Thumbnails at the bottom'), 'title' => __('Style', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'opening_hours' => array('type' => 'opening_hours', 'title' => __('Opening Hours', 'mfn-opts'), 'size' => '1/4', 'cat' => 'elements', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts'), 'std' => '<ul><li><label>Monday - Saturday</label><span>8am - 4pm</span></li></ul>'), array('id' => 'image', 'type' => 'upload', 'title' => __('Background Image', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'our_team' => array('type' => 'our_team', 'title' => __('Our Team', 'mfn-opts'), 'size' => '1/4', 'cat' => 'elements', 'fields' => array(array('id' => 'heading', 'type' => 'text', 'title' => __('Heading', 'mfn-opts')), array('id' => 'image', 'type' => 'upload', 'title' => __('Photo', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'sub_desc' => __('Will also be used as the image alternative text', 'mfn-opts')), array('id' => 'subtitle', 'type' => 'text', 'title' => __('Subtitle', 'mfn-opts')), array('id' => 'phone', 'type' => 'text', 'title' => __('Phone', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc'), array('id' => 'email', 'type' => 'text', 'title' => __('E-mail', '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')), array('id' => 'blockquote', 'type' => 'textarea', 'title' => __('Blockquote', 'mfn-opts')), array('id' => 'style', 'type' => 'select', 'options' => array('circle' => 'Circle', 'vertical' => 'Vertical', 'horizontal' => 'Horizontal 	[only: 1/2]'), 'title' => __('Style', 'mfn-opts'), 'std' => 'vertical'), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'our_team_list' => array('type' => 'our_team_list', 'title' => __('Our Team List', 'mfn-opts'), 'size' => '1/1', 'cat' => 'elements', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Photo', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'sub_desc' => __('Will also be used as the image alternative text', 'mfn-opts')), array('id' => 'subtitle', 'type' => 'text', 'title' => __('Subtitle', 'mfn-opts')), array('id' => 'phone', 'type' => 'text', 'title' => __('Phone', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc'), array('id' => 'blockquote', 'type' => 'textarea', 'title' => __('Blockquote', 'mfn-opts')), array('id' => 'email', 'type' => 'text', 'title' => __('E-mail', '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')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'photo_box' => array('type' => 'photo_box', 'title' => __('Photo Box', 'mfn-opts'), 'size' => '1/4', 'cat' => 'boxes', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc'), array('id' => 'align', 'type' => 'select', 'title' => 'Text Align', 'options' => array('' => 'Center', 'left' => 'Left', 'right' => 'Right')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'greyscale', 'type' => 'select', 'title' => 'Greyscale Images', 'desc' => 'Works only for images with link', 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'portfolio' => array('type' => 'portfolio', 'title' => __('Portfolio', 'mfn-opts'), 'size' => '1/1', 'cat' => 'loops', 'fields' => array(array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'std' => '2', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('portfolio-types'), 'sub_desc' => __('Select the portfolio post category.', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'style', 'type' => 'select', 'title' => 'Style', 'options' => array('flat' => 'Flat', 'grid' => 'Grid', 'masonry' => 'Masonry Blog Style', 'masonry-hover' => 'Masonry Hover Description', 'list' => 'List', 'masonry-flat' => 'Masonry Flat'), 'std' => 'grid'), array('id' => 'columns', 'type' => 'select', 'title' => __('Columns', 'mfn-opts'), 'desc' => __('Default: 3. Recommended: 2-4. Too large value may crash the layout.<br />This option works in styles: <b>Flat, Grid, Masonry Blog Style, Masonry Hover Details</b>', 'mfn-opts'), 'options' => array(2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6), 'std' => 3), array('id' => 'greyscale', 'type' => 'select', 'title' => 'Greyscale Images', 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title', 'rand' => 'Random'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'filters', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Show | Filters', 'mfn-opts'), 'desc' => __('Works only with <b>Category: All</b>', 'mfn-opts')), array('id' => 'pagination', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Show | Pagination', 'mfn-opts'), 'desc' => __('<strong>Notice:</strong> Pagination will <strong>not</strong> work if you put item on Homepage of WordPress Multilangual Site.', 'mfn-opts')), array('id' => 'load_more', 'type' => 'select', 'title' => __('Show | Load More button', 'mfn-opts'), 'sub_desc' => __('Show Ajax Load More button', 'mfn-opts'), 'desc' => __('This will replace all sliders on list with featured images. Please also <b>show Pagination</b>', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'portfolio_grid' => array('type' => 'portfolio_grid', 'title' => __('Portfolio Grid', 'mfn-opts'), 'size' => '1/4', 'cat' => 'loops', 'fields' => array(array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'std' => '4', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('portfolio-types'), 'sub_desc' => __('Select the portfolio post category.', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title', 'rand' => 'Random'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'greyscale', 'type' => 'select', 'title' => 'Greyscale Images', 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'portfolio_photo' => array('type' => 'portfolio_photo', 'title' => __('Portfolio Photo', 'mfn-opts'), 'size' => '1/1', 'cat' => 'loops', 'fields' => array(array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'std' => '5', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('portfolio-types'), 'sub_desc' => __('Select the portfolio post category.', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'greyscale', 'type' => 'select', 'title' => 'Greyscale Images', 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'portfolio_slider' => array('type' => 'portfolio_slider', 'title' => __('Portfolio Slider', 'mfn-opts'), 'size' => '1/1', 'cat' => 'loops', 'fields' => array(array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'desc' => __('We <strong>do not</strong> recommend use more than 10 items, because site will be working slowly.', 'mfn-opts'), 'std' => '6', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('portfolio-types'), 'sub_desc' => __('Select the portfolio post category.', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'arrows', 'type' => 'select', 'title' => __('Navigation Arrows', 'mfn-opts'), 'sub_desc' => __('Show Navigation Arrows', 'mfn-opts'), 'options' => array('' => 'None', 'hover' => 'Show on hover', 'always' => 'Always show'), 'std' => 'DESC'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'pricing_item' => array('type' => 'pricing_item', 'title' => __('Pricing Item', 'mfn-opts'), 'size' => '1/4', 'cat' => 'blocks', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'sub_desc' => __('Pricing item title', 'mfn-opts')), array('id' => 'price', 'type' => 'text', 'title' => __('Price', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'currency', 'type' => 'text', 'title' => __('Currency', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'currency_pos', 'type' => 'select', 'title' => __('Currency | Position', 'mfn-opts'), 'options' => array('' => 'Left', 'right' => 'Right')), array('id' => 'period', 'type' => 'text', 'title' => __('Period', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'subtitle', 'type' => 'text', 'title' => __('Subtitle', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts'), 'std' => '<ul><li><strong>List</strong> item</li></ul>'), array('id' => 'link_title', 'type' => 'text', 'title' => __('Button Title', 'mfn-opts'), 'desc' => __('Button will appear only if this field will be filled.', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Button Link', 'mfn-opts'), 'desc' => __('Button will appear only if this field will be filled.', 'mfn-opts')), array('id' => 'icon', 'type' => 'icon', 'title' => __('Button Icon', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'featured', 'type' => 'select', 'title' => __('Featured', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'options' => array('box' => 'Box', 'label' => 'Table Label', 'table' => 'Table')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'progress_bars' => array('type' => 'progress_bars', 'title' => __('Progress Bars', 'mfn-opts'), 'size' => '1/4', 'cat' => 'boxes', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Please use <strong>[bar title="Title" value="50"]</strong> shortcodes here.', 'mfn-opts'), 'std' => '[bar title="Bar1" value="50"]' . "\n" . '[bar title="Bar2" value="60"]'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'promo_box' => array('type' => 'promo_box', 'title' => __('Promo Box', 'mfn-opts'), 'size' => '1/2', 'cat' => 'boxes', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc'), array('id' => 'btn_text', 'type' => 'text', 'title' => __('Button Text', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'btn_link', 'type' => 'text', 'title' => __('Button Link', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'position', 'type' => 'select', 'title' => __('Image position', 'mfn-opts'), 'options' => array('left' => 'Left', 'right' => 'Right'), 'std' => 'left'), array('id' => 'border', 'type' => 'select', 'title' => __('Border', 'mfn-opts'), 'sub_desc' => __('Show right border', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes'), 'std' => 'no_border'), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'quick_fact' => array('type' => 'quick_fact', 'title' => __('Quick Fact', 'mfn-opts'), 'size' => '1/4', 'cat' => 'boxes', 'fields' => array(array('id' => 'heading', 'type' => 'text', 'title' => __('Heading', 'mfn-opts')), array('id' => 'number', 'type' => 'text', 'title' => __('Number', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'prefix', 'type' => 'text', 'title' => __('Prefix', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'label', 'type' => 'text', 'title' => __('Postfix', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc', 'validate' => 'html'), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'shop_slider' => array('type' => 'shop_slider', 'title' => __('Shop Slider', 'mfn-opts'), 'size' => '1/4', 'cat' => 'loops', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'sub_desc' => __('Number of posts to show', 'mfn-opts'), 'desc' => __('We <strong>do not</strong> recommend use more than 10 items, because site will be working slowly.', 'mfn-opts'), 'std' => '5', 'class' => 'small-text'), array('id' => 'show', 'type' => 'select', 'title' => __('Show', 'mfn-opts'), 'options' => array('' => 'All (or category selected below)', 'featured' => 'Featured', 'onsale' => 'Onsale', 'best-selling' => 'Best Selling (Order by: Sales)')), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('product_cat'), 'sub_desc' => __('Select the products category', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'sidebar_widget' => array('type' => 'sidebar_widget', 'title' => __('Sidebar Widget', 'mfn-opts'), 'size' => '1/4', 'cat' => 'other', 'fields' => array(array('id' => 'sidebar', 'type' => 'select', 'title' => __('Select Sidebar', 'mfn-opts'), 'desc' => __('1. Create Sidebar in Theme Options > Getting Started > Sidebars.<br />2. Add Widget.<br />3. Select your sidebar.', 'mfn-opts'), 'options' => mfn_opts_get('sidebars')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'slider' => array('type' => 'slider', 'title' => __('Slider', 'mfn-opts'), 'size' => '1/1', 'cat' => 'blocks', 'fields' => array(array('id' => 'style', 'type' => 'select', 'options' => array('' => 'Default', 'description' => 'Description', 'flat' => 'Flat', 'carousel' => 'Carousel'), 'title' => __('Style', 'mfn-opts')), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('slide-types'), 'sub_desc' => __('Select the slides category', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'slider_plugin' => array('type' => 'slider_plugin', 'title' => __('Slider Plugin', 'mfn-opts'), 'size' => '1/4', 'cat' => 'other', 'fields' => array(array('id' => 'rev', 'type' => 'select', 'title' => __('Slider | Revolution Slider', 'mfn-opts'), 'desc' => __('Select one from the list of available <a target="_blank" href="admin.php?page=revslider">Revolution Sliders</a>', 'mfn-opts'), 'options' => mfn_get_sliders()), array('id' => 'layer', 'type' => 'select', 'title' => __('Slider | Layer Slider', 'mfn-opts'), 'desc' => __('Select one from the list of available <a target="_blank" href="admin.php?page=layerslider">Layer Sliders</a>', 'mfn-opts'), 'options' => mfn_get_sliders_layer()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'sliding_box' => array('type' => 'sliding_box', 'title' => __('Sliding Box', 'mfn-opts'), 'size' => '1/4', 'cat' => 'boxes', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'story_box' => array('type' => 'story_box', 'title' => __('Story Box', 'mfn-opts'), 'size' => '1/2', 'cat' => 'boxes', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'style', 'type' => 'select', 'options' => array('' => 'Horizontal Image', 'flat' => 'Flat'), 'title' => __('Style', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc', 'validate' => 'html'), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'tabs' => array('type' => 'tabs', 'title' => __('Tabs', 'mfn-opts'), 'size' => '1/4', 'cat' => 'blocks', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'tabs', 'type' => 'tabs', 'title' => __('Tabs', 'mfn-opts'), 'sub_desc' => __('To add an <strong>icon</strong> in Title field, please use the following code:<br/><br/>&lt;i class=" icon-lamp"&gt;&lt;/i&gt; Tab Title', 'mfn-opts'), 'desc' => __('You can use Drag & Drop to set the order.', 'mfn-opts')), array('id' => 'type', 'type' => 'select', 'options' => array('horizontal' => 'Horizontal', 'centered' => 'Horizontal (centered tab)', 'vertical' => 'Vertical'), 'title' => __('Style', 'mfn-opts'), 'desc' => __('Vertical tabs works only for column widths: 1/2, 3/4 & 1/1', 'mfn-opts')), array('id' => 'uid', 'type' => 'text', 'title' => __('Unique ID [optional]', 'mfn-opts'), 'sub_desc' => __('Allowed characters: "a-z" "-" "_"', 'mfn-opts'), 'desc' => __('Use this option if you want to open specified tab from link.<br />For example: Your Unique ID is <strong>offer</strong> and you want to open 2nd tab, please use link: <strong>your-url/#offer-2</strong>', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'testimonials' => array('type' => 'testimonials', 'title' => __('Testimonials', 'mfn-opts'), 'size' => '1/1', 'cat' => 'loops', 'fields' => array(array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('testimonial-types'), 'sub_desc' => __('Select the testimonial post category.', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'options' => array('' => __('Default', 'mfn-opts'), 'single-photo' => __('Single Photo', 'mfn-opts'))), array('id' => 'hide_photos', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Hide Photos', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'testimonials_list' => array('type' => 'testimonials_list', 'title' => __('Testimonials List', 'mfn-opts'), 'size' => '1/1', 'cat' => 'loops', 'fields' => array(array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('testimonial-types'), 'sub_desc' => __('Select the testimonial post category.', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'timeline' => array('type' => 'timeline', 'title' => __('Timeline', 'mfn-opts'), 'size' => '1/1', 'cat' => 'elements', 'fields' => array(array('id' => 'tabs', 'type' => 'tabs', 'title' => __('Timeline', 'mfn-opts'), 'sub_desc' => __('Please add <strong>date</strong> wrapped into <strong>span</strong> tag in Title field.<br/><br/>&lt;span&gt;2013&lt;/span&gt;Event Title', 'mfn-opts'), 'desc' => __('You can use Drag & Drop to set the order.', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'trailer_box' => array('type' => 'trailer_box', 'title' => __('Trailer Box', 'mfn-opts'), 'size' => '1/4', 'cat' => 'boxes', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'slogan', 'type' => 'text', 'title' => __('Slogan', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'desc' => __('<b>Notice:</b> In some versions of Safari browser Hover works only if you select: <b>Not Animated</b> or <b>Fade In</b>', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => mfn_get_animations()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'video' => array('type' => 'video', 'title' => __('Video', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'video', 'type' => 'text', 'title' => __('YouTube or Vimeo | Video ID', 'mfn-opts'), 'sub_desc' => __('YouTube or Vimeo', 'mfn-opts'), 'desc' => __('It`s placed in every YouTube & Vimeo video, for example:<br /><b>YouTube:</b> http://www.youtube.com/watch?v=<u>WoJhnRczeNg</u><br /><b>Vimeo:</b> http://vimeo.com/<u>62954028</u>', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'parameters', 'type' => 'text', 'title' => __('YouTube or Vimeo | Parameters', 'mfn-opts'), 'sub_desc' => __('YouTube or Vimeo', 'mfn-opts'), 'desc' => __('Multiple parameters should be connected with "&"<br />For example: <b>autoplay=1&loop=1</b>', 'mfn-opts')), array('id' => 'mp4', 'type' => 'upload', 'title' => __('HTML5 | MP4 video', 'mfn-opts'), 'sub_desc' => __('m4v [.mp4]', 'mfn-opts'), 'desc' => __('Please add both mp4 and ogv for cross-browser compatibility.', 'mfn-opts'), 'class' => __('video', 'mfn-opts')), array('id' => 'ogv', 'type' => 'upload', 'title' => __('HTML5 | OGV video', 'mfn-opts'), 'sub_desc' => __('ogg [.ogv]', 'mfn-opts'), 'class' => __('video', 'mfn-opts')), array('id' => 'placeholder', 'type' => 'upload', 'title' => __('HTML5 | 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', 'type' => 'select', 'title' => __('HTML5 | Parameters', 'mfn-opts'), 'options' => array('' => 'autoplay controls loop muted', 'a;c;l;' => 'autoplay controls loop', 'a;c;;m' => 'autoplay controls muted', 'a;;l;m' => 'autoplay loop muted', 'a;c;;' => 'autoplay controls', 'a;;l;' => 'autoplay loop', 'a;;;m' => 'autoplay muted', 'a;;;' => 'autoplay', ';c;l;m' => 'controls loop muted', ';c;l;' => 'controls loop', ';c;;m' => 'controls muted', ';c;;' => 'controls')), array('id' => 'width', 'type' => 'text', 'title' => __('Width', 'mfn-opts'), 'desc' => __('px', 'mfn-opts'), 'class' => 'small-text', 'std' => 700), array('id' => 'height', 'type' => 'text', 'title' => __('Height', 'mfn-opts'), 'desc' => __('px', 'mfn-opts'), 'class' => 'small-text', 'std' => 400), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'visual' => array('type' => 'visual', 'title' => __('Visual Editor', 'mfn-opts'), 'size' => '1/4', 'cat' => 'other', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'desc' => __('This field is used as an Item Label in admin panel only', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Visual Editor', 'mfn-opts'), 'param' => 'editor', 'validate' => 'html'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'zoom_box' => array('type' => 'zoom_box', 'title' => __('Zoom Box', 'mfn-opts'), 'size' => '1/4', 'cat' => 'boxes', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'bg_color', 'type' => 'text', 'title' => __('Overlay background', 'mfn-opts'), 'desc' => __('Use color HEX (ie. "#000000").', 'mfn-opts'), 'class' => 'small-text', 'std' => '#000000'), array('id' => 'content_image', 'type' => 'upload', 'title' => __('Content Image', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('HTML tags allowed', 'mfn-opts'), 'class' => 'full-width'), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Link | Target', 'mfn-opts'), 'options' => array(0 => 'Default | _self', 1 => 'New Tab or Window | _blank', 'prettyphoto' => 'prettyPhoto (images and embed video)')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))));
     if ($item) {
         return $items[$item];
     }
     return $items;
 }
 /**
  * Options Page | Fields & Args
  */
 function mfn_opts_setup()
 {
     // Navigation elements
     $menu = array('global' => array('title' => __('Global', 'mfn-opts'), 'sections' => array('general', 'logo', 'sliders', 'advanced', 'hooks')), 'header-subheader' => array('title' => __('Header & Subheader', 'mfn-opts'), 'sections' => array('header', 'subheader', 'extras')), 'mab' => array('title' => __('Menu & Action Bar', 'mfn-opts'), 'sections' => array('menu', 'action-bar')), 'sidebars' => array('title' => __('Sidebars', 'mfn-opts'), 'sections' => array('sidebars')), 'bps' => array('title' => __('Blog, Portfolio & Shop', 'mfn-opts'), 'sections' => array('bps-general', 'blog', 'portfolio', 'shop')), 'pages' => array('title' => __('Pages', 'mfn-opts'), 'sections' => array('pages-general', 'pages-404', 'pages-under')), 'footer' => array('title' => __('Footer', 'mfn-opts'), 'sections' => array('footer')), 'responsive' => array('title' => __('Responsive', 'mfn-opts'), 'sections' => array('responsive')), 'seo' => array('title' => __('SEO', 'mfn-opts'), 'sections' => array('seo')), 'social' => array('title' => __('Social', 'mfn-opts'), 'sections' => array('social')), 'addons-plugins' => array('title' => __('Addons & Plugins', 'mfn-opts'), 'sections' => array('addons', 'plugins')), 'colors' => array('title' => __('Colors', 'mfn-opts'), 'sections' => array('colors-general', 'colors-header', 'colors-menu', 'content', 'colors-footer', 'colors-sliding-top', 'headings', 'colors-shortcodes')), 'font' => array('title' => __('Fonts', 'mfn-opts'), 'sections' => array('font-family', 'font-size', 'font-custom')), 'translate' => array('title' => __('Translate', 'mfn-opts'), 'sections' => array('translate-general', 'translate-blog', 'translate-404', 'translate-wpml')), 'custom' => array('title' => __('Custom CSS & JS', 'mfn-opts'), 'sections' => array('css', 'js')));
     $sections = array();
     // Global =================================================================================
     // General -------------------------------------------
     $sections['general'] = array('title' => __('General', 'mfn-opts'), 'fields' => array(array('id' => 'general-info-layout', 'type' => 'info', 'title' => '', 'desc' => __('Layout', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'layout', 'type' => 'radio_img', 'title' => __('Layout', 'mfn-opts'), 'options' => array('full-width' => array('title' => 'Full width', 'img' => MFN_OPTIONS_URI . 'img/select/style/full-width.png'), 'boxed' => array('title' => 'Boxed', 'img' => MFN_OPTIONS_URI . 'img/select/style/boxed.png')), 'std' => 'full-width', 'class' => 'wide'), array('id' => 'grid-width', 'type' => 'sliderbar', 'title' => __('Grid width', 'mfn-opts'), 'sub_desc' => __('default: 1240px', 'mfn-opts'), 'desc' => __('Works only with <b>Responsive ON</b>', 'mfn-opts'), 'param' => array('min' => 960, 'max' => 1920), 'std' => 1240), array('id' => 'style', 'type' => 'radio_img', 'title' => __('Style | Main', 'mfn-opts'), 'options' => array('' => array('title' => 'Default', 'img' => MFN_OPTIONS_URI . 'img/select/style/default.png'), 'simple' => array('title' => 'Simple', 'img' => MFN_OPTIONS_URI . 'img/select/style/simple.png')), 'class' => 'wide'), array('id' => 'button-style', 'type' => 'radio_img', 'title' => __('Style | Button', 'mfn-opts'), 'options' => array('' => array('title' => 'Default', 'img' => MFN_OPTIONS_URI . 'img/select/button/classic.png'), 'flat' => array('title' => 'Flat', 'img' => MFN_OPTIONS_URI . 'img/select/button/flat.png'), 'stroke' => array('title' => 'Stroke', 'img' => MFN_OPTIONS_URI . 'img/select/button/stroke.png')), 'class' => 'wide short'), array('id' => 'image-frame-style', 'type' => 'select', 'title' => __('Style | Image Frame', 'mfn-opts'), 'options' => array('' => 'Slide Bottom', 'overlay' => 'Overlay')), array('id' => 'general-info-background', 'type' => 'info', 'title' => '', 'desc' => __('Background <span>for Boxed Layout</span>', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'img-page-bg', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'position-page-bg', 'type' => 'select', 'title' => __('Position', 'mfn-opts'), 'desc' => __('This option can be used only with your custom image selected above', 'mfn-opts'), 'options' => mfna_bg_position(1), 'std' => 'center top no-repeat'), array('id' => 'general-info-icon', 'type' => 'info', 'title' => '', 'desc' => __('Icon', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'favicon-img', 'type' => 'upload', 'title' => __('Favicon', 'mfn-opts'), 'desc' => __('<b>.ico</b> 32x32 pixels', 'mfn-opts')), array('id' => 'apple-touch-icon', 'type' => 'upload', 'title' => __('Apple Touch Icon', 'mfn-opts'), 'desc' => __('<b>apple-touch-icon.png</b> 180x180 pixels', 'mfn-opts'))));
     // Logo --------------------------------------------
     $sections['logo'] = array('title' => __('Logo', 'mfn-opts'), 'fields' => array(array('id' => 'logo-img', 'type' => 'upload', 'title' => __('Logo', 'mfn-opts')), array('id' => 'retina-logo-img', 'type' => 'upload', 'title' => __('Retina Logo', 'mfn-opts'), 'sub_desc' => __('optional', 'mfn-opts'), 'desc' => __('Retina Logo should be 2x larger than Custom Logo', 'mfn-opts')), array('id' => 'sticky-logo-img', 'type' => 'upload', 'title' => __('Sticky Header | Logo', 'mfn-opts'), 'sub_desc' => __('optional', 'mfn-opts'), 'desc' => __('Use if you want different logo for Sticky Header', 'mfn-opts')), array('id' => 'sticky-retina-logo-img', 'type' => 'upload', 'title' => __('Sticky Header | Retina Logo', 'mfn-opts'), 'sub_desc' => __('optional', 'mfn-opts'), 'desc' => __('Retina Logo should be 2x larger than Sticky Logo', 'mfn-opts')), array('id' => 'logo-text', 'type' => 'text', 'title' => __('Text Logo', 'mfn-opts'), 'sub_desc' => __('optional', 'mfn-opts'), 'desc' => __('Use text <b>instead</b> of graphic logo', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'logo-width', 'type' => 'text', 'title' => __('SVG Logo width', 'mfn-opts'), 'sub_desc' => __('optional', 'mfn-opts'), 'desc' => __('Use <b>only</b> with <b>svg</b> logo', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'logo-link', 'type' => 'checkbox', 'title' => __('Options', 'mfn-opts'), 'options' => array('link' => 'Link to Homepage', 'h1-home' => 'Wrap into H1 tag on Homepage', 'h1-all' => 'Wrap into H1 tag on All other pages'))));
     // Sliders --------------------------------------------
     $sections['sliders'] = array('title' => __('Sliders', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'slider-blog-timeout', 'type' => 'text', 'title' => __('Blog', 'mfn-opts'), 'sub_desc' => __('Milliseconds between slide', 'mfn-opts'), 'desc' => __('<strong>0 to disable auto</strong> advance.<br />1000ms = 1s', 'mfn-opts'), 'class' => 'small-text', 'std' => '0'), array('id' => 'slider-clients-timeout', 'type' => 'text', 'title' => __('Clients', 'mfn-opts'), 'sub_desc' => __('Milliseconds between slide', 'mfn-opts'), 'desc' => __('<strong>0 to disable auto</strong> advance.<br />1000ms = 1s', 'mfn-opts'), 'class' => 'small-text', 'std' => '0'), array('id' => 'slider-offer-timeout', 'type' => 'text', 'title' => __('Offer', 'mfn-opts'), 'sub_desc' => __('Milliseconds between slide', 'mfn-opts'), 'desc' => __('<strong>0 to disable auto</strong> advance.<br />1000ms = 1s', 'mfn-opts'), 'class' => 'small-text', 'std' => '0'), array('id' => 'slider-portfolio-timeout', 'type' => 'text', 'title' => __('Portfolio', 'mfn-opts'), 'sub_desc' => __('Milliseconds between slide', 'mfn-opts'), 'desc' => __('<strong>0 to disable auto</strong> advance.<br />1000ms = 1s', 'mfn-opts'), 'class' => 'small-text', 'std' => '0'), array('id' => 'slider-shop-timeout', 'type' => 'text', 'title' => __('Shop', 'mfn-opts'), 'sub_desc' => __('Milliseconds between slide', 'mfn-opts'), 'desc' => __('<strong>0 to disable auto</strong> advance.<br />1000ms = 1s', 'mfn-opts'), 'class' => 'small-text', 'std' => '0'), array('id' => 'slider-slider-timeout', 'type' => 'text', 'title' => __('Slider', 'mfn-opts'), 'sub_desc' => __('Milliseconds between slide', 'mfn-opts'), 'desc' => __('<strong>0 to disable auto</strong> advance.<br />1000ms = 1s', 'mfn-opts'), 'class' => 'small-text', 'std' => '0'), array('id' => 'slider-testimonials-timeout', 'type' => 'text', 'title' => __('Testimonials', 'mfn-opts'), 'sub_desc' => __('Milliseconds between slide', 'mfn-opts'), 'desc' => __('<strong>0 to disable auto</strong> advance.<br />1000ms = 1s', 'mfn-opts'), 'class' => 'small-text', 'std' => '0')));
     // Advanced -------------------------------------------
     $sections['advanced'] = array('title' => __('Advanced', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'builder-visibility', 'type' => 'select', 'title' => __('Builder | Visibility', 'mfn-opts'), 'options' => array('' => '- Everyone -', 'publish_posts' => 'Author', 'edit_pages' => 'Editor', 'edit_theme_options' => 'Administrator', 'hide' => 'HIDE for Everyone')), array('id' => 'display-order', 'type' => 'select', 'title' => __('Content | Display Order', 'mfn-opts'), 'options' => array(0 => 'Muffin Builder - WordPress Editor', 1 => 'WordPress Editor - Muffin Builder')), array('id' => 'content-remove-padding', 'type' => 'switch', 'title' => __('Content | Remove Padding', 'mfn-opts'), 'desc' => __('Remove default Content Padding for <b>all</b> pages/posts without sidebar', 'mfn-opts'), 'options' => array('0' => 'Off', '1' => 'On'), 'std' => '0'), array('id' => 'math-animations-disable', 'type' => 'switch', 'title' => __('Math Animate | Disable', 'mfn-opts'), 'sub_desc' => __('Disable animations for Counter, Quick fact', 'mfn-opts'), 'options' => array('0' => 'Off', '1' => 'On'), 'std' => '0'), array('id' => 'table-hover-disable', 'type' => 'switch', 'title' => __('Table Hover | Disable', 'mfn-opts'), 'sub_desc' => __('Disable hover for Table rows', 'mfn-opts'), 'options' => array('0' => 'Off', '1' => 'On'), 'std' => '0'), array('id' => 'post-type-disable', 'type' => 'checkbox', 'title' => __('Post Type | Disable', 'mfn-opts'), 'desc' => __('If you do not want to use any of these Types, you can disable it', 'mfn-opts'), 'options' => array('client' => 'Clients', 'layout' => 'Layouts', 'offer' => 'Offer', 'portfolio' => 'Portfolio', 'slide' => 'Slides', 'template' => 'Templates', 'testimonial' => 'Testimonials')), array('id' => 'theme-disable', 'type' => 'checkbox', 'title' => __('Theme Functions | Disable', 'mfn-opts'), 'desc' => __('If you do not want to use any of these functions or use external plugins to do the same, you can disable it', 'mfn-opts'), 'options' => array('demo-data' => 'BeTheme Demo Data', 'entrance-animations' => 'Entrance Animations', 'mega-menu' => 'Mega Menu')), array('id' => 'slider-shortcode', 'type' => 'text', 'title' => __('Slider | Shortcode', 'mfn-opts'), 'sub_desc' => __('Use this option to force slider for <b>all</b> pages', 'mfn-opts'), 'desc' => __('This option can <strong>not</strong> be overriden and it is usefull for people who already have many pages and want to standardize their appearance.<br/>eg. [rev_slider alias="slider1"]', 'mfn-opts')), array('id' => 'static-css', 'type' => 'switch', 'title' => __('Static CSS', 'mfn-opts'), 'sub_desc' => __('Use Static CSS files insted of Theme Options', 'mfn-opts'), 'desc' => __('For more info please see <a href="http://themes.muffingroup.com/betheme/documentation/#static-css" target="_blank">http://themes.muffingroup.com/betheme/documentation/#static-css</a>', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '0'), array('id' => 'table_prefix', 'type' => 'select', 'title' => __('Table Prefix', 'mfn-opts'), 'desc' => __('For some <b>multisite</b> installations it is necessary to change table prefix to get Sliders List in Page Options. Please do <b>not</b> change if everything works.', 'mfn-opts'), 'options' => array('base_prefix' => 'base_prefix', 'prefix' => 'prefix'))));
     // Hooks --------------------------------------------
     $sections['hooks'] = array('title' => __('Hooks', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'hook-top', 'type' => 'textarea', 'title' => __('Top', 'mfn-opts'), 'sub_desc' => __('mfn_hook_top', 'mfn-opts'), 'desc' => __('Executes after the opening &lt;body&gt; tag', 'mfn-opts')), array('id' => 'hook-content-before', 'type' => 'textarea', 'title' => __('Content before', 'mfn-opts'), 'sub_desc' => __('mfn_hook_content_before', 'mfn-opts'), 'desc' => __('Executes before the opening &lt;#Content&gt; tag', 'mfn-opts')), array('id' => 'hook-content-after', 'type' => 'textarea', 'title' => __('Content after', 'mfn-opts'), 'sub_desc' => __('mfn_hook_content_after', 'mfn-opts'), 'desc' => __('Executes after the closing &lt;/#Content&gt; tag', 'mfn-opts')), array('id' => 'hook-bottom', 'type' => 'textarea', 'title' => __('Bottom', 'mfn-opts'), 'sub_desc' => __('mfn_hook_bottom', 'mfn-opts'), 'desc' => __('Executes after the closing &lt;/body&gt; tag', 'mfn-opts'))));
     // Header, Subheader ======================================================================
     // Header --------------------------------------------
     $sections['header'] = array('title' => __('Header', 'mfn-opts'), 'fields' => array(array('id' => 'header-info-layout', 'type' => 'info', 'title' => '', 'desc' => __('Layout', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'header-style', 'type' => 'radio_img', 'title' => __('Style', 'mfn-opts'), 'options' => mfna_header_style(), 'std' => 'modern', 'class' => 'wide'), array('id' => 'header-fw', 'type' => 'checkbox', 'title' => __('Options', 'mfn-opts'), 'options' => array('full-width' => 'Full Width (for layout: Full Width)', 'header-boxed' => 'Boxed Sticky Header (for layout: Boxed)')), array('id' => 'minimalist-header', 'type' => 'switch', 'title' => __('Minimalist', 'mfn-opts'), 'desc' => __('Header without background image & padding', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '0'), array('id' => 'header-info-background', 'type' => 'info', 'title' => '', 'desc' => __('Background', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'img-subheader-bg', 'type' => 'upload', 'title' => __('Image', 'mfn-opts'), 'desc' => __('Pages without slider. May be overridden for single page.', 'mfn-opts')), array('id' => 'img-subheader-attachment', 'type' => 'select', 'title' => __('Attachment', 'mfn-opts'), 'options' => array('' => 'Default', 'fixed' => 'Fixed', 'parallax' => 'Parallax')), array('id' => 'header-info-sticky', 'type' => 'info', 'title' => '', 'desc' => __('Sticky Header', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'sticky-header', 'type' => 'switch', 'title' => __('Sticky', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'sticky-header-style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'options' => array('white' => 'White', 'dark' => 'Dark'))));
     // Subheader --------------------------------------------
     $sections['subheader'] = array('title' => __('Subheader', 'mfn-opts'), 'fields' => array(array('id' => 'subheader-info-layout', 'type' => 'info', 'title' => '', 'desc' => __('Layout', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'subheader-style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'options' => array('' => 'Title on the Left', 'title-right' => 'Title on the Right', 'both-left' => 'Title & Breadcrumbs on the Left', 'both-right' => 'Title & Breadcrumbs on the Right', 'both-center' => 'Title & Breadcrumbs Centered')), array('id' => 'subheader', 'type' => 'checkbox', 'title' => __('Hide', 'mfn-opts'), 'options' => array('hide-breadcrumbs' => 'Breadcrumbs', 'hide-subheader' => 'Subheader')), array('id' => 'subheader-padding', 'type' => 'text', 'title' => __('Padding', 'mfn-opts'), 'sub_desc' => __('default: 30px 0', 'mfn-opts'), 'desc' => __('Use value with <b>px</b> or <b>em</b><br />Example: <b>20px 0</b> or <b>20px 0 30px 0</b> or <b>2em 0</b>', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'subheader-info-background', 'type' => 'info', 'title' => '', 'desc' => __('Background', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'subheader-image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'subheader-transparent', 'type' => 'sliderbar', 'title' => __('Transparency (alpha)', 'mfn-opts'), 'sub_desc' => __('0 = transparent, 100 = solid', 'mfn-opts'), 'desc' => __('<strong>Important:</strong> This option can be used only with <strong>Custom</strong> or <strong>One Color Skin</strong>', 'mfn-opts'), 'param' => array('min' => 0, 'max' => 100), 'std' => '100'), array('id' => 'subheader-info-advanced', 'type' => 'info', 'title' => '', 'desc' => __('Advanced', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'subheader-advanced', 'type' => 'checkbox', 'title' => __('Options', 'mfn-opts'), 'options' => array('breadcrumbs-link' => 'Breadcrumbs | Last item is link (NOT for Shop)', 'slider-show' => 'Slider | Show subheader on pages with Slider'))));
     // Extras --------------------------------------------
     $sections['extras'] = array('title' => __('Extras', 'mfn-opts'), 'fields' => array(array('id' => 'header-action-title', 'type' => 'text', 'title' => __('Action Button | Title', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'header-action-link', 'type' => 'text', 'title' => __('Action Button | Link', 'mfn-opts')), array('id' => 'header-action-target', 'type' => 'checkbox', 'title' => __('Action Button | Options', 'mfn-opts'), 'options' => array('target' => 'Open in new window', 'scroll' => 'Scroll to section (use #SectionID as Link)')), array('id' => 'header-banner', 'type' => 'textarea', 'title' => __('Banner', 'mfn-opts'), 'sub_desc' => __('Header Magazine (468px x 60px) or Creative (250px x 250px) Banner code ', 'mfn-opts'), 'desc' => '&lt;a href="#" target="_blank"&gt;&lt;img src="" alt="" /&gt;&lt;/a&gt;'), array('id' => 'header-search', 'type' => 'select', 'title' => __('Search', 'mfn-opts'), 'options' => array('1' => 'Icon | Default', 'shop' => 'Icon | Search Shop Products only', 'input' => 'Search Field', '0' => 'Hide')), array('id' => 'sliding-top', 'type' => 'select', 'title' => __('Sliding Top', 'mfn-opts'), 'desc' => __('Widgetized Sliding Top position', 'mfn-opts'), 'options' => array('1' => 'Right', 'center' => 'Center', 'left' => 'Left', '0' => 'Hide'), 'std' => '0'), array('id' => 'sliding-top-icon', 'type' => 'icon', 'title' => __('Sliding Top | Icon', 'mfn-opts'), 'std' => 'icon-down-open-mini'), array('id' => 'header-wpml', 'type' => 'select', 'title' => __('WPML | Custom Switcher Style', 'mfn-opts'), 'desc' => __('Custom Language Switcher is independent of WPML switcher options', 'mfn-opts'), 'options' => array('' => 'Dropdown | Flags', 'dropdown-name' => 'Dropdown | Language Name (native)', 'horizontal' => 'Horizontal | Flags', 'horizontal-code' => 'Horizontal | Language Code', 'hide' => 'Hide')), array('id' => 'header-wpml-options', 'type' => 'checkbox', 'title' => __('WPML | Custom Switcher Options', 'mfn-opts'), 'options' => array('link-to-home' => 'Link to home of language for missing translations<span>Disable this option to skip languages with missing translation</span>'))));
     // Menu, Action Bar =======================================================================
     // Menu --------------------------------------------
     $sections['menu'] = array('title' => __('Menu', 'mfn-opts'), 'fields' => array(array('id' => 'menu-style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'desc' => __('For some header style only', 'mfn-opts'), 'options' => array('' => 'Default', 'line-below' => 'Line below Menu', 'line-below-80' => 'Line below Link (80% width)', 'line-below-80-1' => 'Line below Link (80% width, 1px height)', 'arrow-top' => 'Arrow Top', 'arrow-bottom' => 'Arrow Bottom', 'highlight' => 'Highlight', 'hide' => 'HIDE Menu')), array('id' => 'menu-options', 'type' => 'checkbox', 'title' => __('Options', 'mfn-opts'), 'options' => array('align-right' => 'Align Menu to Right', 'menu-arrows' => 'Menu Arrows for items with submenu', 'hide-borders' => 'Hide Border between Items', 'last' => 'Fold 2 Last Submenus to the Left<span>for Header Creative fold to Top</span>'))));
     // Action Bar --------------------------------------------
     $sections['action-bar'] = array('title' => __('Action Bar', 'mfn-opts'), 'fields' => array(array('id' => 'action-bar', 'type' => 'switch', 'title' => __('Action Bar', 'mfn-opts'), 'desc' => __('Show Action Bar above the header', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'header-slogan', 'type' => 'text', 'title' => __('Slogan', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'header-phone', 'type' => 'text', 'title' => __('Phone', 'mfn-opts'), 'sub_desc' => __('Phone number', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'header-phone-2', 'type' => 'text', 'title' => __('2nd Phone', 'mfn-opts'), 'sub_desc' => __('Additional Phone number', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'header-email', 'type' => 'text', 'title' => __('Email', 'mfn-opts'), 'sub_desc' => __('Email address', 'mfn-opts'), 'class' => 'small-text')));
     // Sidebars ===============================================================================
     // Sidebars --------------------------------------------
     $sections['sidebars'] = array('title' => __('General', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'sidebars', 'type' => 'multi_text', 'title' => __('Sidebars', 'mfn-opts'), 'sub_desc' => __('Manage custom sidebars', 'mfn-opts')), array('id' => 'sidebar-width', 'type' => 'sliderbar', 'title' => __('Width', 'mfn-opts'), 'sub_desc' => __('Sidebar width in percent', 'mfn-opts'), 'desc' => __('Default: 23%. Recommended: 20%-30%. Too small or too large value may crash the layout', 'mfn-opts'), 'param' => array('min' => 10, 'max' => 50), 'std' => '23'), array('id' => 'sidebar-lines', 'type' => 'select', 'title' => __('Lines', 'mfn-opts'), 'sub_desc' => __('Sidebar Lines Style', 'mfn-opts'), 'options' => array('' => 'Default', 'lines-boxed' => 'Sidebar Width', 'lines-hidden' => 'Hide Lines'), 'std' => ''), array('id' => 'single-page-layout', 'type' => 'radio_img', 'title' => __('Page | Layout', 'mfn-opts'), 'sub_desc' => __('Use this option to force layout for all pages', 'mfn-opts'), 'desc' => __('This option can <strong>not</strong> be overriden and it is usefull for people who already have many pages and want to standardize their appearance.', 'mfn-opts'), 'options' => array('' => array('title' => 'Use Page Meta', 'img' => MFN_OPTIONS_URI . 'img/question.png'), 'no-sidebar' => array('title' => 'Full width without sidebar', 'img' => MFN_OPTIONS_URI . 'img/1col.png'), 'left-sidebar' => array('title' => 'Left Sidebar', 'img' => MFN_OPTIONS_URI . 'img/2cl.png'), 'right-sidebar' => array('title' => 'Right Sidebar', 'img' => MFN_OPTIONS_URI . 'img/2cr.png'), 'both-sidebars' => array('title' => 'Both Sidebars', 'img' => MFN_OPTIONS_URI . 'img/2sb.png'))), array('id' => 'single-page-sidebar', 'type' => 'text', 'title' => __('Page | Sidebar', 'mfn-opts'), 'sub_desc' => __('Use this option to force sidebar for all pages', 'mfn-opts'), 'desc' => __('Paste the name of one of the sidebars that you added in the "Sidebars" section.', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'single-page-sidebar2', 'type' => 'text', 'title' => __('Page | Sidebar 2', 'mfn-opts'), 'sub_desc' => __('Use this option to force sidebar for all pages', 'mfn-opts'), 'desc' => __('Paste the name of one of the sidebars that you added in the "Sidebars" section.', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'single-layout', 'type' => 'radio_img', 'title' => __('Post | Layout', 'mfn-opts'), 'sub_desc' => __('Use this option to force layout for all posts', 'mfn-opts'), 'desc' => __('This option can <strong>not</strong> be overriden and it is usefull for people who already have many posts and want to standardize their appearance.', 'mfn-opts'), 'options' => array('' => array('title' => 'Use Post Meta', 'img' => MFN_OPTIONS_URI . 'img/question.png'), 'no-sidebar' => array('title' => 'Full width without sidebar', 'img' => MFN_OPTIONS_URI . 'img/1col.png'), 'left-sidebar' => array('title' => 'Left Sidebar', 'img' => MFN_OPTIONS_URI . 'img/2cl.png'), 'right-sidebar' => array('title' => 'Right Sidebar', 'img' => MFN_OPTIONS_URI . 'img/2cr.png'), 'both-sidebars' => array('title' => 'Both Sidebars', 'img' => MFN_OPTIONS_URI . 'img/2sb.png'))), array('id' => 'single-sidebar', 'type' => 'text', 'title' => __('Post | Sidebar', 'mfn-opts'), 'sub_desc' => __('Use this option to force sidebar for all posts', 'mfn-opts'), 'desc' => __('Paste the name of one of the sidebars that you added in the "Sidebars" section.', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'single-sidebar2', 'type' => 'text', 'title' => __('Post | Sidebar 2', 'mfn-opts'), 'sub_desc' => __('Use this option to force sidebar for all posts', 'mfn-opts'), 'desc' => __('Paste the name of one of the sidebars that you added in the "Sidebars" section.', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'single-portfolio-layout', 'type' => 'radio_img', 'title' => __('Portfolio | Layout', 'mfn-opts'), 'sub_desc' => __('Use this option to force layout for all projects', 'mfn-opts'), 'desc' => __('This option can <strong>not</strong> be overriden and it is usefull for people who already have many projects and want to standardize their appearance.', 'mfn-opts'), 'options' => array('' => array('title' => 'Use Post Meta', 'img' => MFN_OPTIONS_URI . 'img/question.png'), 'no-sidebar' => array('title' => 'Full width without sidebar', 'img' => MFN_OPTIONS_URI . 'img/1col.png'), 'left-sidebar' => array('title' => 'Left Sidebar', 'img' => MFN_OPTIONS_URI . 'img/2cl.png'), 'right-sidebar' => array('title' => 'Right Sidebar', 'img' => MFN_OPTIONS_URI . 'img/2cr.png'), 'both-sidebars' => array('title' => 'Both Sidebars', 'img' => MFN_OPTIONS_URI . 'img/2sb.png'))), array('id' => 'single-portfolio-sidebar', 'type' => 'text', 'title' => __('Portfolio | Sidebar', 'mfn-opts'), 'sub_desc' => __('Use this option to force sidebar for all projects', 'mfn-opts'), 'desc' => __('Paste the name of one of the sidebars that you added in the "Sidebars" section.', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'single-portfolio-sidebar2', 'type' => 'text', 'title' => __('Portfolio | Sidebar 2', 'mfn-opts'), 'sub_desc' => __('Use this option to force sidebar for all projects', 'mfn-opts'), 'desc' => __('Paste the name of one of the sidebars that you added in the "Sidebars" section.', 'mfn-opts'), 'class' => 'small-text')));
     // Blog, Portfolio, Shop ==================================================================
     // General ---------------------------------------------
     $sections['bps-general'] = array('title' => __('General', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'pagination-show-all', 'type' => 'switch', 'title' => __('All pages in pagination', 'mfn-opts'), 'desc' => __('Show all of the pages instead of a short list of the pages near the current page. Blog, Portfolio', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'love', 'type' => 'switch', 'title' => __('Love Box', 'mfn-opts'), 'sub_desc' => __('Show Love Box', 'mfn-opts'), 'desc' => __('Blog, Portfolio', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'prev-next-nav', 'type' => 'select', 'title' => __('Navigation Arrows', 'mfn-opts'), 'sub_desc' => __('Show Prev/Next Navigation', 'mfn-opts'), 'desc' => __('Blog, Portfolio, Shop', 'mfn-opts'), 'options' => array('0' => 'Hide', '1' => 'Show', 'same-category' => 'Show | Navigate in the same category (excluding Shop)'), 'std' => '1'), array('id' => 'share', 'type' => 'select', 'title' => __('Share Box', 'mfn-opts'), 'desc' => __('Blog, Portfolio, Shop', 'mfn-opts'), 'options' => array('1' => 'Show', '0' => 'Hide', 'hide-mobile' => 'Hide on Mobile'), 'std' => '1'), array('id' => 'title-heading', 'type' => 'select', 'title' => __('Title Heading', 'mfn-opts'), 'sub_desc' => __('Single Title Heading', 'mfn-opts'), 'desc' => __('Single Post, Single Project', 'mfn-opts'), 'options' => array('1' => 'H1', '2' => 'H2', '3' => 'H3', '4' => 'H4', '5' => 'H5', '6' => 'H6'), 'std' => '1')));
     // Blog --------------------------------------------
     $sections['blog'] = array('title' => __('Blog', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'blog-info-layout', 'type' => 'info', 'title' => '', 'desc' => __('Layout', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'blog-posts', 'type' => 'text', 'title' => __('Posts per page', 'mfn-opts'), 'class' => 'small-text', 'std' => '4'), array('id' => 'blog-layout', 'type' => 'radio_img', 'title' => __('Layout', 'mfn-opts'), 'sub_desc' => __('Layout for Blog Page', 'mfn-opts'), 'options' => array('classic' => array('title' => 'Classic', 'img' => MFN_OPTIONS_URI . 'img/select/blog/classic.png'), 'masonry' => array('title' => 'Masonry Blog Style', 'img' => MFN_OPTIONS_URI . 'img/select/blog/masonry-blog.png'), 'masonry tiles' => array('title' => 'Masonry Tiles (Vertical Images)', 'img' => MFN_OPTIONS_URI . 'img/select/blog/masonry-tiles.png'), 'photo' => array('title' => 'Photo (Horizontal Images)', 'img' => MFN_OPTIONS_URI . 'img/select/blog/photo.png'), 'timeline' => array('title' => 'Timeline', 'img' => MFN_OPTIONS_URI . 'img/select/blog/timeline.png')), 'std' => 'classic', 'class' => 'wide'), array('id' => 'blog-columns', 'type' => 'sliderbar', 'title' => __('Columns', 'mfn-opts'), 'sub_desc' => __('default: 3', 'mfn-opts'), 'desc' => __('Recommended: 2-4. Too large value may crash the layout.<br />This option works in layout <b>Masonry</b>', 'mfn-opts'), 'param' => array('min' => 2, 'max' => 6), 'std' => 3), array('id' => 'blog-full-width', 'type' => 'switch', 'title' => __('Full Width', 'mfn-opts'), 'desc' => __('This option works in layout <b>Masonry</b>', 'mfn-opts'), 'options' => array('0' => 'Off', '1' => 'On'), 'std' => '0'), array('id' => 'blog-info-options', 'type' => 'info', 'title' => '', 'desc' => __('Options', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'blog-page', 'type' => 'pages_select', 'title' => __('Blog Page', 'mfn-opts'), 'sub_desc' => __('Assign page for blog', 'mfn-opts'), 'desc' => __('Use this option if you set <strong>Front page displays: Your latest posts</strong> in Settings > Reading', 'mfn-opts'), 'args' => array()), array('id' => 'excerpt-length', 'type' => 'text', 'title' => __('Excerpt Length', 'mfn-opts'), 'sub_desc' => __('Number of words', 'mfn-opts'), 'class' => 'small-text', 'std' => '26'), array('id' => 'blog-filters', 'type' => 'select', 'title' => __('Filters', 'mfn-opts'), 'options' => array('1' => 'Show', 'only-categories' => 'Show only Categories', 'only-tags' => 'Show only Tags', 'only-authors' => 'Show only Authors', '0' => 'Hide'), 'std' => '1'), array('id' => 'blog-load-more', 'type' => 'switch', 'title' => __('Load More button', 'mfn-opts'), 'sub_desc' => __('Show Ajax Load More button', 'mfn-opts'), 'desc' => __('This will replace all sliders on list with featured images', 'mfn-opts'), 'options' => array('0' => 'Off', '1' => 'On'), 'std' => '0'), array('id' => 'blog-meta', 'type' => 'switch', 'title' => __('Post Meta', 'mfn-opts'), 'sub_desc' => __('Show Author, Date & Categories', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'blog-info-single', 'type' => 'info', 'title' => '', 'desc' => __('Single Post', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'blog-title', 'type' => 'switch', 'title' => __('Title', 'mfn-opts'), 'sub_desc' => __('Show Post Title', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'blog-single-zoom', 'type' => 'switch', 'title' => __('Zoom Image', 'mfn-opts'), 'sub_desc' => __('Zoom Featured Image on click', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'blog-author', 'type' => 'switch', 'title' => __('Author Box', 'mfn-opts'), 'sub_desc' => __('Show Author Box', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'blog-related', 'type' => 'text', 'title' => __('Related Posts | Count', 'mfn-opts'), 'class' => 'small-text', 'std' => 3), array('id' => 'blog-related-columns', 'type' => 'sliderbar', 'title' => __('Related Posts | Columns', 'mfn-opts'), 'sub_desc' => __('default: 3', 'mfn-opts'), 'desc' => __('Recommended: 2-4. Too large value may crash the layout', 'mfn-opts'), 'param' => array('min' => 2, 'max' => 6), 'std' => 3), array('id' => 'blog-comments', 'type' => 'switch', 'title' => __('Comments', 'mfn-opts'), 'sub_desc' => __('Show Comments', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'blog-single-layout', 'type' => 'text', 'title' => __('Layout ID', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'blog-single-menu', 'type' => 'select', 'title' => __('Menu', 'mfn-opts'), 'options' => mfna_menu()), array('id' => 'blog-info-advanced', 'type' => 'info', 'title' => '', 'desc' => __('Advanced', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'blog-love-rand', 'type' => 'ajax', 'title' => __('Random Love', 'mfn-opts'), 'sub_desc' => __('Generate random number of loves', 'mfn-opts'), 'action' => 'mfn_love_randomize')));
     // Portfolio --------------------------------------------
     $sections['portfolio'] = array('title' => __('Portfolio', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'portfolio-info-layout', 'type' => 'info', 'title' => '', 'desc' => __('Layout', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'portfolio-posts', 'type' => 'text', 'title' => __('Projects per page', 'mfn-opts'), 'class' => 'small-text', 'std' => '8'), array('id' => 'portfolio-layout', 'type' => 'radio_img', 'title' => __('Layout', 'mfn-opts'), 'sub_desc' => __('Layout for Portfolio Pages', 'mfn-opts'), 'options' => array('flat' => array('title' => 'Flat', 'img' => MFN_OPTIONS_URI . 'img/select/portfolio/flat.png'), 'grid' => array('title' => 'Grid', 'img' => MFN_OPTIONS_URI . 'img/select/portfolio/grid.png'), 'masonry' => array('title' => 'Masonry Blog Style', 'img' => MFN_OPTIONS_URI . 'img/select/portfolio/masonry-blog.png'), 'masonry-hover' => array('title' => 'Masonry Hover Details', 'img' => MFN_OPTIONS_URI . 'img/select/portfolio/masonry-hover.png'), 'masonry-flat' => array('title' => 'Masonry Flat | 4 columns', 'img' => MFN_OPTIONS_URI . 'img/select/portfolio/masonry-flat.png'), 'list' => array('title' => 'List | 1 column', 'img' => MFN_OPTIONS_URI . 'img/select/portfolio/list.png'), 'exposure' => array('title' => 'Exposure | 1 column<br />for Full Width Portfolio', 'img' => MFN_OPTIONS_URI . 'img/select/portfolio/exposure.png')), 'std' => 'grid', 'class' => 'wide'), array('id' => 'portfolio-columns', 'type' => 'sliderbar', 'title' => __('Columns', 'mfn-opts'), 'desc' => __('Default: 3. Recommended: 2-4. Too large value may crash the layout.<br />This option works in layouts <b>Flat, Grid, Masonry Blog Style, Masonry Hover Details</b>', 'mfn-opts'), 'param' => array('min' => 2, 'max' => 6), 'std' => 4), array('id' => 'portfolio-full-width', 'type' => 'switch', 'title' => __('Full Width', 'mfn-opts'), 'desc' => __('This option works in layouts <b>Flat, Grid, Masonry</b>', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '0'), array('id' => 'portfolio-info-options', 'type' => 'info', 'title' => '', 'desc' => __('Options', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'portfolio-page', 'type' => 'pages_select', 'title' => __('Portfolio Page', 'mfn-opts'), 'sub_desc' => __('Assign page for portfolio', 'mfn-opts'), 'args' => array()), array('id' => 'portfolio-orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title', 'rand' => 'Random'), 'std' => 'date'), array('id' => 'portfolio-order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'portfolio-external', 'type' => 'select', 'title' => __('Project Link', 'mfn-opts'), 'sub_desc' => __('Image and Title Link', 'mfn-opts'), 'options' => array('' => 'Details', 'popup' => 'Popup Image', 'disable' => 'Disable Details | Only Popup Image', '_self' => 'Project Website | Open in the same window', '_blank' => 'Project Website | Open in new window')), array('id' => 'portfolio-hover-title', 'type' => 'switch', 'title' => __('Hover Title', 'mfn-opts'), 'sub_desc' => __('Show Project Title instead of Hover Icons', 'mfn-opts'), 'desc' => __('Only for short project titles', 'mfn-opts'), 'options' => array('0' => 'Off', '1' => 'On'), 'std' => '0'), array('id' => 'portfolio-filters', 'type' => 'select', 'title' => __('Filters', 'mfn-opts'), 'options' => array('1' => 'Show', 'only-categories' => 'Show only Categories', '0' => 'Hide'), 'std' => '1'), array('id' => 'portfolio-isotope', 'type' => 'switch', 'title' => __('jQuery filtering', 'mfn-opts'), 'desc' => __('When this option is enabled, portfolio looks great with all projects on single site, so please set "Posts per page" option to bigger number', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'portfolio-load-more', 'type' => 'switch', 'title' => __('Load More button', 'mfn-opts'), 'sub_desc' => __('Show Ajax Load More button', 'mfn-opts'), 'options' => array('0' => 'Off', '1' => 'On'), 'std' => '0'), array('id' => 'portfolio-info-single', 'type' => 'info', 'title' => '', 'desc' => __('Single Project', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'portfolio-related', 'type' => 'switch', 'title' => __('Single Project | Related Projects', 'mfn-opts'), 'sub_desc' => __('Show Related Projects', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'portfolio-comments', 'type' => 'switch', 'title' => __('Single Project | Comments', 'mfn-opts'), 'sub_desc' => __('Show Comments', 'mfn-opts'), 'options' => array('0' => 'Off', '1' => 'On'), 'std' => '0'), array('id' => 'portfolio-single-layout', 'type' => 'text', 'title' => __('Single Project | Layout ID', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'portfolio-single-menu', 'type' => 'select', 'title' => __('Single Project | Menu', 'mfn-opts'), 'options' => mfna_menu()), array('id' => 'portfolio-info-advanced', 'type' => 'info', 'title' => '', 'desc' => __('Advanced', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'portfolio-love-rand', 'type' => 'ajax', 'title' => __('Random Love', 'mfn-opts'), 'sub_desc' => __('Generate random number of loves', 'mfn-opts'), 'action' => 'mfn_love_randomize', 'param' => 'portfolio'), array('id' => 'portfolio-slug', 'type' => 'text', 'title' => __('Permalink | Single Project slug', 'mfn-opts'), 'sub_desc' => __('Do not use characters not allowed in links', 'mfn-opts'), 'desc' => __('Must be different from the Portfolio site title chosen above, eg. <b>portfolio-item</b>. After change go to <b>Settings > Permalinks</b> and click <b>Save changes</b>.', 'mfn-opts'), 'class' => 'small-text', 'std' => 'portfolio-item'), array('id' => 'portfolio-tax', 'type' => 'text', 'title' => __('Permalink | Category slug', 'mfn-opts'), 'sub_desc' => __('Do not use characters not allowed in links', 'mfn-opts'), 'desc' => __('Must be different from the Portfolio site title chosen above, eg. <b>portfolio-types</b>. After change go to <b>Settings > Permalinks</b> and click <b>Save changes</b>.', 'mfn-opts'), 'class' => 'small-text', 'std' => 'portfolio-types')));
     // Shop --------------------------------------------
     $sections['shop'] = array('title' => __('Shop', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'shop-info', 'type' => 'info', 'title' => '', 'desc' => __('Shop requires free WooCommerce plugin', 'mfn-opts'), 'class' => 'mfn-info desc'), array('id' => 'shop-info-layout', 'type' => 'info', 'title' => '', 'desc' => __('Layout', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'shop-products', 'type' => 'text', 'title' => __('Products per page', 'mfn-opts'), 'class' => 'small-text', 'std' => '12'), array('id' => 'shop-layout', 'type' => 'radio_img', 'title' => __('Layout', 'mfn-opts'), 'sub_desc' => __('Layout for Shop Pages', 'mfn-opts'), 'options' => array('grid' => array('title' => 'Grid 3 col', 'img' => MFN_OPTIONS_URI . 'img/select/shop/grid.png'), 'grid col-4' => array('title' => 'Grid 4 col', 'img' => MFN_OPTIONS_URI . 'img/select/shop/grid-4.png'), 'masonry' => array('title' => 'Masonry', 'img' => MFN_OPTIONS_URI . 'img/select/shop/masonry.png'), 'list' => array('title' => 'List', 'img' => MFN_OPTIONS_URI . 'img/select/shop/list.png')), 'std' => 'grid', 'class' => 'wide'), array('id' => 'shop-catalogue', 'type' => 'switch', 'title' => __('Catalogue Mode', 'mfn-opts'), 'sub_desc' => __('Remove all Add to Cart buttons', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '0'), array('id' => 'shop-info-options', 'type' => 'info', 'title' => '', 'desc' => __('Options', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'shop-excerpt', 'type' => 'switch', 'title' => __('Descriptions', 'mfn-opts'), 'sub_desc' => __('Show descriptions on shop page', 'mfn-opts'), 'options' => array('0' => 'Off', '1' => 'On'), 'std' => '0'), array('id' => 'shop-images', 'type' => 'select', 'title' => __('Images', 'mfn-opts'), 'options' => array('' => '- Default -', 'secondary' => 'Show secondary image on hover', 'plugin' => 'Use external plugin for featured images')), array('id' => 'shop-sidebar', 'type' => 'select', 'title' => __('Shop Sidebar', 'mfn-opts'), 'sub_desc' => __('Show Shop Page Sidebar on', 'mfn-opts'), 'options' => array('' => 'All (Shop, Categories, Products)', 'shop' => 'Shop & Categories')), array('id' => 'shop-slider', 'type' => 'select', 'title' => __('Shop Slider', 'mfn-opts'), 'sub_desc' => __('Show Shop Page Slider on', 'mfn-opts'), 'options' => array('' => 'Main Shop Page', 'all' => 'All (Shop, Categories, Products)')), array('id' => 'shop-info-single', 'type' => 'info', 'title' => '', 'desc' => __('Single Product', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'shop-product-images', 'type' => 'select', 'title' => __('Product | Image', 'mfn-opts'), 'options' => array('' => '- Default -', 'plugin' => 'Use external plugin for featured images')), array('id' => 'shop-related', 'type' => 'switch', 'title' => __('Product | Related', 'mfn-opts'), 'sub_desc' => __('Show Related Products', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'shop-product-style', 'type' => 'select', 'title' => __('Product | Style', 'mfn-opts'), 'options' => array('' => 'Accordion next to image', 'wide' => 'Accordion below image', 'tabs' => 'Tabs next to image', 'wide tabs' => 'Tabs below image')), array('id' => 'shop-product-title', 'type' => 'select', 'title' => __('Product | Title', 'mfn-opts'), 'sub_desc' => __('Show Product Title in', 'mfn-opts'), 'options' => array('' => 'Content', 'content-sub' => 'Content & Subheader', 'sub' => 'Subheader')), array('id' => 'shop-info-advanced', 'type' => 'info', 'title' => '', 'desc' => __('Advanced', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'shop-cart', 'type' => 'icon', 'title' => __('Cart | Icon', 'mfn-opts'), 'sub_desc' => __('Header Cart Icon', 'mfn-opts'), 'desc' => __('Leave this field blank to hide cart icon', 'mfn-opts'), 'class' => 'small-text', 'std' => 'icon-basket')));
     // Pages ==================================================================================
     // General -------------------------------------------
     $sections['pages-general'] = array('title' => __('General', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'page-comments', 'type' => 'switch', 'title' => __('Page Comments', 'mfn-opts'), 'sub_desc' => __('Show Comments for pages', 'mfn-opts'), 'desc' => __('Single Page', 'mfn-opts'), 'options' => array('0' => 'Off', '1' => 'On'), 'std' => '0')));
     // Error 404 -------------------------------------------
     $sections['pages-404'] = array('title' => __('Error 404', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'error404-icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'sub_desc' => __('Error 404 Page Icon', 'mfn-opts'), 'class' => 'small-text', 'std' => 'icon-traffic-cone'), array('id' => 'error404-page', 'type' => 'pages_select', 'title' => __('Custom Page', 'mfn-opts'), 'sub_desc' => __('Page Options are disabled', 'mfn-opts'), 'desc' => __('Leave this field <b>blank</b> if you want to use <b>default</b> 404 page', 'mfn-opts'), 'args' => array())));
     // Under Construction --------------------------------------------
     $sections['pages-under'] = array('title' => __('Under Construction', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'construction', 'type' => 'switch', 'title' => __('Under Construction', 'mfn-opts'), 'desc' => __('Under Construction page will be visible for all NOT logged in users.', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '0'), array('id' => 'construction-title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'std' => 'Coming Soon'), array('id' => 'construction-text', 'type' => 'textarea', 'title' => __('Text', 'mfn-opts')), array('id' => 'construction-date', 'type' => 'text', 'title' => __('Launch Date', 'mfn-opts'), 'desc' => __('Format: 12/30/2014 12:00:00 month/day/year hour:minute:second<br />Leave this field <b>blank to hide the counter</b>', 'mfn-opts'), 'std' => '12/30/2014 12:00:00', 'class' => 'small-text'), array('id' => 'construction-offset', 'type' => 'select', 'title' => __('UTC Timezone', 'mfn-opts'), 'options' => mfna_utc(), 'std' => '0'), array('id' => 'construction-contact', 'type' => 'text', 'title' => __('Contact Form Shortcode', 'mfn-opts'), 'desc' => __('eg. [contact-form-7 id="000" title="Maintenance"]', 'mfn-opts')), array('id' => 'construction-page', 'type' => 'pages_select', 'title' => __('Custom Page', 'mfn-opts'), 'sub_desc' => __('Page Options are disabled', 'mfn-opts'), 'desc' => __('Leave this field <b>blank</b> if you want to use <b>default</b> Under Construction page<br /><br /><b>Notice: </b>Plugins like Visual Composer & Gravity Forms <b>do not work</b> on this page', 'mfn-opts'), 'args' => array())));
     // Footer =================================================================================
     // Footer --------------------------------------------
     $sections['footer'] = array('title' => __('General', 'mfn-opts'), 'fields' => array(array('id' => 'footer-info-layout', 'type' => 'info', 'title' => '', 'desc' => __('Layout', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'footer-layout', 'type' => 'select', 'title' => __('Layout', 'mfn-opts'), 'options' => array('' => 'Default', '4;one-fourth;one-fourth;one-fourth;one-fourth' => '1/4 1/4 1/4 1/4', '3;one-fourth;one-fourth;one-second;' => '1/4 1/4 1/2', '3;one-fourth;one-second;one-fourth;' => '1/4 1/2 1/4', '3;one-second;one-fourth;one-fourth;' => '1/2 1/4 1/4', '3;one-third;one-third;one-third;' => '1/3 1/3 1/3', '2;one-third;two-third;;' => '1/3 2/3', '2;two-third;one-third;;' => '2/3 1/3', '2;one-second;one-second;;' => '1/2 1/2', '1;one;;;' => '1/1')), array('id' => 'footer-style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'options' => array('' => 'Default', 'fixed' => 'Fixed (covers content)', 'sliding' => 'Sliding (under content)', 'stick' => 'Stick to bottom if content is too short')), array('id' => 'footer-padding', 'type' => 'text', 'title' => __('Padding', 'mfn-opts'), 'sub_desc' => __('default: 15px 0', 'mfn-opts'), 'desc' => __('Use value with <b>px</b> or <b>em</b><br />Example: <b>20px 0</b> or <b>20px 0 30px 0</b> or <b>2em 0</b>', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'footer-bg-img', 'type' => 'upload', 'title' => __('Background Image', 'mfn-opts')), array('id' => 'footer-info-advanced', 'type' => 'info', 'title' => '', 'desc' => __('Advanced', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'footer-call-to-action', 'type' => 'text', 'title' => __('Call To Action', 'mfn-opts')), array('id' => 'footer-copy', 'type' => 'text', 'title' => __('Copyright', 'mfn-opts'), 'desc' => __('Leave this field blank to show a default copyright.', 'mfn-opts')), array('id' => 'footer-hide', 'type' => 'select', 'title' => __('Copyright & Social Bar', 'mfn-opts'), 'options' => array('' => 'Default', 'center' => 'Center', '1' => 'Hide Copyright & Social Bar')), array('id' => 'footer-info-extras', 'type' => 'info', 'title' => '', 'desc' => __('Extras', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'back-top-top', 'type' => 'select', 'title' => __('Back to Top button', 'mfn-opts'), 'options' => array('' => 'Default | in Copyright area', 'sticky' => 'Sticky', 'sticky scroll' => 'Sticky show on scroll', 'hide' => 'Hide')), array('id' => 'popup-contact-form', 'type' => 'text', 'title' => __('Popup Contact Form | Shortcode', 'mfn-opts'), 'desc' => __('	eg. [contact-form-7 id="000" title="Popup Contact Form"]', 'mfn-opts')), array('id' => 'popup-contact-form-icon', 'type' => 'icon', 'title' => __('Popup Contact Form | Icon', 'mfn-opts'), 'std' => 'icon-mail-line')));
     // Responsive =================================================================================
     // Responsive --------------------------------------------
     $sections['responsive'] = array('title' => __('General', 'mfn-opts'), 'fields' => array(array('id' => 'responsive', 'type' => 'switch', 'title' => __('Responsive', 'mfn-opts'), 'desc' => __('<b>Notice:</b> Responsive menu is working only with WordPress custom menu, please add one in Appearance > Menus and select it for Theme Locations section. <a href="http://en.support.wordpress.com/menus/" target="_blank">http://en.support.wordpress.com/menus/</a>', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'mobile-menu-initial', 'type' => 'sliderbar', 'title' => __('Responsive Menu Initial width', 'mfn-opts'), 'sub_desc' => __('default: 1240px', 'mfn-opts'), 'desc' => __('Values <b>less than 1240</b> are for menu with small amount of items<br />This option does <b>not</b> affect Creative Header', 'mfn-opts'), 'param' => array('min' => 768, 'max' => 1240), 'std' => 1240), array('id' => 'responsive-options', 'type' => 'checkbox', 'title' => __('Options', 'mfn-opts'), 'options' => array('mobile-wide' => 'Wide Wrapper on Mobile <span>some items may look different</span>')), array('id' => 'responsive-logo-img', 'type' => 'upload', 'title' => __('Logo', 'mfn-opts'), 'sub_desc' => __('optional', 'mfn-opts'), 'desc' => __('Use if you want different logo for Mobile ( < 768px )', 'mfn-opts')), array('id' => 'responsive-retina-logo-img', 'type' => 'upload', 'title' => __('Retina Logo', 'mfn-opts'), 'sub_desc' => __('optional', 'mfn-opts'), 'desc' => __('Retina Logo should be 2x larger than Logo', 'mfn-opts')), array('id' => 'font-size-responsive', 'type' => 'switch', 'title' => __('Decrease Fonts', 'mfn-opts'), 'desc' => __('Automatically decrease font size in responsive', 'mfn-opts'), 'options' => array('0' => 'Off', '1' => 'On'), 'std' => '0'), array('id' => 'no-hover', 'type' => 'select', 'title' => __('Hover Effects', 'mfn-opts'), 'options' => array('' => 'Always Enabled', 'tablet' => 'Enabled on Desktop only')), array('id' => 'header-menu-mobile-sticky', 'type' => 'switch', 'title' => __('Menu Button | Sticky', 'mfn-opts'), 'desc' => __('Sticky Menu Button on mobile', 'mfn-opts'), 'options' => array('0' => 'Off', '1' => 'On'), 'std' => '0'), array('id' => 'header-menu-text', 'type' => 'text', 'title' => __('Menu Button | Text', 'mfn-opts'), 'desc' => __('This text will be used instead of the menu icon', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'no-section-bg', 'type' => 'select', 'title' => __('Section Background Image', 'mfn-opts'), 'options' => array('' => 'Always Show', 'tablet' => 'Show on Desktop only')), array('id' => 'responsive-top-bar', 'type' => 'select', 'title' => __('Top Bar Icons', 'mfn-opts'), 'options' => array('left' => 'Left', 'center' => 'Center', 'right' => 'Right', 'hide' => 'Hide Icons & Action Button'))));
     // SEO ====================================================================================
     // SEO -------------------------------------------
     $sections['seo'] = array('title' => __('General', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'google-analytics', 'type' => 'textarea', 'title' => __('Google | Analytics', 'mfn-opts'), 'sub_desc' => __('Paste your Google Analytics code here', 'mfn-opts')), array('id' => 'google-remarketing', 'type' => 'textarea', 'title' => __('Google | Remarketing', 'mfn-opts'), 'sub_desc' => __('Paste your Google Remarketing code here', 'mfn-opts')), array('id' => 'mfn-seo', 'type' => 'switch', 'title' => __('Use built-in fields', 'mfn-opts'), 'desc' => __('Turn it OFF if you want to use external SEO plugin', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'meta-description', 'type' => 'text', 'title' => __('Meta Description', 'mfn-opts'), 'desc' => __('These setting may be overridden for single posts & pages', 'mfn-opts'), 'std' => get_bloginfo('description')), array('id' => 'meta-keywords', 'type' => 'text', 'title' => __('Meta Keywords', 'mfn-opts'), 'desc' => __('These setting may be overridden for single posts & pages', 'mfn-opts'))));
     // Social Icons ===========================================================================
     // Social Icons --------------------------------------------
     $sections['social'] = array('title' => __('General', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'social-target', 'type' => 'switch', 'title' => __('Open links in new window', 'mfn-opts'), 'desc' => __('Open social links in new window', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '0'), array('id' => 'social-skype', 'type' => 'text', 'title' => __('Skype', 'mfn-opts'), 'sub_desc' => __('Type your Skype login here', 'mfn-opts'), 'desc' => __('You can use <strong>callto:</strong> or <strong>skype:</strong> prefix', 'mfn-opts')), array('id' => 'social-facebook', 'type' => 'text', 'title' => __('Facebook', 'mfn-opts'), 'sub_desc' => __('Type your Facebook link here', 'mfn-opts')), array('id' => 'social-googleplus', 'type' => 'text', 'title' => __('Google +', 'mfn-opts'), 'sub_desc' => __('Type your Google + link here', 'mfn-opts')), array('id' => 'social-twitter', 'type' => 'text', 'title' => __('Twitter', 'mfn-opts'), 'sub_desc' => __('Type your Twitter link here', 'mfn-opts')), array('id' => 'social-vimeo', 'type' => 'text', 'title' => __('Vimeo', 'mfn-opts'), 'sub_desc' => __('Type your Vimeo link here', 'mfn-opts')), array('id' => 'social-youtube', 'type' => 'text', 'title' => __('YouTube', 'mfn-opts'), 'sub_desc' => __('Type your YouTube link here', 'mfn-opts')), array('id' => 'social-flickr', 'type' => 'text', 'title' => __('Flickr', 'mfn-opts'), 'sub_desc' => __('Type your Flickr link here', 'mfn-opts')), array('id' => 'social-linkedin', 'type' => 'text', 'title' => __('LinkedIn', 'mfn-opts'), 'sub_desc' => __('Type your LinkedIn link here', 'mfn-opts')), array('id' => 'social-pinterest', 'type' => 'text', 'title' => __('Pinterest', 'mfn-opts'), 'sub_desc' => __('Type your Pinterest link here', 'mfn-opts')), array('id' => 'social-dribbble', 'type' => 'text', 'title' => __('Dribbble', 'mfn-opts'), 'sub_desc' => __('Type your Dribbble link here', 'mfn-opts')), array('id' => 'social-instagram', 'type' => 'text', 'title' => __('Instagram', 'mfn-opts'), 'sub_desc' => __('Type your Instagram link here', 'mfn-opts')), array('id' => 'social-behance', 'type' => 'text', 'title' => __('Behance', 'mfn-opts'), 'sub_desc' => __('Type your Behance link here', 'mfn-opts')), array('id' => 'social-tumblr', 'type' => 'text', 'title' => __('Tumblr', 'mfn-opts'), 'sub_desc' => __('Type your Tumblr link here', 'mfn-opts')), array('id' => 'social-vkontakte', 'type' => 'text', 'title' => __('VKontakte', 'mfn-opts'), 'sub_desc' => __('Type your VKontakte link here', 'mfn-opts')), array('id' => 'social-viadeo', 'type' => 'text', 'title' => __('Viadeo', 'mfn-opts'), 'sub_desc' => __('Type your Viadeo link here', 'mfn-opts')), array('id' => 'social-xing', 'type' => 'text', 'title' => __('Xing', 'mfn-opts'), 'sub_desc' => __('Type your Xing link here', 'mfn-opts')), array('id' => 'social-rss', 'type' => 'switch', 'title' => __('RSS', 'mfn-opts'), 'desc' => __('Show the RSS icon', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '0')));
     // Addons, Plugins ========================================================================
     // Addons -------------------------------------------
     $sections['addons'] = array('title' => __('Addons', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'sc-gallery-disable', 'type' => 'switch', 'title' => __('Gallery Shortcode | Disable', 'mfn-opts'), 'sub_desc' => __('Disable Theme Gallery Shortcode', 'mfn-opts'), 'desc' => __('Turn it ON if you want to use external gallery plugin or Jetpack', 'mfn-opts'), 'options' => array('0' => 'Off', '1' => 'On'), 'std' => '0'), array('id' => 'nice-scroll', 'type' => 'switch', 'title' => __('Nice Scroll', 'mfn-opts'), 'desc' => __('Scrollbar with a very similar ios/mobile style', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'nice-scroll-speed', 'type' => 'text', 'title' => __('Nice Scroll | Speed', 'mfn-opts'), 'sub_desc' => __('default: 40', 'mfn-opts'), 'desc' => __('px', 'mfn-opts'), 'class' => 'small-text', 'std' => '40'), array('id' => 'parallax', 'type' => 'select', 'title' => __('Parallax | Plugin', 'mfn-opts'), 'options' => array('enllax' => 'Enllax (new)', 'stellar' => 'Stellar (old)')), array('id' => 'prettyphoto-options', 'type' => 'checkbox', 'title' => __('Pretty Photo | Options', 'mfn-opts'), 'options' => array('disable' => 'Disable', 'disable-mobile' => 'Disable on Mobile only', 'title' => 'Show image alt text above prettyPhoto frame')), array('id' => 'prettyphoto', 'type' => 'select', 'title' => __('Pretty Photo | Style', 'mfn-opts'), 'desc' => __('Disable prettyPhoto if you use other plugin', 'mfn-opts'), 'options' => array('pp_default' => 'Default', 'light_rounded' => 'Light Rounded', 'dark_rounded' => 'Dark Rounded', 'light_square' => 'Light Square', 'dark_square' => 'Dark Square', 'facebook' => 'Facebook')), array('id' => 'prettyphoto-width', 'type' => 'text', 'title' => __('Pretty Photo | Width', 'mfn-opts'), 'sub_desc' => __('prettyPhoto popup width for iframe video', 'mfn-opts'), 'desc' => __('px. Leave blank to use auto width', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'prettyphoto-height', 'type' => 'text', 'title' => __('Pretty Photo | Height', 'mfn-opts'), 'sub_desc' => __('prettyPhoto popup height for iframe video', 'mfn-opts'), 'desc' => __('px. Leave blank to use auto height', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'retina-js-disable', 'type' => 'switch', 'title' => __('Retina.js | Disable', 'mfn-opts'), 'sub_desc' => __('Disable Retina.js', 'mfn-opts'), 'options' => array('0' => 'Off', '1' => 'On'), 'std' => '0')));
     // Plugins --------------------------------------------
     $sections['plugins'] = array('title' => __('Premium Plugins', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'plugins-info', 'type' => 'info', 'title' => '', 'desc' => __('Below plugins came bundled with a theme.<br />The use of these plugins is limited to this theme only.<br /><br />Hovewer if you have <b>purchased an extra single license</b> on CodeCanyon for any of these plugins you can <b>disable "bundled"</b> option for plugin you have purchased.<br />After that you can enter your plugin purchase code on <b>plugin options page</b> to get <b>Premium Support from Plugin Author</b> and <b>Auto Updates</b>.', 'mfn-opts')), array('id' => 'plugin-rev', 'type' => 'select', 'title' => __('Revolution Slider', 'mfn-opts'), 'options' => array('' => 'Bundled with a Theme', 'disable' => 'I have purchased an extra licence on CodeCanyon')), array('id' => 'plugin-layer', 'type' => 'select', 'title' => __('Layer Slider', 'mfn-opts'), 'options' => array('' => 'Bundled with a Theme', 'disable' => 'I have purchased an extra licence on CodeCanyon')), array('id' => 'plugin-visual', 'type' => 'select', 'title' => __('Visual Composer', 'mfn-opts'), 'options' => array('' => 'Bundled with a Theme', 'disable' => 'I have purchased an extra licence on CodeCanyon'))));
     // Colors =================================================================================
     // General --------------------------------------------
     $sections['colors-general'] = array('title' => __('General', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'skin', 'type' => 'select', 'title' => __('Theme Skin', 'mfn-opts'), 'sub_desc' => __('Choose one of the predefined styles or set your own colors', 'mfn-opts'), 'desc' => __('<strong>Important:</strong> Color options can be used only with the <strong>Custom Skin</strong>', 'mfn-opts'), 'options' => mfna_skin(), 'std' => 'custom'), array('id' => 'background-body', 'type' => 'color', 'title' => __('Body background', 'mfn-opts'), 'std' => '#FCFCFC'), array('id' => 'color-one', 'type' => 'color', 'title' => __('One Color', 'mfn-opts'), 'sub_desc' => __('One Color Skin Generator', 'mfn-opts'), 'desc' => __('<strong>Important:</strong> This option can be used only with the <strong>One Color Skin</strong>', 'mfn-opts'), 'std' => '#2991D6')));
     // Header --------------------------------------------
     $sections['colors-header'] = array('title' => __('Header', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'background-header', 'type' => 'color', 'title' => __('Header background', 'mfn-opts'), 'std' => '#000119'), array('id' => 'background-top-left', 'type' => 'color', 'title' => __('Top Bar Left background', 'mfn-opts'), 'desc' => __('This is also Mobile Header & Top Bar Background for some Header Styles', 'mfn-opts'), 'std' => '#ffffff'), array('id' => 'background-top-middle', 'type' => 'color', 'title' => __('Top Bar Middle background', 'mfn-opts'), 'std' => '#e3e3e3'), array('id' => 'background-top-right', 'type' => 'color', 'title' => __('Top Bar Right | background', 'mfn-opts'), 'std' => '#f5f5f5'), array('id' => 'color-top-right-a', 'type' => 'color', 'title' => __('Top Bar Right | Icon color', 'mfn-opts'), 'std' => '#444444'), array('id' => 'background-search', 'type' => 'color', 'title' => __('Search Bar background', 'mfn-opts'), 'std' => '#2991D6'), array('id' => 'background-subheader', 'type' => 'color', 'title' => __('Subheader background', 'mfn-opts'), 'std' => '#F7F7F7'), array('id' => 'color-subheader', 'type' => 'color', 'title' => __('Subheader Title color', 'mfn-opts'), 'std' => '#888888')));
     // Menu --------------------------------------------
     $sections['colors-menu'] = array('title' => __('Menu & Action Bar', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'colors-info-menu', 'type' => 'info', 'title' => '', 'desc' => __('Menu', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'color-menu-a', 'type' => 'color', 'title' => __('Menu | Link color', 'mfn-opts'), 'std' => '#444444'), array('id' => 'color-menu-a-active', 'type' => 'color', 'title' => __('Menu | Active Link color', 'mfn-opts'), 'desc' => __('This is also Active Link Border', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-menu-a-active', 'type' => 'color', 'title' => __('Menu | Active Link background', 'mfn-opts'), 'desc' => __('For: Highlight & Plain Menu style', 'mfn-opts'), 'std' => '#F2F2F2'), array('id' => 'colors-info-submenu', 'type' => 'info', 'title' => '', 'desc' => __('Submenu', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'background-submenu', 'type' => 'color', 'title' => __('Submenu | background', 'mfn-opts'), 'std' => '#F2F2F2'), array('id' => 'color-submenu-a', 'type' => 'color', 'title' => __('Submenu | Link color', 'mfn-opts'), 'std' => '#5f5f5f'), array('id' => 'color-submenu-a-hover', 'type' => 'color', 'title' => __('Submenu | Hover Link color', 'mfn-opts'), 'std' => '#2e2e2e'), array('id' => 'colors-info-menu-styles', 'type' => 'info', 'title' => '', 'desc' => __('Menu Styles', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'background-overlay-menu', 'type' => 'color', 'title' => __('Overlay Menu | background', 'mfn-opts'), 'desc' => __('Header Overlay Menu only', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-overlay-menu-a', 'type' => 'color', 'title' => __('Overlay Menu | Link color', 'mfn-opts'), 'desc' => __('Header Overlay Menu only', 'mfn-opts'), 'std' => '#ffffff'), array('id' => 'background-overlay-menu-a-active', 'type' => 'color', 'title' => __('Overlay Menu | Active Link color', 'mfn-opts'), 'desc' => __('Header Overlay Menu only', 'mfn-opts'), 'std' => '#B1DCFB'), array('id' => 'border-menu-plain', 'type' => 'color', 'title' => __('Plain Menu | Border color', 'mfn-opts'), 'desc' => __('Header Plain only', 'mfn-opts'), 'std' => '#F2F2F2'), array('id' => 'colors-info-action-bar', 'type' => 'info', 'title' => '', 'desc' => __('Action Bar', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'background-action-bar', 'type' => 'color', 'title' => __('Action Bar | background', 'mfn-opts'), 'desc' => __('For some Header Styles', 'mfn-opts'), 'std' => '#2C2C2C')));
     // Content --------------------------------------------
     $sections['content'] = array('title' => __('Content', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'color-theme', 'type' => 'color', 'title' => __('Theme color', 'mfn-opts'), 'sub_desc' => __('Color for highlighted buttons, icons and other small elements', 'mfn-opts'), 'desc' => __('You can use <strong>.themecolor</strong> and <strong>.themebg</strong> classes in your content', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-text', 'type' => 'color', 'title' => __('Text color', 'mfn-opts'), 'sub_desc' => __('Content text color', 'mfn-opts'), 'std' => '#626262'), array('id' => 'color-a', 'type' => 'color', 'title' => __('Link color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-a-hover', 'type' => 'color', 'title' => __('Link Hover color', 'mfn-opts'), 'std' => '#2275ac'), array('id' => 'color-fancy-link', 'type' => 'color', 'title' => __('Fancy Link | color', 'mfn-opts'), 'desc' => __('For some link styles only', 'mfn-opts'), 'std' => '#656B6F'), array('id' => 'background-fancy-link', 'type' => 'color', 'title' => __('Fancy Link | background', 'mfn-opts'), 'desc' => __('For some link styles only', 'mfn-opts'), 'std' => '#2195de'), array('id' => 'color-fancy-link-hover', 'type' => 'color', 'title' => __('Fancy Link | Hover color', 'mfn-opts'), 'desc' => __('For some link styles only', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-fancy-link-hover', 'type' => 'color', 'title' => __('Fancy Link | Hover background', 'mfn-opts'), 'desc' => __('For some link styles only', 'mfn-opts'), 'std' => '#2275ac'), array('id' => 'color-note', 'type' => 'color', 'title' => __('Note color', 'mfn-opts'), 'desc' => __('eg. Blog meta, Filters, Widgets meta', 'mfn-opts'), 'std' => '#a8a8a8'), array('id' => 'color-list', 'type' => 'color', 'title' => __('List color', 'mfn-opts'), 'desc' => __('Ordered, Unordered & Bullets List', 'mfn-opts'), 'std' => '#737E86'), array('id' => 'background-highlight', 'type' => 'color', 'title' => __('Dropcap & Highlight background', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-highlight-section', 'type' => 'color', 'title' => __('Highlight Section background', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-hr', 'type' => 'color', 'title' => __('Hr color', 'mfn-opts'), 'desc' => __('Dots, ZigZag & Theme Color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-button', 'type' => 'color', 'title' => __('Button | background', 'mfn-opts'), 'std' => '#f7f7f7'), array('id' => 'color-button', 'type' => 'color', 'title' => __('Button | color', 'mfn-opts'), 'std' => '#747474')));
     // Footer --------------------------------------------
     $sections['colors-footer'] = array('title' => __('Footer', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'color-footer-theme', 'type' => 'color', 'title' => __('Footer Theme color', 'mfn-opts'), 'sub_desc' => __('Color for icons and other small elements', 'mfn-opts'), 'desc' => __('You can use <strong>.themecolor</strong> and <strong>.themebg</strong> classes in your footer content', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-footer', 'type' => 'color', 'title' => __('Footer background', 'mfn-opts'), 'std' => '#545454'), array('id' => 'color-footer', 'type' => 'color', 'title' => __('Footer Text color', 'mfn-opts'), 'std' => '#cccccc'), array('id' => 'color-footer-a', 'type' => 'color', 'title' => __('Footer Link color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-footer-a-hover', 'type' => 'color', 'title' => __('Footer Hover Link color', 'mfn-opts'), 'std' => '#2275ac'), array('id' => 'color-footer-heading', 'type' => 'color', 'title' => __('Footer Heading color', 'mfn-opts'), 'std' => '#ffffff'), array('id' => 'color-footer-note', 'type' => 'color', 'title' => __('Footer Note color', 'mfn-opts'), 'desc' => __('eg. Widget meta', 'mfn-opts'), 'std' => '#a8a8a8')));
     // Sliding Top --------------------------------------------
     $sections['colors-sliding-top'] = array('title' => __('Sliding Top', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'color-sliding-top-theme', 'type' => 'color', 'title' => __('Sliding Top Theme color', 'mfn-opts'), 'sub_desc' => __('Color for icons and other small elements', 'mfn-opts'), 'desc' => __('You can use <strong>.themecolor</strong> and <strong>.themebg</strong> classes in your Sliding Top content', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-sliding-top', 'type' => 'color', 'title' => __('Sliding Top background', 'mfn-opts'), 'std' => '#545454'), array('id' => 'color-sliding-top', 'type' => 'color', 'title' => __('Sliding Top Text color', 'mfn-opts'), 'std' => '#cccccc'), array('id' => 'color-sliding-top-a', 'type' => 'color', 'title' => __('Sliding Top Link color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-sliding-top-a-hover', 'type' => 'color', 'title' => __('Sliding Top Hover Link color', 'mfn-opts'), 'std' => '#2275ac'), array('id' => 'color-sliding-top-heading', 'type' => 'color', 'title' => __('Sliding Top Heading color', 'mfn-opts'), 'std' => '#ffffff'), array('id' => 'color-sliding-top-note', 'type' => 'color', 'title' => __('Sliding Top Note color', 'mfn-opts'), 'desc' => __('eg. Widget meta', 'mfn-opts'), 'std' => '#a8a8a8')));
     // Headings --------------------------------------------
     $sections['headings'] = array('title' => __('Headings', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'color-h1', 'type' => 'color', 'title' => __('Heading H1 color', 'mfn-opts'), 'std' => '#444444'), array('id' => 'color-h2', 'type' => 'color', 'title' => __('Heading H2 color', 'mfn-opts'), 'std' => '#444444'), array('id' => 'color-h3', 'type' => 'color', 'title' => __('Heading H3 color', 'mfn-opts'), 'std' => '#444444'), array('id' => 'color-h4', 'type' => 'color', 'title' => __('Heading H4 color', 'mfn-opts'), 'std' => '#444444'), array('id' => 'color-h5', 'type' => 'color', 'title' => __('Heading H5 color', 'mfn-opts'), 'std' => '#444444'), array('id' => 'color-h6', 'type' => 'color', 'title' => __('Heading H6 color', 'mfn-opts'), 'std' => '#444444')));
     // Shortcodes --------------------------------------------
     $sections['colors-shortcodes'] = array('title' => __('Shortcodes', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI . 'img/icons/sub.png', 'fields' => array(array('id' => 'color-tab-title', 'type' => 'color', 'title' => __('Accordion & Tabs Active Title color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-blockquote', 'type' => 'color', 'title' => __('Blockquote color', 'mfn-opts'), 'std' => '#444444'), array('id' => 'color-contentlink', 'type' => 'color', 'title' => __('Content Link Icon color', 'mfn-opts'), 'desc' => __('This is also Content Link Hover Border', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-counter', 'type' => 'color', 'title' => __('Counter Icon color', 'mfn-opts'), 'desc' => __('This is also Chart Progress color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-getintouch', 'type' => 'color', 'title' => __('Get in Touch background', 'mfn-opts'), 'desc' => __('This is also Infobox background', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-iconbar', 'type' => 'color', 'title' => __('Icon Bar Hover Icon color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-iconbox', 'type' => 'color', 'title' => __('Icon Box Icon color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-imageframe-link', 'type' => 'color', 'title' => __('Image Frame Link background', 'mfn-opts'), 'desc' => __('This is also Image Frame Hover Link color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-imageframe-link', 'type' => 'color', 'title' => __('Image Frame Link color', 'mfn-opts'), 'desc' => __('This is also Image Frame Hover Link background', 'mfn-opts'), 'std' => '#ffffff'), array('id' => 'color-list-icon', 'type' => 'color', 'title' => __('List & Feature List Icon color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-pricing-price', 'type' => 'color', 'title' => __('Pricing Box Price color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-pricing-featured', 'type' => 'color', 'title' => __('Pricing Box Featured background', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-progressbar', 'type' => 'color', 'title' => __('Progress Bar background', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'color-quickfact-number', 'type' => 'color', 'title' => __('Quick Fact Number color', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-slidingbox-title', 'type' => 'color', 'title' => __('Sliding Box Title background', 'mfn-opts'), 'std' => '#2991d6'), array('id' => 'background-trailer-subtitle', 'type' => 'color', 'title' => __('Trailer Box Subtitle background', 'mfn-opts'), 'std' => '#2991d6')));
     // Font Family --------------------------------------------
     $sections['font-family'] = array('title' => __('Family', 'mfn-opts'), 'fields' => array(array('id' => 'font-info-family', 'type' => 'info', 'title' => '', 'desc' => __('Font Family', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'font-content', 'type' => 'font_select', 'title' => __('Content', 'mfn-opts'), 'sub_desc' => __('All theme texts except headings and menu', 'mfn-opts'), 'std' => 'Roboto'), array('id' => 'font-menu', 'type' => 'font_select', 'title' => __('Main Menu', 'mfn-opts'), 'sub_desc' => __('Header menu', 'mfn-opts'), 'std' => 'Roboto'), array('id' => 'font-title', 'type' => 'font_select', 'title' => __('Page Title', 'mfn-opts'), 'std' => 'Patua One'), array('id' => 'font-headings', 'type' => 'font_select', 'title' => __('Big Headings', 'mfn-opts'), 'sub_desc' => __('H1, H2, H3 & H4 headings', 'mfn-opts'), 'std' => 'Patua One'), array('id' => 'font-headings-small', 'type' => 'font_select', 'title' => __('Small Headings', 'mfn-opts'), 'sub_desc' => __('H5 & H6 headings', 'mfn-opts'), 'std' => 'Roboto'), array('id' => 'font-blockquote', 'type' => 'font_select', 'title' => __('Blockquote', 'mfn-opts'), 'std' => 'Patua One'), array('id' => 'font-decorative', 'type' => 'font_select', 'title' => __('Decorative', 'mfn-opts'), 'sub_desc' => __('Digits in some items', 'mfn-opts'), 'desc' => __('eg. Chart Box, Counter, How it Works, Quick Fact, Single Product Price', 'mfn-opts'), 'std' => 'Patua One'), array('id' => 'font-info-google', 'type' => 'info', 'title' => '', 'desc' => __('Google Fonts', 'mfn-opts'), 'class' => 'mfn-info'), array('id' => 'font-weight', 'type' => 'checkbox', 'title' => __('Google Fonts Style & Weight', 'mfn-opts'), 'sub_desc' => __('Impact on page <b>load time</b>', 'mfn-opts'), 'desc' => __('Some of the fonts in the Google Fonts Directory support multiple styles. For a complete list of available font subsets please see <a href="http://www.google.com/webfonts" target="_blank">Google Web Fonts</a>.', 'mfn-opts'), 'options' => array('100' => '100 Thin', '100italic' => '100 Thin Italic', '200' => '200 Extra-Light', '200italic' => '200 Extra-Light Italic', '300' => '300 Light', '300italic' => '300 Light Italic', '400' => '400 Regular', '400italic' => '400 Regular Italic', '500' => '500 Medium', '500italic' => '500 Medium Italic', '600' => '600 Semi-Bold', '600italic' => '600 Semi-Bold Italic', '700' => '700 Bold', '700italic' => '700 Bold Italic', '800' => '800 Extra-Bold', '800italic' => '800 Extra-Bold Italic', '900' => '900 Black', '900italic' => '900 Black Italic'), 'class' => 'float-left'), array('id' => 'font-subset', 'type' => 'text', 'title' => __('Google Fonts Subset', 'mfn-opts'), 'sub_desc' => __('Specify which subsets should be downloaded. Multiple subsets should be separated with coma (,)', 'mfn-opts'), 'desc' => __('Some of the fonts in the Google Fonts Directory support multiple scripts (like Latin and Cyrillic for example). For a complete list of available font subsets please see <a href="http://www.google.com/webfonts" target="_blank">Google Web Fonts</a>.', 'mfn-opts'), 'class' => 'small-text')));
     // Content Font Size --------------------------------------------
     $sections['font-size'] = array('title' => __('Size', 'mfn-opts'), 'fields' => array(array('id' => 'font-size-content', 'type' => 'sliderbar', 'title' => __('Content', 'mfn-opts'), 'sub_desc' => __('This font size will be used for all theme texts', 'mfn-opts'), 'std' => '13'), array('id' => 'font-size-menu', 'type' => 'sliderbar', 'title' => __('Main menu', 'mfn-opts'), 'sub_desc' => __('This font size will be used for top level only', 'mfn-opts'), 'std' => '14'), array('id' => 'font-size-title', 'type' => 'sliderbar', 'title' => __('Page Title', 'mfn-opts'), 'std' => '25'), array('id' => 'font-size-h1', 'type' => 'sliderbar', 'title' => __('Heading H1', 'mfn-opts'), 'std' => '25'), array('id' => 'font-size-h2', 'type' => 'sliderbar', 'title' => __('Heading H2', 'mfn-opts'), 'std' => '30'), array('id' => 'font-size-h3', 'type' => 'sliderbar', 'title' => __('Heading H3', 'mfn-opts'), 'std' => '25'), array('id' => 'font-size-h4', 'type' => 'sliderbar', 'title' => __('Heading H4', 'mfn-opts'), 'std' => '21'), array('id' => 'font-size-h5', 'type' => 'sliderbar', 'title' => __('Heading H5', 'mfn-opts'), 'std' => '15'), array('id' => 'font-size-h6', 'type' => 'sliderbar', 'title' => __('Heading H6', 'mfn-opts'), 'std' => '13')));
     // Font Custom --------------------------------------------
     $sections['font-custom'] = array('title' => __('Custom', 'mfn-opts'), 'fields' => array(array('id' => 'font-custom', 'type' => 'text', 'title' => __('Font | Name', 'mfn-opts'), 'sub_desc' => __('Please use only letters or spaces, eg. Patua One', 'mfn-opts'), 'desc' => __('Name for Custom Font uploaded below. Font will show on fonts list after click the Save Changes button.', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'font-custom-woff', 'type' => 'upload', 'title' => __('Font | .woff', 'mfn-opts'), 'class' => ''), array('id' => 'font-custom-ttf', 'type' => 'upload', 'title' => __('Font | .ttf', 'mfn-opts'), 'class' => ''), array('id' => 'font-custom-svg', 'type' => 'upload', 'title' => __('Font | .svg', 'mfn-opts'), 'class' => ''), array('id' => 'font-custom-eot', 'type' => 'upload', 'title' => __('Font | .eot', 'mfn-opts'), 'class' => ''), array('id' => 'font-custom2', 'type' => 'text', 'title' => __('Font 2 | Name', 'mfn-opts'), 'sub_desc' => __('Please use only letters or spaces, eg. Patua One', 'mfn-opts'), 'desc' => __('Name for Custom Font 2 uploaded below. Font will show on fonts list after click the Save Changes button.', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'font-custom2-woff', 'type' => 'upload', 'title' => __('Font 2 | .woff', 'mfn-opts'), 'class' => ''), array('id' => 'font-custom2-ttf', 'type' => 'upload', 'title' => __('Font 2 | .ttf', 'mfn-opts'), 'class' => ''), array('id' => 'font-custom2-svg', 'type' => 'upload', 'title' => __('Font 2 | .svg', 'mfn-opts'), 'class' => ''), array('id' => 'font-custom2-eot', 'type' => 'upload', 'title' => __('Font 2 | .eot', 'mfn-opts'), 'class' => '')));
     // Translate / General --------------------------------------------
     $sections['translate-general'] = array('title' => __('General', 'mfn-opts'), 'fields' => array(array('id' => 'translate', 'type' => 'switch', 'title' => __('Enable Translate', 'mfn-opts'), 'desc' => __('Turn it off if you want to use .mo .po files for more complex translation.', 'mfn-opts'), 'options' => array('1' => 'On', '0' => 'Off'), 'std' => '1'), array('id' => 'translate-search-placeholder', 'type' => 'text', 'title' => __('Search Placeholder', 'mfn-opts'), 'desc' => __('Search Form', 'mfn-opts'), 'std' => 'Enter your search', 'class' => 'small-text'), array('id' => 'translate-search-results', 'type' => 'text', 'title' => __('results found for:', 'mfn-opts'), 'desc' => __('Search Results', 'mfn-opts'), 'std' => 'results found for:', 'class' => 'small-text'), array('id' => 'translate-home', 'type' => 'text', 'title' => __('Home', 'mfn-opts'), 'desc' => __('Breadcrumbs', 'mfn-opts'), 'std' => 'Home', 'class' => 'small-text'), array('id' => 'translate-prev', 'type' => 'text', 'title' => __('Prev page', 'mfn-opts'), 'desc' => __('Pagination', 'mfn-opts'), 'std' => 'Prev page', 'class' => 'small-text'), array('id' => 'translate-next', 'type' => 'text', 'title' => __('Next page', 'mfn-opts'), 'desc' => __('Pagination', 'mfn-opts'), 'std' => 'Next page', 'class' => 'small-text'), array('id' => 'translate-load-more', 'type' => 'text', 'title' => __('Load more', 'mfn-opts'), 'desc' => __('Pagination', 'mfn-opts'), 'std' => 'Load more', 'class' => 'small-text'), array('id' => 'translate-wpml-no', 'type' => 'text', 'title' => __('No translations available for this page', 'mfn-opts'), 'desc' => __('WPML Languages Menu', 'mfn-opts'), 'std' => 'No translations available for this page'), array('id' => 'translate-days', 'type' => 'text', 'title' => __('Days', 'mfn-opts'), 'desc' => __('Countdown', 'mfn-opts'), 'std' => 'days', 'class' => 'small-text'), array('id' => 'translate-hours', 'type' => 'text', 'title' => __('Hours', 'mfn-opts'), 'desc' => __('Countdown', 'mfn-opts'), 'std' => 'hours', 'class' => 'small-text'), array('id' => 'translate-minutes', 'type' => 'text', 'title' => __('Minutes', 'mfn-opts'), 'desc' => __('Countdown', 'mfn-opts'), 'std' => 'minutes', 'class' => 'small-text'), array('id' => 'translate-seconds', 'type' => 'text', 'title' => __('Seconds', 'mfn-opts'), 'desc' => __('Countdown', 'mfn-opts'), 'std' => 'seconds', 'class' => 'small-text')));
     // Translate / Blog  --------------------------------------------
     $sections['translate-blog'] = array('title' => __('Blog & Portfolio', 'mfn-opts'), 'fields' => array(array('id' => 'translate-filter', 'type' => 'text', 'title' => __('Filter by', 'mfn-opts'), 'desc' => __('Blog, Portfolio', 'mfn-opts'), 'std' => 'Filter by', 'class' => 'small-text'), array('id' => 'translate-tags', 'type' => 'text', 'title' => __('Tags', 'mfn-opts'), 'desc' => __('Blog', 'mfn-opts'), 'std' => 'Tags', 'class' => 'small-text'), array('id' => 'translate-authors', 'type' => 'text', 'title' => __('Authors', 'mfn-opts'), 'desc' => __('Blog', 'mfn-opts'), 'std' => 'Authors', 'class' => 'small-text'), array('id' => 'translate-all', 'type' => 'text', 'title' => __('Show all', 'mfn-opts'), 'desc' => __('Blog, Portfolio', 'mfn-opts'), 'std' => 'Show all', 'class' => 'small-text'), array('id' => 'translate-item-all', 'type' => 'text', 'title' => __('All', 'mfn-opts'), 'desc' => __('Blog Item, Portfolio Item', 'mfn-opts'), 'std' => 'All', 'class' => 'small-text'), array('id' => 'translate-published', 'type' => 'text', 'title' => __('Published by', 'mfn-opts'), 'desc' => __('Blog, Portfolio', 'mfn-opts'), 'std' => 'Published by', 'class' => 'small-text'), array('id' => 'translate-at', 'type' => 'text', 'title' => __('at', 'mfn-opts'), 'sub_desc' => __('Published by .. at', 'mfn-opts'), 'desc' => __('Blog, Portfolio', 'mfn-opts'), 'std' => 'at', 'class' => 'small-text'), array('id' => 'translate-categories', 'type' => 'text', 'title' => __('Categories', 'mfn-opts'), 'desc' => __('Blog, Portfolio', 'mfn-opts'), 'std' => 'Categories', 'class' => 'small-text'), array('id' => 'translate-tags', 'type' => 'text', 'title' => __('Tags', 'mfn-opts'), 'desc' => __('Blog', 'mfn-opts'), 'std' => 'Tags', 'class' => 'small-text'), array('id' => 'translate-readmore', 'type' => 'text', 'title' => __('Read more', 'mfn-opts'), 'desc' => __('Blog, Portfolio', 'mfn-opts'), 'std' => 'Read more', 'class' => 'small-text'), array('id' => 'translate-like', 'type' => 'text', 'title' => __('Do you like it?', 'mfn-opts'), 'desc' => __('Blog', 'mfn-opts'), 'std' => 'Do you like it?', 'class' => 'small-text'), array('id' => 'translate-related', 'type' => 'text', 'title' => __('Related projects', 'mfn-opts'), 'desc' => __('Blog, Portfolio', 'mfn-opts'), 'std' => 'Related posts', 'class' => 'small-text'), array('id' => 'translate-client', 'type' => 'text', 'title' => __('Client', 'mfn-opts'), 'desc' => __('Portfolio', 'mfn-opts'), 'std' => 'Client', 'class' => 'small-text'), array('id' => 'translate-date', 'type' => 'text', 'title' => __('Date', 'mfn-opts'), 'desc' => __('Portfolio', 'mfn-opts'), 'std' => 'Date', 'class' => 'small-text'), array('id' => 'translate-website', 'type' => 'text', 'title' => __('Website', 'mfn-opts'), 'desc' => __('Portfolio', 'mfn-opts'), 'std' => 'Website', 'class' => 'small-text'), array('id' => 'translate-view', 'type' => 'text', 'title' => __('View website', 'mfn-opts'), 'desc' => __('Portfolio', 'mfn-opts'), 'std' => 'View website', 'class' => 'small-text'), array('id' => 'translate-task', 'type' => 'text', 'title' => __('Task', 'mfn-opts'), 'desc' => __('Portfolio', 'mfn-opts'), 'std' => 'Task', 'class' => 'small-text')));
     // Translate Error 404 --------------------------------------------
     $sections['translate-404'] = array('title' => __('Error 404', 'mfn-opts'), 'fields' => array(array('id' => 'translate-404-title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'desc' => __('Ooops... Error 404', 'mfn-opts'), 'std' => 'Ooops... Error 404'), array('id' => 'translate-404-subtitle', 'type' => 'text', 'title' => __('Subtitle', 'mfn-opts'), 'desc' => __('We are sorry, but the page you are looking for does not exist.', 'mfn-opts'), 'std' => 'We are sorry, but the page you are looking for does not exist.'), array('id' => 'translate-404-text', 'type' => 'text', 'title' => __('Text', 'mfn-opts'), 'desc' => __('Please check entered address and try again or', 'mfn-opts'), 'std' => 'Please check entered address and try again or '), array('id' => 'translate-404-btn', 'type' => 'text', 'title' => __('Button', 'mfn-opts'), 'sub_desc' => __('Go To Homepage button', 'mfn-opts'), 'std' => 'go to homepage', 'class' => 'small-text')));
     // Translate WPML --------------------------------------------
     $sections['translate-wpml'] = array('title' => __('WPML Installer', 'mfn-opts'), 'fields' => array(array('id' => 'translate-wpml-info', 'type' => 'info', 'title' => '', 'desc' => __('<b>WPML</b> is an optional premium plugin and it is <b>NOT</b> included into the theme', 'mfn-opts'), 'class' => 'mfn-info desc'), array('id' => 'translate-wpml-installer', 'type' => 'custom', 'title' => __('WPML Installer', 'mfn-opts'), 'sub_desc' => __('WPML makes it easy to build multilingual sites and run them. It’s powerful enough for corporate sites, yet simple for blogs.', 'mfn-opts'), 'action' => 'wpml')));
     // Custom CSS & JS ========================================================================
     // CSS --------------------------------------------
     $sections['css'] = array('title' => __('CSS', 'mfn-opts'), 'fields' => array(array('id' => 'custom-css', 'type' => 'textarea', 'title' => __('Custom CSS', 'mfn-opts'), 'sub_desc' => __('Paste your custom CSS code here', 'mfn-opts'), 'class' => 'custom-css')));
     // JS --------------------------------------------
     $sections['js'] = array('title' => __('JS', 'mfn-opts'), 'fields' => array(array('id' => 'custom-js', 'type' => 'textarea', 'title' => __('Custom JS', 'mfn-opts'), 'sub_desc' => __('Paste your custom JS code here', 'mfn-opts'), 'desc' => __('To use jQuery code wrap it into <strong>jQuery(function($){ ... });</strong>', 'mfn-opts'))));
     global $MFN_Options;
     $MFN_Options = new MFN_Options($menu, $sections);
 }
    function mfn_builder_show()
    {
        global $post;
        // Entrance Animations -----------------------------------------------------------------------------
        $mfn_animate = array('' => __('- Not Animated -', 'mfn-opts'), 'fadeIn' => __('Fade In', 'mfn-opts'), 'fadeInUp' => __('Fade In Up', 'mfn-opts'), 'fadeInDown' => __('Fade In Down ', 'mfn-opts'), 'fadeInLeft' => __('Fade In Left', 'mfn-opts'), 'fadeInRight' => __('Fade In Right ', 'mfn-opts'), 'fadeInUpLarge' => __('Fade In Up Large', 'mfn-opts'), 'fadeInDownLarge' => __('Fade In Down Large', 'mfn-opts'), 'fadeInLeftLarge' => __('Fade In Left Large', 'mfn-opts'), 'fadeInRightLarge' => __('Fade In Right Large', 'mfn-opts'), 'zoomIn' => __('Zoom In', 'mfn-opts'), 'zoomInUp' => __('Zoom In Up', 'mfn-opts'), 'zoomInDown' => __('Zoom In Down', 'mfn-opts'), 'zoomInLeft' => __('Zoom In Left', 'mfn-opts'), 'zoomInRight' => __('Zoom In Right', 'mfn-opts'), 'zoomInUpLarge' => __('Zoom In Up Large', 'mfn-opts'), 'zoomInDownLarge' => __('Zoom In Down Large', 'mfn-opts'), 'zoomInLeftLarge' => __('Zoom In Left Large', 'mfn-opts'), 'bounceIn' => __('Bounce In', 'mfn-opts'), 'bounceInUp' => __('Bounce In Up', 'mfn-opts'), 'bounceInDown' => __('Bounce In Down', 'mfn-opts'), 'bounceInLeft' => __('Bounce In Left', 'mfn-opts'), 'bounceInRight' => __('Bounce In Right', 'mfn-opts'));
        // Section Attributes ------------------------------------------------------------------------------
        $mfn_std_section = array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'desc' => __('This field is used as an Section Label in admin panel only and shows after page update', 'mfn-opts')), array('id' => 'bg_color', 'type' => 'text', 'title' => __('Background | Color', 'mfn-opts'), 'desc' => __('Use color name ( gray ) or hex ( #808080 ). Leave this field blank if you want to use transparent background', 'mfn-opts'), 'class' => 'small-text', 'std' => ''), array('id' => 'bg_image', 'type' => 'upload', 'title' => __('Background | Image', 'mfn-opts')), array('id' => 'bg_position', 'type' => 'select', 'title' => __('Background | Image position', 'mfn-opts'), 'desc' => __('This option can be used only with your custom image selected above', 'mfn-opts'), 'options' => mfna_bg_position(), 'std' => 'center top no-repeat'), array('id' => 'bg_video_mp4', 'type' => 'upload', 'title' => __('Background | Video HTML5', 'mfn-opts'), 'sub_desc' => __('m4v [.mp4]', 'mfn-opts'), 'desc' => __('Please add both mp4 and ogv for cross-browser compatibility. Background Image will be used as video placeholder before video loads and on mobile devices', 'mfn-opts'), 'class' => __('video', 'mfn-opts')), array('id' => 'bg_video_ogv', 'type' => 'upload', 'title' => __('Background | Video HTML5', 'mfn-opts'), 'sub_desc' => __('ogg [.ogv]', 'mfn-opts'), 'class' => __('video', 'mfn-opts')), array('id' => 'column_margin', 'type' => 'select', 'title' => __('Margin | Inner Columns', 'mfn-opts'), 'sub_desc' => __('Inner Columns Margin Bottom', 'mfn-opts'), 'options' => array('' => '-- Default --', '0px' => '0px', '10px' => '10px', '20px' => '20px', '30px' => '30px', '40px' => '40px', '50px' => '50px')), array('id' => 'padding_top', 'type' => 'text', 'title' => __('Padding | Top', 'mfn-opts'), 'sub_desc' => __('Section Padding Top', 'mfn-opts'), 'desc' => __('px', 'mfn-opts'), 'class' => 'small-text', 'std' => '0'), array('id' => 'padding_bottom', 'type' => 'text', 'title' => __('Padding | Bottom', 'mfn-opts'), 'sub_desc' => __('Section Padding Bottom', 'mfn-opts'), 'desc' => __('px', 'mfn-opts'), 'class' => 'small-text', 'std' => '0'), array('id' => 'divider', 'type' => 'select', 'title' => __('Separator', 'mfn-opts'), 'sub_desc' => __('Section Separator', 'mfn-opts'), 'desc' => __('Works only with Background Color selected above.', 'mfn-opts'), 'options' => array('' => 'None', 'circle up' => 'Circle Up', 'circle down' => 'Circle Down', 'square up' => 'Square Up', 'square down' => 'Square Down', 'triangle up' => 'Triangle Up', 'triangle down' => 'Triangle Down', 'triple-triangle up' => 'Triple Triangle Up', 'triple-triangle down' => 'Triple Triangle Down')), array('id' => 'layout', 'type' => 'select', 'title' => __('Sidebar | Layout', 'mfn-opts'), 'sub_desc' => __('Select layout for this section', 'mfn-opts'), 'desc' => __('<strong>Notice:</strong> Sidebar for section will show <strong>only</strong> if you set Full Width Page Layout in Page Options below Content Builder', 'mfn-opts'), 'options' => array('no-sidebar' => 'Full width. No sidebar', 'left-sidebar' => 'Left Sidebar', 'right-sidebar' => 'Right Sidebar'), 'std' => 'no-sidebar'), array('id' => 'sidebar', 'type' => 'select', 'title' => __('Sidebar | Select', 'mfn-opts'), 'sub_desc' => __('Select sidebar for this section', 'mfn-opts'), 'options' => mfn_opts_get('sidebars')), array('id' => 'navigation', 'type' => 'select', 'title' => __('Navigation', 'mfn-opts'), 'options' => array('' => 'None', 'arrows' => 'Arrows')), array('id' => 'style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'sub_desc' => __('Predefined styles for section', 'mfn-opts'), 'desc' => __('For more advanced styles please use Custom CSS field below', 'mfn-opts'), 'options' => array('' => '-- Default --', 'no-margin-h' => 'Columns without Horizontal margins | no-margin-h', 'no-margin' => 'Columns without Vertical margin | no-margin-v', 'no-margin-h no-margin-v' => 'Columns without Any margins | no-margin-h no-margin-v', 'dark' => 'Dark | dark', 'equal-height' => 'Equal Height of Columns | equal-height', 'full-screen' => 'Full Screen | full-screen', 'full-width' => 'Full Width | full-width', 'full-width no-margin-h no-margin-v' => 'Full Width without margins | full-width no-margin-h no-margin-v', 'highlight-left' => 'Highlight Left | highlight-left', 'highlight-right' => 'Highlight Right | highlight-right')), array('id' => 'class', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE. For sections with centered text you can use class: <strong>center</strong>', 'mfn-opts')), array('id' => 'section_id', 'type' => 'text', 'title' => __('Custom | ID', 'mfn-opts'), 'desc' => __('Use this option to create One Page sites. For example: Your Custom ID is <strong>offer</strong> and you want to open this section, please use link: <strong>your-url/#offer</strong>', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'visibility', 'type' => 'select', 'title' => __('Responsive Visibility', 'mfn-opts'), 'options' => array('' => '-- Default --', 'hide-desktop' => 'Hide on Desktop | 960px +', 'hide-tablet' => 'Hide on Tablet | 768px - 959px', 'hide-mobile' => 'Hide on Mobile | - 768px', 'hide-desktop hide-tablet' => 'Hide on Desktop & Tablet', 'hide-desktop hide-mobile' => 'Hide on Desktop & Mobile', 'hide-tablet hide-mobile' => 'Hide on Tablet & Mobile')));
        // Default Items with Fields -----------------------------------------------------------------------------
        $mfn_std_items = array('placeholder' => array('type' => 'placeholder', 'title' => __('- Placeholder -', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'info', 'type' => 'info', 'desc' => __('This is Muffin Builder Placeholder.', 'nhp-opts')))), 'accordion' => array('type' => 'accordion', 'title' => __('Accordion', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'tabs', 'type' => 'tabs', 'title' => __('Accordion', 'mfn-opts'), 'sub_desc' => __('Manage accordion tabs.', 'mfn-opts'), 'desc' => __('You can use Drag & Drop to set the order.', 'mfn-opts')), array('id' => 'open1st', 'type' => 'select', 'title' => __('Open First', 'mfn-opts'), 'desc' => __('Open first tab at start.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'openAll', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open All', 'mfn-opts'), 'desc' => __('Open all tabs at start', 'mfn-opts')), array('id' => 'style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'options' => array('accordion' => 'Accordion', 'toggle' => 'Toggle')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'article_box' => array('type' => 'article_box', 'title' => __('Article box', 'mfn-opts'), 'size' => '1/3', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts'), 'sub_desc' => __('Featured Image', 'mfn-opts')), array('id' => 'slogan', 'type' => 'text', 'title' => __('Slogan', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'blockquote' => array('type' => 'blockquote', 'title' => __('Blockquote', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'sub_desc' => __('Blockquote content.', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts')), array('id' => 'author', 'type' => 'text', 'title' => __('Author', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts'), 'sub_desc' => __('Link to company page.', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'sub_desc' => __('Open link in a new window.', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'blog' => array('type' => 'blog', 'title' => __('Blog', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'sub_desc' => __('Number of posts to show', 'mfn-opts'), 'std' => '2', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('category'), 'sub_desc' => __('Select posts category', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'style', 'type' => 'select', 'title' => 'Style', 'options' => array('classic' => 'Classic', 'masonry' => 'Masonry Blog Style', 'masonry tiles' => 'Masonry Tiles', 'photo' => 'Photo (Horizontal Images)', 'timeline' => 'Timeline'), 'std' => 'classic'), array('id' => 'columns', 'type' => 'select', 'title' => __('Columns', 'mfn-opts'), 'desc' => __('Default: 3. Recommended: 2-4. Too large value may crash the layout.<br />This option works in style: <b>Masonry</b>', 'mfn-opts'), 'options' => array(2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6), 'std' => 3), array('id' => 'greyscale', 'type' => 'select', 'title' => 'Greyscale Images', 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'more', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Show | Read More link', 'mfn-opts'), 'std' => 1), array('id' => 'filters', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Show | Filters', 'mfn-opts'), 'desc' => __('This option works in <b>Category: All</b> and <b>Style: Masonry</b>', 'mfn-opts')), array('id' => 'pagination', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Show | Pagination', 'mfn-opts'), 'desc' => __('<strong>Notice:</strong> Pagination will <strong>not</strong> work if you put item on Homepage of WordPress Multilangual Site.', 'mfn-opts')), array('id' => 'load_more', 'type' => 'select', 'title' => __('Show | Load More button', 'mfn-opts'), 'sub_desc' => __('Show Ajax Load More button', 'mfn-opts'), 'desc' => __('This will replace all sliders on list with featured images. Please also <b>show Pagination</b>', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'blog_news' => array('type' => 'blog_news', 'title' => __('Blog News', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'sub_desc' => __('Number of posts to show', 'mfn-opts'), 'desc' => __('We <strong>do not</strong> recommend use more than 10 items, because site will be working slowly.', 'mfn-opts'), 'std' => '5', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('category'), 'sub_desc' => __('Select posts category', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Button Link', 'mfn-opts')), array('id' => 'link_title', 'type' => 'text', 'title' => __('Button Title', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'blog_slider' => array('type' => 'blog_slider', 'title' => __('Blog Slider', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'sub_desc' => __('Number of posts to show', 'mfn-opts'), 'desc' => __('We <strong>do not</strong> recommend use more than 10 items, because site will be working slowly.', 'mfn-opts'), 'std' => '5', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('category'), 'sub_desc' => __('Select posts category', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'more', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Show Read More button', 'mfn-opts'), 'std' => 1), array('id' => 'style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'options' => array('' => 'Default', 'flat' => 'Flat')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'call_to_action' => array('type' => 'call_to_action', 'title' => __('Call to Action', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'button_title', 'type' => 'text', 'title' => __('Button Title', 'mfn-opts'), 'desc' => __('Leave this field blank if you want Call to Action with Big Icon', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'class', 'type' => 'text', 'title' => __('Class', 'mfn-opts'), 'desc' => __('This option is useful when you want to use PrettyPhoto (prettyphoto)', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'chart' => array('type' => 'chart', 'title' => __('Chart', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'percent', 'type' => 'text', 'title' => __('Percent', 'mfn-opts'), 'desc' => __('Number between 0-100', 'mfn-opts')), array('id' => 'label', 'type' => 'text', 'title' => __('Chart Label', 'mfn-opts')), array('id' => 'icon', 'type' => 'icon', 'title' => __('Chart Icon', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'image', 'type' => 'upload', 'title' => __('Chart Image', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'clients' => array('type' => 'clients', 'title' => __('Clients', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'in_row', 'type' => 'text', 'title' => __('Items in Row', 'mfn-opts'), 'sub_desc' => __('Number of items in row', 'mfn-opts'), 'desc' => __('Recommended number: 3-6', 'mfn-opts'), 'std' => 6, 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('client-types'), 'sub_desc' => __('Select the client post category.', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title', 'rand' => 'Random'), 'std' => 'menu_order'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'ASC'), array('id' => 'style', 'type' => 'select', 'options' => array('' => 'Default', 'tiles' => 'Tiles'), 'title' => __('Style', 'mfn-opts')), array('id' => 'greyscale', 'type' => 'select', 'title' => 'Greyscale Images', 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'clients_slider' => array('type' => 'clients_slider', 'title' => __('Clients Slider', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('client-types'), 'sub_desc' => __('Select the client post category.', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title', 'rand' => 'Random'), 'std' => 'menu_order'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'ASC'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'code' => array('type' => 'code', 'title' => __('Code', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'class' => 'full-width'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'column' => array('type' => 'column', 'title' => __('Column', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'desc' => __('This field is used as an Item Label in admin panel only and shows after page update.', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Column content', 'mfn-opts'), 'desc' => __('Shortcodes and HTML tags allowed.', 'mfn-opts'), 'class' => 'full-width sc', 'validate' => 'html'), array('id' => 'align', 'type' => 'select', 'title' => __('Text Align', 'mfn-opts'), 'options' => array('' => 'None', 'left' => 'Left', 'right' => 'Right', 'center' => 'Center', 'justify' => 'Justify')), array('id' => 'column_bg', 'type' => 'text', 'title' => __('Background color', 'mfn-opts'), 'desc' => __('Use color name ( gray ) or hex ( #808080 )', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'padding', 'type' => 'text', 'title' => __('Padding', 'mfn-opts'), 'desc' => __('Use value with <b>px</b> or <b>%</b>. Example: <b>20px</b> or <b>20px 10px 20px 10px</b> or <b>20px 1%</b>', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'contact_box' => array('type' => 'contact_box', 'title' => __('Contact Box', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'address', 'type' => 'textarea', 'title' => __('Address', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts')), array('id' => 'telephone', 'type' => 'text', 'title' => __('Phone', 'mfn-opts'), 'desc' => __('Phone number', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'telephone_2', 'type' => 'text', 'title' => __('Phone 2nd', 'mfn-opts'), 'desc' => __('Additional Phone number', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'fax', 'type' => 'text', 'title' => __('Fax', 'mfn-opts'), 'desc' => __('Fax number', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'email', 'type' => 'text', 'title' => __('Email', 'mfn-opts')), array('id' => 'www', 'type' => 'text', 'title' => __('WWW', 'mfn-opts')), array('id' => 'image', 'type' => 'upload', 'title' => __('Background Image', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'content' => array('type' => 'content', 'title' => __('Content WP', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'info', 'type' => 'info', 'desc' => __('Adding this Item will show Content from WordPress Editor above Page Options. You can use it only once per page. Please also remember to turn on "Hide The Content" option.', 'nhp-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'countdown' => array('type' => 'countdown', 'title' => __('Countdown', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'date', 'type' => 'text', 'title' => __('Lunch Date', 'mfn-opts'), 'desc' => __('Format: 12/30/2014 12:00:00 month/day/year hour:minute:second', 'mfn-opts'), 'std' => '12/30/2014 12:00:00', 'class' => 'small-text'), array('id' => 'timezone', 'type' => 'select', 'title' => __('UTC Timezone', 'mfn-opts'), 'options' => mfna_utc(), 'std' => '0'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'counter' => array('type' => 'counter', 'title' => __('Counter', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'std' => ' icon-lamp', 'class' => 'small-text'), array('id' => 'color', 'type' => 'text', 'title' => __('Icon Color', 'mfn-opts'), 'desc' => __('Use color name ( blue ) or hex ( #2991D6 )', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts'), 'desc' => __('If you upload an image, icon will not show', 'mfn-opts')), array('id' => 'number', 'type' => 'text', 'title' => __('Number', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'prefix', 'type' => 'text', 'title' => __('Prefix', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'label', 'type' => 'text', 'title' => __('Postfix', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'type', 'type' => 'select', 'options' => array('horizontal' => 'Horizontal', 'vertical' => 'Vertical'), 'title' => __('Style', 'mfn-opts'), 'desc' => __('Vertical style works only for column widths: 1/4, 1/3 & 1/2', 'mfn-opts'), 'std' => 'vertical'), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'divider' => array('type' => 'divider', 'title' => __('Divider', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'height', 'type' => 'text', 'title' => __('Divider height', 'mfn-opts'), 'desc' => __('px', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'style', 'type' => 'select', 'options' => array('default' => 'Default', 'dots' => 'Dots', 'zigzag' => 'ZigZag'), 'title' => __('Style', 'mfn-opts')), array('id' => 'line', 'type' => 'select', 'options' => array('default' => 'Default', 'narrow' => 'Narrow', 'wide' => 'Wide', '' => 'No Line'), 'title' => __('Line', 'mfn-opts'), 'desc' => __('This option can be used <strong>only</strong> with Style: Default.', 'mfn-opts')), array('id' => 'themecolor', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Theme Color', 'mfn-opts'), 'desc' => __('This option can be used <strong>only</strong> with Style: Default.', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'fancy_divider' => array('type' => 'fancy_divider', 'title' => __('Fancy Divider', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'info', 'type' => 'info', 'desc' => __('This item can only be used on pages <strong>Without Sidebar</strong>. Please also set Section Style to <strong>Full Width</strong>.', 'nhp-opts')), array('id' => 'style', 'type' => 'select', 'options' => array('circle up' => 'Circle Up', 'circle down' => 'Circle Down', 'curve up' => 'Curve Up', 'curve down' => 'Curve Down', 'stamp' => 'Stamp', 'triangle up' => 'Triangle Up', 'triangle down' => 'Triangle Down'), 'title' => __('Style', 'mfn-opts')), array('id' => 'color_top', 'type' => 'text', 'title' => __('Color Top', 'mfn-opts'), 'desc' => __('Use color name ( blue ) or hex ( #2991D6 )', 'mfn-opts'), 'class' => 'small-text', 'std' => ''), array('id' => 'color_bottom', 'type' => 'text', 'title' => __('Color Bottom', 'mfn-opts'), 'desc' => __('Use color name ( blue ) or hex ( #2991D6 )', 'mfn-opts'), 'class' => 'small-text', 'std' => ''), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'fancy_heading' => array('type' => 'fancy_heading', 'title' => __('Fancy Heading', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'h1', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Use H1 tag', 'mfn-opts'), 'desc' => __('Wrap title into H1 instead of H2', 'mfn-opts')), array('id' => 'icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'sub_desc' => __('Icon Style only', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'slogan', 'type' => 'text', 'title' => __('Slogan', 'mfn-opts'), 'sub_desc' => __('Line Style only', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc', 'validate' => 'html'), array('id' => 'style', 'type' => 'select', 'options' => array('icon' => 'Icon', 'line' => 'Line', 'arrows' => 'Arrows'), 'title' => __('Style', 'mfn-opts'), 'desc' => __('Some fields above work on selected styles.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'faq' => array('type' => 'faq', 'title' => __('FAQ', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'tabs', 'type' => 'tabs', 'title' => __('FAQ', 'mfn-opts'), 'sub_desc' => __('Manage FAQ tabs.', 'mfn-opts'), 'desc' => __('You can use Drag & Drop to set the order', 'mfn-opts')), array('id' => 'open1st', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open First', 'mfn-opts'), 'desc' => __('Open first tab at start', 'mfn-opts')), array('id' => 'openAll', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open All', 'mfn-opts'), 'desc' => __('Open all tabs at start', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'feature_list' => array('type' => 'feature_list', 'title' => __('Feature List', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'desc' => __('This field is used as an Item Label in admin panel only and shows after page update.', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Please use <strong>[item icon="" title="" link="" target=""]</strong> shortcodes.', 'mfn-opts'), 'std' => '[item icon="icon-lamp" title="" link="" target="" animate=""]'), array('id' => 'columns', 'type' => 'select', 'title' => __('Columns', 'mfn-opts'), 'desc' => __('Default: 4. Recommended: 2-4. Too large value may crash the layout.', 'mfn-opts'), 'options' => array(2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6), 'std' => 4), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'flat_box' => array('type' => 'flat_box', 'title' => __('Flat Box', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'std' => 'icon-lamp', 'class' => 'small-text'), array('id' => 'background', 'type' => 'text', 'title' => __('Icon background', 'mfn-opts'), 'desc' => __('Use color name ( blue ) or hex ( #2991D6 ). Leave this field blank to use Theme Background', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc', 'validate' => 'html'), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'hover_box' => array('type' => 'hover_box', 'title' => __('Hover Box', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'image_hover', 'type' => 'upload', 'title' => __('Image | Hover', 'mfn-opts'), 'desc' => __('Both images <b>must have the same size</b>', 'mfn-opts')), array('id' => 'alt', 'type' => 'text', 'title' => __('Image | Alt', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Link | Target', 'mfn-opts'), 'options' => array(0 => 'Default | _self', 1 => 'New Tab or Window | _blank', 'prettyphoto' => 'prettyPhoto (images and embed video)')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'hover_color' => array('type' => 'hover_color', 'title' => __('Hover Color', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'background', 'type' => 'text', 'title' => __('Background color', 'mfn-opts'), 'desc' => __('Use color name ( blue ) or hex ( #2991D6 )', 'mfn-opts'), 'class' => 'small-text', 'std' => '#2991D6'), array('id' => 'background_hover', 'type' => 'text', 'title' => __('Hover Background color', 'mfn-opts'), 'desc' => __('Use color name ( blue ) or hex ( #2991D6 )', 'mfn-opts'), 'class' => 'small-text', 'std' => '#2991D6'), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc'), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'class', 'type' => 'text', 'title' => __('Class', 'mfn-opts'), 'desc' => __('This option is useful when you want to use PrettyPhoto (prettyphoto)', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'how_it_works' => array('type' => 'how_it_works', 'title' => __('How It Works', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Background Image', 'mfn-opts'), 'desc' => __('Recommended: Square Image with transparent background.', 'mfn-opts')), array('id' => 'number', 'type' => 'text', 'title' => __('Number', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc', 'validate' => 'html'), array('id' => 'border', 'type' => 'select', 'title' => __('Line', 'mfn-opts'), 'sub_desc' => __('Show right connecting line', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'icon_box' => array('type' => 'icon_box', 'title' => __('Icon Box', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc'), array('id' => 'icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'std' => 'icon-lamp', 'class' => 'small-text'), array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'icon_position', 'type' => 'select', 'options' => array('left' => 'Left', 'top' => 'Top'), 'title' => __('Icon Position', 'mfn-opts'), 'desc' => __('Left position works only for column widths: 1/4, 1/3 & 1/2', 'mfn-opts'), 'std' => 'top'), array('id' => 'border', 'type' => 'select', 'title' => __('Border', 'mfn-opts'), 'sub_desc' => __('Show right border', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'class', 'type' => 'text', 'title' => __('Custom CSS classes for link', 'mfn-opts'), 'desc' => __('This option is useful when you want to use PrettyPhoto (prettyphoto) or Scroll (scroll).', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'image' => array('type' => 'image', 'title' => __('Image', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'src', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'width', 'type' => 'text', 'title' => __('Image Width', 'mfn-opts'), 'desc' => __('px<br />optional', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'height', 'type' => 'text', 'title' => __('Image Height', 'mfn-opts'), 'desc' => __('px<br />optional', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'border', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Border', 'mfn-opts'), 'sub_desc' => __('Show Image Border', 'mfn-opts')), array('id' => 'align', 'type' => 'select', 'title' => __('Align', 'mfn-opts'), 'desc' => __('If you want image to be <b>resized</b> to column width use <b>align none</b>', 'mfn-opts'), 'options' => array('' => 'None', 'left' => 'Left', 'right' => 'Right', 'center' => 'Center')), array('id' => 'margin', 'type' => 'text', 'title' => __('Margin Top', 'mfn-opts'), 'desc' => __('px', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'alt', 'type' => 'text', 'title' => __('Alternate Text', 'mfn-opts')), array('id' => 'caption', 'type' => 'text', 'title' => __('Caption', 'mfn-opts')), array('id' => 'link_image', 'type' => 'upload', 'title' => __('Zoomed image', 'mfn-opts'), 'desc' => __('This image will be opened in lightbox.', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts'), 'desc' => __('This link will work only if you leave the above "Zoomed image" field empty.', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'greyscale', 'type' => 'select', 'title' => 'Greyscale Images', 'desc' => 'Works only for images with link', 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'info_box' => array('type' => 'info_box', 'title' => __('Info Box', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts'), 'std' => '<ul><li>list item 1</li><li>list item 2</li></ul>'), array('id' => 'image', 'type' => 'upload', 'title' => __('Background Image', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'list' => array('type' => 'list', 'title' => __('List', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'std' => ' icon-lamp', 'class' => 'small-text'), array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'desc' => __('Only <strong>Vertical Style</strong> works for column widths 1/5 & 1/6', 'mfn-opts'), 'options' => array(1 => 'With background', 2 => 'Transparent', 3 => 'Vertical', 4 => 'Ordered list')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'map' => array('type' => 'map', 'title' => __('Map', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'lat', 'type' => 'text', 'title' => __('Google Maps Lat', 'mfn-opts'), 'class' => 'small-text', 'desc' => __('The map will appear only if this field is filled correctly.<br />Example: <b>-33.87</b>', 'mfn-opts')), array('id' => 'lng', 'type' => 'text', 'title' => __('Google Maps Lng', 'mfn-opts'), 'class' => 'small-text', 'desc' => __('The map will appear only if this field is filled correctly.<br />Example: <b>151.21</b>', 'mfn-opts')), array('id' => 'zoom', 'type' => 'text', 'title' => __('Zoom', 'mfn-opts'), 'class' => 'small-text', 'std' => 13), array('id' => 'height', 'type' => 'text', 'title' => __('Height', 'mfn-opts'), 'class' => 'small-text', 'std' => 200), array('id' => 'type', 'type' => 'select', 'title' => __('Type', 'mfn-opts'), 'options' => array('ROADMAP' => __('Map', 'mfn-opts'), 'SATELLITE' => __('Satellite', 'mfn-opts'), 'HYBRID' => __('Satellite + Map', 'mfn-opts'), 'TERRAIN' => __('Terrain', 'mfn-opts'))), array('id' => 'controls', 'type' => 'select', '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' => 'select', 'title' => __('Draggable', 'mfn-opts'), 'options' => array('' => __('Enable', 'mfn-opts'), 'disable' => __('Disable', 'mfn-opts'), 'disable-mobile' => __('Disable on Mobile', 'mfn-opts'))), array('id' => 'border', 'type' => 'select', 'title' => __('Border', 'mfn-opts'), 'sub_desc' => __('Show map border', 'mfn-opts'), 'options' => array(0 => __('No', 'mfn-opts'), 1 => __('Yes', 'mfn-opts'))), array('id' => 'icon', 'type' => 'upload', 'title' => __('Marker Icon', 'mfn-opts'), 'desc' => __('.png', 'mfn-opts')), array('id' => 'styles', 'type' => 'textarea', 'title' => __('Styles', 'mfn-opts'), 'sub_desc' => __('Google Maps API styles array', 'mfn-opts'), 'desc' => __('You can get predefined styles from <a target="_blank" href="http://snazzymaps.com/">snazzymaps.com</a> or generate your own <a target="_blank" href="http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html">here</a>', 'mfn-opts')), array('id' => 'latlng', 'type' => 'textarea', 'title' => __('Additional Markers | Lat,Lng,IconURL', 'mfn-opts'), 'desc' => __('Separate Lat,Lang,IconURL[optional] with <b>coma</b> [ , ]<br />Separate multiple Markers with <b>semicolon</b> [ ; ]<br />Example: <b>-33.88,151.21,ICON_URL;-33.89,151.22</b>', 'mfn-opts')), array('id' => 'info', 'type' => 'info', 'desc' => __('<strong>Contact Box</strong> | Works only in Full Width', 'nhp-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Box | Title', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'content', 'type' => 'textarea', 'title' => __('Box | Address', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts')), array('id' => 'telephone', 'type' => 'text', 'title' => __('Box | Telephone', 'mfn-opts')), array('id' => 'email', 'type' => 'text', 'title' => __('Box | Email', 'mfn-opts')), array('id' => 'www', 'type' => 'text', 'title' => __('Box | WWW', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'offer' => array('type' => 'offer', 'title' => __('Offer Slider Full', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'info', 'type' => 'info', 'desc' => __('This item can only be used on pages <strong>Without Sidebar</strong>.<br />Please also set Section Style to <strong>Full Width</strong> and use one Item in one Section.', 'nhp-opts')), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('offer-types'), 'sub_desc' => __('Select the offer post category.', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'offer_thumb' => array('type' => 'offer_thumb', 'title' => __('Offer Slider Thumb', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'info', 'type' => 'info', 'desc' => __('This item can only be used <strong>once per page</strong>.', 'nhp-opts')), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('offer-types'), 'sub_desc' => __('Select the offer post category.', 'mfn-opts')), array('id' => 'style', 'type' => 'select', 'options' => array('' => 'Thumbnails on the left', 'bottom' => 'Thumbnails at the bottom'), 'title' => __('Style', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'opening_hours' => array('type' => 'opening_hours', 'title' => __('Opening Hours', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts'), 'std' => '<ul><li><label>Monday - Saturday</label><span>8am - 4pm</span></li></ul>'), array('id' => 'image', 'type' => 'upload', 'title' => __('Background Image', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'our_team' => array('type' => 'our_team', 'title' => __('Our Team', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'heading', 'type' => 'text', 'title' => __('Heading', 'mfn-opts')), array('id' => 'image', 'type' => 'upload', 'title' => __('Photo', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'sub_desc' => __('Will also be used as the image alternative text', 'mfn-opts')), array('id' => 'subtitle', 'type' => 'text', 'title' => __('Subtitle', 'mfn-opts')), array('id' => 'phone', 'type' => 'text', 'title' => __('Phone', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc'), array('id' => 'email', 'type' => 'text', 'title' => __('E-mail', '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')), array('id' => 'blockquote', 'type' => 'textarea', 'title' => __('Blockquote', 'mfn-opts')), array('id' => 'style', 'type' => 'select', 'options' => array('circle' => 'Circle', 'vertical' => 'Vertical', 'horizontal' => 'Horizontal 	[only: 1/2]'), 'title' => __('Style', 'mfn-opts'), 'std' => 'vertical'), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'our_team_list' => array('type' => 'our_team_list', 'title' => __('Our Team List', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Photo', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'sub_desc' => __('Will also be used as the image alternative text', 'mfn-opts')), array('id' => 'subtitle', 'type' => 'text', 'title' => __('Subtitle', 'mfn-opts')), array('id' => 'phone', 'type' => 'text', 'title' => __('Phone', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc'), array('id' => 'blockquote', 'type' => 'textarea', 'title' => __('Blockquote', 'mfn-opts')), array('id' => 'email', 'type' => 'text', 'title' => __('E-mail', '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')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'photo_box' => array('type' => 'photo_box', 'title' => __('Photo Box', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc'), array('id' => 'align', 'type' => 'select', 'title' => 'Text Align', 'options' => array('' => 'Center', 'left' => 'Left', 'right' => 'Right')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'greyscale', 'type' => 'select', 'title' => 'Greyscale Images', 'desc' => 'Works only for images with link', 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'portfolio' => array('type' => 'portfolio', 'title' => __('Portfolio', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'std' => '2', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('portfolio-types'), 'sub_desc' => __('Select the portfolio post category.', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'style', 'type' => 'select', 'title' => 'Style', 'options' => array('flat' => 'Flat', 'grid' => 'Grid', 'masonry' => 'Masonry Blog Style', 'masonry-hover' => 'Masonry Hover Description', 'list' => 'List', 'masonry-flat' => 'Masonry Flat'), 'std' => 'grid'), array('id' => 'columns', 'type' => 'select', 'title' => __('Columns', 'mfn-opts'), 'desc' => __('Default: 3. Recommended: 2-4. Too large value may crash the layout.<br />This option works in styles: <b>Flat, Grid, Masonry Blog Style, Masonry Hover Details</b>', 'mfn-opts'), 'options' => array(2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6), 'std' => 3), array('id' => 'greyscale', 'type' => 'select', 'title' => 'Greyscale Images', 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'sub_desc' => __('Portfolio items order by column.', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title', 'rand' => 'Random'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'sub_desc' => __('Portfolio items order.', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'filters', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Show | Filters', 'mfn-opts'), 'desc' => __('Works only with <b>Category: All</b>', 'mfn-opts')), array('id' => 'pagination', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Show | Pagination', 'mfn-opts'), 'desc' => __('<strong>Notice:</strong> Pagination will <strong>not</strong> work if you put item on Homepage of WordPress Multilangual Site.', 'mfn-opts')), array('id' => 'load_more', 'type' => 'select', 'title' => __('Show | Load More button', 'mfn-opts'), 'sub_desc' => __('Show Ajax Load More button', 'mfn-opts'), 'desc' => __('This will replace all sliders on list with featured images. Please also <b>show Pagination</b>', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'portfolio_grid' => array('type' => 'portfolio_grid', 'title' => __('Portfolio Grid', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'std' => '4', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('portfolio-types'), 'sub_desc' => __('Select the portfolio post category.', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'sub_desc' => __('Portfolio items order by column.', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title', 'rand' => 'Random'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'sub_desc' => __('Portfolio items order.', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'greyscale', 'type' => 'select', 'title' => 'Greyscale Images', 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'portfolio_photo' => array('type' => 'portfolio_photo', 'title' => __('Portfolio Photo', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'std' => '5', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('portfolio-types'), 'sub_desc' => __('Select the portfolio post category.', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'sub_desc' => __('Portfolio items order by column.', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'sub_desc' => __('Portfolio items order.', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'greyscale', 'type' => 'select', 'title' => 'Greyscale Images', 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'portfolio_slider' => array('type' => 'portfolio_slider', 'title' => __('Portfolio Slider', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'desc' => __('We <strong>do not</strong> recommend use more than 10 items, because site will be working slowly.', 'mfn-opts'), 'std' => '6', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('portfolio-types'), 'sub_desc' => __('Select the portfolio post category.', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'sub_desc' => __('Portfolio items order by column.', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'sub_desc' => __('Portfolio items order.', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'arrows', 'type' => 'select', 'title' => __('Navigation Arrows', 'mfn-opts'), 'sub_desc' => __('Show Navigation Arrows', 'mfn-opts'), 'options' => array('' => 'None', 'hover' => 'Show on hover', 'always' => 'Always show'), 'std' => 'DESC'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'pricing_item' => array('type' => 'pricing_item', 'title' => __('Pricing Item', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'sub_desc' => __('Pricing item title', 'mfn-opts')), array('id' => 'price', 'type' => 'text', 'title' => __('Price', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'currency', 'type' => 'text', 'title' => __('Currency', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'currency_pos', 'type' => 'select', 'title' => __('Currency | Position', 'mfn-opts'), 'options' => array('' => 'Left', 'right' => 'Right')), array('id' => 'period', 'type' => 'text', 'title' => __('Period', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'subtitle', 'type' => 'text', 'title' => __('Subtitle', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts'), 'std' => '<ul><li><strong>List</strong> item</li></ul>'), array('id' => 'link_title', 'type' => 'text', 'title' => __('Button Title', 'mfn-opts'), 'desc' => __('Button will appear only if this field will be filled.', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Button Link', 'mfn-opts'), 'desc' => __('Button will appear only if this field will be filled.', 'mfn-opts')), array('id' => 'icon', 'type' => 'icon', 'title' => __('Button Icon', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'featured', 'type' => 'select', 'title' => __('Featured', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'options' => array('box' => 'Box', 'label' => 'Table Label', 'table' => 'Table')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'progress_bars' => array('type' => 'progress_bars', 'title' => __('Progress Bars', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Please use <strong>[bar title="Title" value="50"]</strong> shortcodes here.', 'mfn-opts'), 'std' => '[bar title="Bar1" value="50"]' . "\n" . '[bar title="Bar2" value="60"]'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'promo_box' => array('type' => 'promo_box', 'title' => __('Promo Box', 'mfn-opts'), 'size' => '1/2', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc'), array('id' => 'btn_text', 'type' => 'text', 'title' => __('Button Text', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'btn_link', 'type' => 'text', 'title' => __('Button Link', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'position', 'type' => 'select', 'title' => __('Image position', 'mfn-opts'), 'options' => array('left' => 'Left', 'right' => 'Right'), 'std' => 'left'), array('id' => 'border', 'type' => 'select', 'title' => __('Border', 'mfn-opts'), 'sub_desc' => __('Show right border', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes'), 'std' => 'no_border'), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'quick_fact' => array('type' => 'quick_fact', 'title' => __('Quick Fact', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'heading', 'type' => 'text', 'title' => __('Heading', 'mfn-opts')), array('id' => 'number', 'type' => 'text', 'title' => __('Number', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'prefix', 'type' => 'text', 'title' => __('Prefix', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'label', 'type' => 'text', 'title' => __('Postfix', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc', 'validate' => 'html'), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'shop_slider' => array('type' => 'shop_slider', 'title' => __('Shop Slider', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'sub_desc' => __('Number of posts to show', 'mfn-opts'), 'desc' => __('We <strong>do not</strong> recommend use more than 10 items, because site will be working slowly.', 'mfn-opts'), 'std' => '5', 'class' => 'small-text'), array('id' => 'show', 'type' => 'select', 'title' => __('Show', 'mfn-opts'), 'options' => array('' => 'All (or category selected below)', 'featured' => 'Featured', 'onsale' => 'Onsale', 'best-selling' => 'Best Selling (Order by: Sales)')), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('product_cat'), 'sub_desc' => __('Select the products category', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'sub_desc' => __('Slides order by column', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'sub_desc' => __('Slides order', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'sidebar_widget' => array('type' => 'sidebar_widget', 'title' => __('Sidebar Widget', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'sidebar', 'type' => 'select', 'title' => __('Select Sidebar', 'mfn-opts'), 'desc' => __('1. Create Sidebar in Theme Options > Getting Started > Sidebars.<br />2. Add Widget.<br />3. Select your sidebar.', 'mfn-opts'), 'options' => mfn_opts_get('sidebars')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'slider' => array('type' => 'slider', 'title' => __('Slider', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'style', 'type' => 'select', 'options' => array('' => 'Default', 'description' => 'Description', 'flat' => 'Flat', 'carousel' => 'Carousel'), 'title' => __('Style', 'mfn-opts')), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('slide-types'), 'sub_desc' => __('Select the slides category', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'sub_desc' => __('Slides order by column', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'sub_desc' => __('Slides order', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'slider_plugin' => array('type' => 'slider_plugin', 'title' => __('Slider Plugin', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'rev', 'type' => 'select', 'title' => __('Slider | Revolution Slider', 'mfn-opts'), 'desc' => __('Select one from the list of available <a target="_blank" href="admin.php?page=revslider">Revolution Sliders</a>', 'mfn-opts'), 'options' => mfn_get_sliders()), array('id' => 'layer', 'type' => 'select', 'title' => __('Slider | Layer Slider', 'mfn-opts'), 'desc' => __('Select one from the list of available <a target="_blank" href="admin.php?page=layerslider">Layer Sliders</a>', 'mfn-opts'), 'options' => mfn_get_sliders_layer()), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'sliding_box' => array('type' => 'sliding_box', 'title' => __('Sliding Box', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'story_box' => array('type' => 'story_box', 'title' => __('Story Box', 'mfn-opts'), 'size' => '1/2', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'style', 'type' => 'select', 'options' => array('' => 'Horizontal Image', 'flat' => 'Flat'), 'title' => __('Style', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Some Shortcodes and HTML tags allowed', 'mfn-opts'), 'class' => 'full-width sc', 'validate' => 'html'), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'tabs' => array('type' => 'tabs', 'title' => __('Tabs', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'tabs', 'type' => 'tabs', 'title' => __('Tabs', 'mfn-opts'), 'sub_desc' => __('To add an <strong>icon</strong> in Title field, please use the following code:<br/><br/>&lt;i class=" icon-lamp"&gt;&lt;/i&gt; Tab Title', 'mfn-opts'), 'desc' => __('You can use Drag & Drop to set the order.', 'mfn-opts')), array('id' => 'type', 'type' => 'select', 'options' => array('horizontal' => 'Horizontal', 'vertical' => 'Vertical'), 'title' => __('Style', 'mfn-opts'), 'desc' => __('Vertical tabs works only for column widths: 1/2, 3/4 & 1/1', 'mfn-opts')), array('id' => 'uid', 'type' => 'text', 'title' => __('Unique ID [optional]', 'mfn-opts'), 'sub_desc' => __('Allowed characters: "a-z" "-" "_"', 'mfn-opts'), 'desc' => __('Use this option if you want to open specified tab from link.<br />For example: Your Unique ID is <strong>offer</strong> and you want to open 2nd tab, please use link: <strong>your-url/#offer-2</strong>', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'testimonials' => array('type' => 'testimonials', 'title' => __('Testimonials', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('testimonial-types'), 'sub_desc' => __('Select the testimonial post category.', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'sub_desc' => __('Testimonials order by column.', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'sub_desc' => __('Testimonials order.', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'options' => array('' => __('Default', 'mfn-opts'), 'single-photo' => __('Single Photo', 'mfn-opts'))), array('id' => 'hide_photos', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Hide Photos', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'testimonials_list' => array('type' => 'testimonials_list', 'title' => __('Testimonials List', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('testimonial-types'), 'sub_desc' => __('Select the testimonial post category.', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'sub_desc' => __('Testimonials order by column.', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'sub_desc' => __('Testimonials order.', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'timeline' => array('type' => 'timeline', 'title' => __('Timeline', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'tabs', 'type' => 'tabs', 'title' => __('Timeline', 'mfn-opts'), 'sub_desc' => __('Please add <strong>date</strong> wrapped into <strong>span</strong> tag in Title field.<br/><br/>&lt;span&gt;2013&lt;/span&gt;Event Title', 'mfn-opts'), 'desc' => __('You can use Drag & Drop to set the order.', 'mfn-opts')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'trailer_box' => array('type' => 'trailer_box', 'title' => __('Trailer Box', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'slogan', 'type' => 'text', 'title' => __('Slogan', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'desc' => __('<b>Notice:</b> In some versions of Safari browser Hover works only if you select: <b>Not Animated</b> or <b>Fade In</b>', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'video' => array('type' => 'video', 'title' => __('Video', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'video', 'type' => 'text', 'title' => __('YouTube or Vimeo | Video ID', 'mfn-opts'), 'sub_desc' => __('YouTube or Vimeo', 'mfn-opts'), 'desc' => __('It`s placed in every YouTube & Vimeo video, for example:<br /><b>YouTube:</b> http://www.youtube.com/watch?v=<u>WoJhnRczeNg</u><br /><b>Vimeo:</b> http://vimeo.com/<u>62954028</u>', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'parameters', 'type' => 'text', 'title' => __('YouTube or Vimeo | Parameters', 'mfn-opts'), 'sub_desc' => __('YouTube or Vimeo', 'mfn-opts'), 'desc' => __('Multiple parameters should be connected with "&"<br />For example: <b>autoplay=1&loop=1</b>', 'mfn-opts')), array('id' => 'mp4', 'type' => 'upload', 'title' => __('HTML5 | MP4 video', 'mfn-opts'), 'sub_desc' => __('m4v [.mp4]', 'mfn-opts'), 'desc' => __('Please add both mp4 and ogv for cross-browser compatibility.', 'mfn-opts'), 'class' => __('video', 'mfn-opts')), array('id' => 'ogv', 'type' => 'upload', 'title' => __('HTML5 | OGV video', 'mfn-opts'), 'sub_desc' => __('ogg [.ogv]', 'mfn-opts'), 'class' => __('video', 'mfn-opts')), array('id' => 'placeholder', 'type' => 'upload', 'title' => __('HTML5 | 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', 'type' => 'select', 'title' => __('HTML5 | Parameters', 'mfn-opts'), 'options' => array('' => 'autoplay controls loop muted', 'a;c;l;' => 'autoplay controls loop', 'a;c;;m' => 'autoplay controls muted', 'a;;l;m' => 'autoplay loop muted', 'a;c;;' => 'autoplay controls', 'a;;l;' => 'autoplay loop', 'a;;;m' => 'autoplay muted', 'a;;;' => 'autoplay', ';c;l;m' => 'controls loop muted', ';c;l;' => 'controls loop', ';c;;m' => 'controls muted', ';c;;' => 'controls')), array('id' => 'width', 'type' => 'text', 'title' => __('Width', 'mfn-opts'), 'desc' => __('px', 'mfn-opts'), 'class' => 'small-text', 'std' => 700), array('id' => 'height', 'type' => 'text', 'title' => __('Height', 'mfn-opts'), 'desc' => __('px', 'mfn-opts'), 'class' => 'small-text', 'std' => 400), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'visual' => array('type' => 'visual', 'title' => __('Visual Editor', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'desc' => __('This field is used as an Item Label in admin panel only and shows after page update.', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Visual Editor', 'mfn-opts'), 'param' => 'editor', 'validate' => 'html'), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))), 'zoom_box' => array('type' => 'zoom_box', 'title' => __('Zoom Box', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'bg_color', 'type' => 'text', 'title' => __('Overlay background', 'mfn-opts'), 'desc' => __('Use color HEX (ie. "#000000").', 'mfn-opts'), 'class' => 'small-text', 'std' => '#000000'), array('id' => 'content_image', 'type' => 'upload', 'title' => __('Content Image', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('HTML tags allowed', 'mfn-opts'), 'class' => 'full-width'), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Link | Target', 'mfn-opts'), 'options' => array(0 => 'Default | _self', 1 => 'New Tab or Window | _blank', 'prettyphoto' => 'prettyPhoto (images and embed video)')), array('id' => 'classes', 'type' => 'text', 'title' => __('Custom | Classes', 'mfn-opts'), 'sub_desc' => __('Custom CSS Item Classes Names', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE', 'mfn-opts')))));
        // GET Sections & Items
        $mfn_items_serial = get_post_meta($post->ID, 'mfn-page-items', true);
        $mfn_tmp_fn = 'base' . '64_decode';
        $mfn_items = unserialize(call_user_func($mfn_tmp_fn, $mfn_items_serial));
        // OLD Content Builder 1.0 Compatibility
        if (is_array($mfn_items) && !key_exists('attr', $mfn_items[0])) {
            $mfn_items_builder2 = array('attr' => $mfn_std_section, 'items' => $mfn_items);
            $mfn_items = array($mfn_items_builder2);
        }
        // 	print_r($mfn_items);
        $mfn_sections_count = is_array($mfn_items) ? count($mfn_items) : 0;
        // builder visibility
        if ($visibility = mfn_opts_get('builder-visibility')) {
            if ($visibility == 'hide' || !current_user_can($visibility)) {
                return false;
            }
        }
        ?>
		<div id="mfn-builder">
			<input type="hidden" id="mfn-row-id" value="<?php 
        echo $mfn_sections_count;
        ?>
" />
			<a id="mfn-go-to-top" href="javascript:void(0);">Go to top</a>
		
			<div id="mfn-content">
	
				<!-- .mfn-row-add ================================================ -->			
				<div class="mfn-row-add">
					<table class="form-table">
						<tbody>
							<tr valign="top">
								<td>
									<a class="btn-blue mfn-row-add-btn" href="javascript:void(0);"><em></em><?php 
        _e('Add Section', 'mfn-opts');
        ?>
</a>
									<div class="logo">Muffin Group | Muffin Builder</div>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
				
				
				<!-- #mfn-desk ================================================== -->
				<div id="mfn-desk" class="clearfix">
				
					<?php 
        for ($i = 0; $i < $mfn_sections_count; $i++) {
            mfn_builder_section($mfn_std_items, $mfn_std_section, $mfn_items[$i], $i + 1);
        }
        ?>
				
				</div>
				
				
				<!-- #mfn-rows ================================================= -->
				<div id="mfn-rows" class="clearfix">
					<?php 
        mfn_builder_section($mfn_std_items, $mfn_std_section);
        ?>
				</div>
							
				
				<!-- #mfn-items =============================================== -->
				<div id="mfn-items" class="clearfix">
					<?php 
        foreach ($mfn_std_items as $item) {
            mfn_builder_item($item);
        }
        ?>
				
				</div>
				
				<!-- #mfn-migrate -->
				<div id="mfn-migrate">

					<div class="btn-wrapper">
						<a href="javascript:void(0);" class="mfn-btn-migrate btn-exp"><?php 
        _e('Export', 'mfn-opts');
        ?>
</a>
						<a href="javascript:void(0);" class="mfn-btn-migrate btn-imp"><?php 
        _e('Import', 'mfn-opts');
        ?>
</a>
						<a href="javascript:void(0);" class="mfn-btn-migrate btn-tem btn-primary"><?php 
        _e('Templates', 'mfn-opts');
        ?>
</a>
					</div>
					<div class="migrate-wrapper export-wrapper hide">
						<textarea id="mfn-items-export" placeholder="Please remember to Publish/Update your post before Export."><?php 
        echo $mfn_items_serial;
        ?>
</textarea>
						<span class="description"><?php 
        _e('Copy to clipboard: Ctrl+C (Cmd+C for Mac)', 'mfn-opts');
        ?>
</span>
					</div>
					
					<div class="migrate-wrapper import-wrapper hide">
						<textarea id="mfn-items-import" placeholder="Paste import data here."></textarea>
						<a href="javascript:void(0);" class="mfn-btn-migrate btn-primary btn-import"><?php 
        _e('Import', 'mfn-opts');
        ?>
</a>	
						<select name="mfn-items-import-type">
							<option value="replace"><?php 
        _e('REPLACE current builder content', 'mfn-opts');
        ?>
</options>
							<option value="before"><?php 
        _e('Insert BEFORE current builder content', 'mfn-opts');
        ?>
</options>
							<option value="after"><?php 
        _e('Insert AFTER current builder content', 'mfn-opts');
        ?>
</options>
						</select>			
					</div>
					
					<div class="migrate-wrapper templates-wrapper hide">
						<a href="javascript:void(0);" class="mfn-btn-migrate btn-primary btn-template"><?php 
        _e('Use Template', 'mfn-opts');
        ?>
</a>	
						<select name="mfn-items-import-template-type">
							<option value="replace"><?php 
        _e('REPLACE current builder content', 'mfn-opts');
        ?>
</options>
							<option value="before"><?php 
        _e('Insert BEFORE current builder content', 'mfn-opts');
        ?>
</options>
							<option value="after"><?php 
        _e('Insert AFTER current builder content', 'mfn-opts');
        ?>
</options>
						</select>
						<select id="mfn-items-import-template">
							<option value=""><?php 
        _e('-- Select --', 'mfn-opts');
        ?>
</options>
							<?php 
        $args = array('post_type' => 'template', 'posts_per_page' => -1);
        $templates = get_posts($args);
        if (is_array($templates)) {
            foreach ($templates as $v) {
                echo '<option value="' . $v->ID . '">' . $v->post_title . '</options>';
            }
        }
        ?>
						</select>					
					</div>
					
				</div>
		
			</div>
			
			<!-- #mfn-popup -->
			<div id="mfn-popup">
				<a href="javascript:void(0);" class="mfn-btn-close mfn-popup-close"><?php 
        _e('Close', 'mfn-opts');
        ?>
</a>	
				<a href="javascript:void(0);" class="mfn-popup-save"><?php 
        _e('Save changes', 'mfn-opts');
        ?>
</a>	
			</div>
			
			<!-- #mfn-items-seo -->
			<div id="mfn-items-seo">
				<?php 
        $mfn_items_seo = get_post_meta($post->ID, 'mfn-page-items-seo', true);
        echo '<textarea id="mfn-items-seo-data">' . $mfn_items_seo . '</textarea>';
        ?>
			</div>
			
		</div>
		<?php 
    }
function mfn_builder_show()
{
    global $post;
    // Entrance Animations -----------------------------------------------------------------------------
    $mfn_animate = array('' => '- Not Animated -', 'fadeIn' => 'Fade In', 'fadeInUp' => 'Fade In Up', 'fadeInDown' => 'Fade In Down ', 'fadeInLeft' => 'Fade In Left', 'fadeInRight' => 'Fade In Right ', 'fadeInUpLarge' => 'Fade In Up Large', 'fadeInDownLarge' => 'Fade In Down Large', 'fadeInLeftLarge' => 'Fade In Left Large', 'fadeInRightLarge' => 'Fade In Right Large', 'zoomIn' => 'Zoom In', 'zoomInUp' => 'Zoom In Up', 'zoomInDown' => 'Zoom In Down', 'zoomInLeft' => 'Zoom In Left', 'zoomInRight' => 'Zoom In Right', 'zoomInUpLarge' => 'Zoom In Up Large', 'zoomInDownLarge' => 'Zoom In Down Large', 'zoomInLeftLarge' => 'Zoom In Left Large', 'bounceIn' => 'Bounce In', 'bounceInUp' => 'Bounce In Up', 'bounceInDown' => 'Bounce In Down', 'bounceInLeft' => 'Bounce In Left', 'bounceInRight' => 'Bounce In Right');
    // Default Fields for Section -----------------------------------------------------------------------------
    $mfn_std_section = array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'desc' => __('This field is used as an Section Label in admin panel only and shows after page update.', 'mfn-opts')), array('id' => 'bg_image', 'type' => 'upload', 'title' => __('Background Image', 'mfn-opts')), array('id' => 'bg_position', 'type' => 'select', 'title' => __('Background Image position', 'mfn-opts'), 'desc' => __('This option can be used only with your custom image selected above.', 'mfn-opts'), 'options' => mfna_bg_position(), 'std' => 'center top no-repeat'), array('id' => 'bg_color', 'type' => 'text', 'title' => __('Background Color', 'mfn-opts'), 'desc' => __('Use color name (eg. "gray") or hex (eg. "#808080").<br /><br />Leave this field blank if you want to use transparent background.', 'mfn-opts'), 'class' => 'small-text', 'std' => ''), array('id' => 'divider', 'type' => 'select', 'title' => __('Separator', 'mfn-opts'), 'sub_desc' => __('Section Separator', 'mfn-opts'), 'desc' => __('Works only with Background Color selected above.', 'mfn-opts'), 'options' => array('' => 'None', 'circle up' => 'Circle Up', 'circle down' => 'Circle Down', 'square up' => 'Square Up', 'square down' => 'Square Down', 'triangle up' => 'Triangle Up', 'triangle down' => 'Triangle Down', 'triple-triangle up' => 'Triple Triangle Up', 'triple-triangle down' => 'Triple Triangle Down')), array('id' => 'bg_video_mp4', 'type' => 'upload', 'title' => __('HTML5 mp4 video', 'mfn-opts'), 'sub_desc' => __('m4v [.mp4]', 'mfn-opts'), 'desc' => __('Please add both mp4 and ogv for cross-browser compatibility. Background Image will be used as video placeholder before video loads and on mobile devices.', 'mfn-opts'), 'class' => __('video', 'mfn-opts')), array('id' => 'bg_video_ogv', 'type' => 'upload', 'title' => __('HTML5 ogv video', 'mfn-opts'), 'sub_desc' => __('ogg [.ogv]', 'mfn-opts'), 'class' => __('video', 'mfn-opts')), array('id' => 'layout', 'type' => 'select', 'title' => __('Layout', 'mfn-opts'), 'sub_desc' => __('Select layout for this section', 'mfn-opts'), 'desc' => __('<strong>Notice:</strong> Sidebar for section will show <strong>only</strong> if you set Full Width Page Layout in Page Options below Content Builder.', 'mfn-opts'), 'options' => array('no-sidebar' => 'Full width. No sidebar', 'left-sidebar' => 'Left Sidebar', 'right-sidebar' => 'Right Sidebar'), 'std' => 'no-sidebar'), array('id' => 'sidebar', 'type' => 'select', 'title' => __('Sidebar', 'mfn-opts'), 'sub_desc' => __('Select sidebar for this section', 'mfn-opts'), 'options' => mfn_opts_get('sidebars')), array('id' => 'padding_top', 'type' => 'text', 'title' => __('Padding Top', 'mfn-opts'), 'sub_desc' => __('Section Padding Top', 'mfn-opts'), 'desc' => __('px', 'mfn-opts'), 'class' => 'small-text', 'std' => '0'), array('id' => 'padding_bottom', 'type' => 'text', 'title' => __('Padding Bottom', 'mfn-opts'), 'sub_desc' => __('Section Padding Bottom', 'mfn-opts'), 'desc' => __('px', 'mfn-opts'), 'class' => 'small-text', 'std' => '0'), array('id' => 'style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'sub_desc' => __('Predefined styles for section', 'mfn-opts'), 'desc' => __('For more advanced styles please use Custom CSS field below.', 'mfn-opts'), 'options' => array('' => 'Default', 'dark' => 'Dark | .dark', 'highlight-left' => 'Highlight Left | .highlight-left', 'highlight-right' => 'Highlight Right | .highlight-right', 'full-width' => 'Full Width | .full-width', 'full-screen' => 'Full Screen | .full-screen', 'no-margin' => 'Columns without vertical margin | .no-margin')), array('id' => 'class', 'type' => 'text', 'title' => __('Custom CSS classes', 'mfn-opts'), 'desc' => __('Multiple classes should be separated with SPACE.<br />For sections with centered text you can use class: <strong>center</strong>', 'mfn-opts')), array('id' => 'section_id', 'type' => 'text', 'title' => __('Custom ID', 'mfn-opts'), 'desc' => __('Use this option to create One Page sites.<br /><br />For example: Your Custom ID is <strong>offer</strong> and you want to open this section, please use link: <strong>your-url/#offer-2</strong>', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'visibility', 'type' => 'select', 'title' => __('Responsive Visibility', 'mfn-opts'), 'options' => array('' => 'Default', 'hide-desktop' => 'Hide on Desktop', 'hide-tablet' => 'Hide on Tablet', 'hide-mobile' => 'Hide on Mobile', 'hide-desktop hide-tablet' => 'Hide on Desktop & Tablet', 'hide-desktop hide-mobile' => 'Hide on Desktop & Mobile', 'hide-tablet hide-mobile' => 'Hide on Tablet & Mobile')));
    // Default Items with Fields -----------------------------------------------------------------------------
    $mfn_std_items = array('accordion' => array('type' => 'accordion', 'title' => __('Accordion', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'tabs', 'type' => 'tabs', 'title' => __('Accordion', 'mfn-opts'), 'sub_desc' => __('Manage accordion tabs.', 'mfn-opts'), 'desc' => __('You can use Drag & Drop to set the order.', 'mfn-opts')), array('id' => 'open1st', 'type' => 'select', 'title' => __('Open First', 'mfn-opts'), 'desc' => __('Open first tab at start.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'options' => array('accordion' => 'Accordion', 'toggle' => 'Toggle')))), 'article_box' => array('type' => 'article_box', 'title' => __('Article box', 'mfn-opts'), 'size' => '1/3', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts'), 'sub_desc' => __('Featured Image', 'mfn-opts')), array('id' => 'slogan', 'type' => 'text', 'title' => __('Slogan', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'blockquote' => array('type' => 'blockquote', 'title' => __('Blockquote', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'sub_desc' => __('Blockquote content.', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts')), array('id' => 'author', 'type' => 'text', 'title' => __('Author', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts'), 'sub_desc' => __('Link to company page.', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'sub_desc' => __('Open link in a new window.', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'style', 'type' => 'select', 'title' => 'Style', 'options' => array('classic' => 'Classic', 'modern' => 'Modern'), 'desc' => __('Classic - transparent background<br />Modern - with background color set in Theme Options', 'mfn-opts')))), 'blog' => array('type' => 'blog', 'title' => __('Blog', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'sub_desc' => __('Number of posts to show', 'mfn-opts'), 'std' => '2', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('category'), 'sub_desc' => __('Select posts category', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'style', 'type' => 'select', 'title' => 'Style', 'options' => array('classic' => 'Classic', 'masonry' => 'Masonry', 'timeline' => 'Timeline'), 'std' => 'classic'), array('id' => 'more', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Show Read More link', 'mfn-opts'), 'std' => 1), array('id' => 'pagination', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Show Pagination', 'mfn-opts'), 'desc' => __('<strong>Notice:</strong> Pagination will <strong>not</strong> work if you put item on Homepage of WordPress Multilangual Site.', 'mfn-opts')))), 'blog_slider' => array('type' => 'blog_slider', 'title' => __('Blog Slider', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'sub_desc' => __('Number of posts to show', 'mfn-opts'), 'desc' => __('We <strong>do not</strong> recommend use more than 10 items, because site will be working slowly.', 'mfn-opts'), 'std' => '5', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('category'), 'sub_desc' => __('Select posts category', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'more', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Show Read More button', 'mfn-opts'), 'std' => 1))), 'call_to_action' => array('type' => 'call_to_action', 'title' => __('Call to Action', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'button_title', 'type' => 'text', 'title' => __('Button Title', 'mfn-opts'), 'desc' => __('Leave this field blank if you want Call to Action with Big Icon', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'class', 'type' => 'text', 'title' => __('Class', 'mfn-opts'), 'desc' => __('This option is useful when you want to use PrettyPhoto (prettyphoto)', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'chart' => array('type' => 'chart', 'title' => __('Chart', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'percent', 'type' => 'text', 'title' => __('Percent', 'mfn-opts'), 'desc' => __('Number between 0-100', 'mfn-opts')), array('id' => 'label', 'type' => 'text', 'title' => __('Chart Label', 'mfn-opts')), array('id' => 'icon', 'type' => 'icon', 'title' => __('Chart Icon', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'image', 'type' => 'upload', 'title' => __('Chart Image', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')))), 'clients' => array('type' => 'clients', 'title' => __('Clients', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'in_row', 'type' => 'text', 'title' => __('Items in Row', 'mfn-opts'), 'sub_desc' => __('Number of items in row', 'mfn-opts'), 'desc' => __('Recommended number: 3-6', 'mfn-opts'), 'std' => 6, 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('client-types'), 'sub_desc' => __('Select the client post category.', 'mfn-opts')), array('id' => 'style', 'type' => 'select', 'options' => array('' => 'Default', 'tiles' => 'Tiles'), 'title' => __('Style', 'mfn-opts')))), 'clients_slider' => array('type' => 'clients_slider', 'title' => __('Clients Slider', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('client-types'), 'sub_desc' => __('Select the client post category.', 'mfn-opts')))), 'code' => array('type' => 'code', 'title' => __('Code', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'class' => 'full-width', 'validate' => 'html'))), 'column' => array('type' => 'column', 'title' => __('Column', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'desc' => __('This field is used as an Item Label in admin panel only and shows after page update.', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Column content', 'mfn-opts'), 'desc' => __('Shortcodes and HTML tags allowed.', 'mfn-opts'), 'class' => 'full-width', 'validate' => 'html'), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'contact_box' => array('type' => 'contact_box', 'title' => __('Contact Box', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'address', 'type' => 'textarea', 'title' => __('Address', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts')), array('id' => 'telephone', 'type' => 'text', 'title' => __('Telephone', 'mfn-opts')), array('id' => 'email', 'type' => 'text', 'title' => __('Email', 'mfn-opts')), array('id' => 'www', 'type' => 'text', 'title' => __('WWW', 'mfn-opts')), array('id' => 'image', 'type' => 'upload', 'title' => __('Background Image', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'content' => array('type' => 'content', 'title' => __('Content WP', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'info', 'type' => 'info', 'desc' => __('Adding this Item will show Content from WordPress Editor above Page Options. You can use it only once per page. Please also remember to turn on "Hide The Content" option.', 'nhp-opts')))), 'countdown' => array('type' => 'countdown', 'title' => __('Countdown', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'date', 'type' => 'text', 'title' => __('Lunch Date', 'mfn-opts'), 'desc' => __('Format: 12/30/2014 12:00:00 month/day/year hour:minute:second', 'mfn-opts'), 'std' => '12/30/2014 12:00:00', 'class' => 'small-text'), array('id' => 'timezone', 'type' => 'select', 'title' => __('UTC Timezone', 'mfn-opts'), 'options' => mfna_utc(), 'std' => '0'))), 'counter' => array('type' => 'counter', 'title' => __('Counter', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'std' => ' icon-lamp', 'class' => 'small-text'), array('id' => 'color', 'type' => 'text', 'title' => __('Icon Color', 'mfn-opts'), 'desc' => __('Use color name (eg. "blue") or hex (eg. "#2991D6").', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts'), 'desc' => __('If you upload an image, icon will not show.', 'mfn-opts')), array('id' => 'number', 'type' => 'text', 'title' => __('Number', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'type', 'type' => 'select', 'options' => array('horizontal' => 'Horizontal', 'vertical' => 'Vertical'), 'title' => __('Style', 'mfn-opts'), 'std' => 'vertical'), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'divider' => array('type' => 'divider', 'title' => __('Divider', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'height', 'type' => 'text', 'title' => __('Divider height', 'mfn-opts'), 'desc' => __('px', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'style', 'type' => 'select', 'options' => array('default' => 'Default', 'dots' => 'Dots', 'zigzag' => 'ZigZag'), 'title' => __('Style', 'mfn-opts')), array('id' => 'line', 'type' => 'select', 'options' => array('default' => 'Default', 'narrow' => 'Narrow', 'wide' => 'Wide', '' => 'No Line'), 'title' => __('Line', 'mfn-opts'), 'desc' => __('This option can be used <strong>only</strong> with Style: Default.', 'mfn-opts')), array('id' => 'themecolor', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Theme Color', 'mfn-opts'), 'desc' => __('This option can be used <strong>only</strong> with Style: Default.', 'mfn-opts')))), 'fancy_divider' => array('type' => 'fancy_divider', 'title' => __('Fancy Divider', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'info', 'type' => 'info', 'desc' => __('This item can only be used on pages <strong>Without Sidebar</strong>. Please also set Section Style to <strong>Full Width</strong>.', 'nhp-opts')), array('id' => 'style', 'type' => 'select', 'options' => array('circle up' => 'Circle Up', 'circle down' => 'Circle Down', 'curve up' => 'Curve Up', 'curve down' => 'Curve Down', 'stamp' => 'Stamp', 'triangle up' => 'Triangle Up', 'triangle down' => 'Triangle Down'), 'title' => __('Style', 'mfn-opts')), array('id' => 'color_top', 'type' => 'text', 'title' => __('Color Top', 'mfn-opts'), 'desc' => __('Use color name (eg. "blue") or hex (eg. "#2991D6").', 'mfn-opts'), 'class' => 'small-text', 'std' => ''), array('id' => 'color_bottom', 'type' => 'text', 'title' => __('Color Bottom', 'mfn-opts'), 'desc' => __('Use color name (eg. "blue") or hex (eg. "#2991D6").', 'mfn-opts'), 'class' => 'small-text', 'std' => ''))), 'fancy_heading' => array('type' => 'fancy_heading', 'title' => __('Fancy Heading', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'h1', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Use H1 tag', 'mfn-opts'), 'desc' => __('Wrap title into H1 instead of H2', 'mfn-opts')), array('id' => 'icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'sub_desc' => __('Icon Style only', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'slogan', 'type' => 'text', 'title' => __('Slogan', 'mfn-opts'), 'sub_desc' => __('Line Style only', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'validate' => 'html'), array('id' => 'style', 'type' => 'select', 'options' => array('icon' => 'Icon', 'line' => 'Line', 'arrows' => 'Arrows'), 'title' => __('Style', 'mfn-opts'), 'desc' => __('Some fields above work on selected styles.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'faq' => array('type' => 'faq', 'title' => __('FAQ', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'tabs', 'type' => 'tabs', 'title' => __('FAQ', 'mfn-opts'), 'sub_desc' => __('Manage FAQ tabs.', 'mfn-opts'), 'desc' => __('You can use Drag & Drop to set the order.', 'mfn-opts')), array('id' => 'open1st', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open First', 'mfn-opts'), 'desc' => __('Open first tab at start.', 'mfn-opts')))), 'feature_list' => array('type' => 'feature_list', 'title' => __('Feature List', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'desc' => __('This field is used as an Item Label in admin panel only and shows after page update.', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Please use <strong>[item icon="" title="" link="" target=""]</strong> shortcodes.', 'mfn-opts'), 'std' => '[item icon="icon-lamp" title="" link="" target="" animate=""]'))), 'flat_box' => array('type' => 'flat_box', 'title' => __('Flat Box', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'std' => 'icon-lamp', 'class' => 'small-text'), array('id' => 'background', 'type' => 'text', 'title' => __('Icon background', 'mfn-opts'), 'desc' => __('Use color name (eg. "blue") or hex (eg. "#2991D6").<br /><br />Leave this field blank to use Theme Background.', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'validate' => 'html'), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'hover_box' => array('type' => 'hover_box', 'title' => __('Hover Box', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'image_hover', 'type' => 'upload', 'title' => __('Hover Image', 'mfn-opts'), 'desc' => __('Both images must have the same size.', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')))), 'how_it_works' => array('type' => 'how_it_works', 'title' => __('How It Works', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Background Image', 'mfn-opts'), 'desc' => __('Recommended: Square Image with transparent background.', 'mfn-opts')), array('id' => 'number', 'type' => 'text', 'title' => __('Number', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'validate' => 'html'), array('id' => 'border', 'type' => 'select', 'title' => __('Line', 'mfn-opts'), 'sub_desc' => __('Show right connecting line', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'icon_box' => array('type' => 'icon_box', 'title' => __('Icon Box', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts')), array('id' => 'icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'std' => 'icon-lamp', 'class' => 'small-text'), array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'icon_position', 'type' => 'select', 'options' => array('left' => 'Left', 'top' => 'Top'), 'title' => __('Icon Position', 'mfn-opts'), 'std' => 'top'), array('id' => 'border', 'type' => 'select', 'title' => __('Border', 'mfn-opts'), 'sub_desc' => __('Show right border', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate), array('id' => 'class', 'type' => 'text', 'title' => __('Custom CSS classes for link', 'mfn-opts'), 'desc' => __('This option is useful when you want to use PrettyPhoto (prettyphoto) or Scroll (scroll).', 'mfn-opts')))), 'image' => array('type' => 'image', 'title' => __('Image', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'src', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'border', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Border', 'mfn-opts'), 'sub_desc' => __('Show Image Border', 'mfn-opts')), array('id' => 'align', 'type' => 'select', 'title' => __('Align', 'mfn-opts'), 'desc' => __('If you want image to be resized to column width please use <b>align none</b>', 'mfn-opts'), 'options' => array('' => 'None', 'left' => 'Left', 'right' => 'Right', 'center' => 'Center')), array('id' => 'margin', 'type' => 'text', 'title' => __('Margin Top', 'mfn-opts'), 'desc' => __('px', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'alt', 'type' => 'text', 'title' => __('Alternate Text', 'mfn-opts')), array('id' => 'caption', 'type' => 'text', 'title' => __('Caption', 'mfn-opts')), array('id' => 'link_image', 'type' => 'upload', 'title' => __('Zoomed image', 'mfn-opts'), 'desc' => __('This image will be opened in lightbox.', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts'), 'desc' => __('This link will work only if you leave the above "Zoomed image" field empty.', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'info_box' => array('type' => 'info_box', 'title' => __('Info Box', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts'), 'std' => '<ul><li>list item 1</li><li>list item 2</li></ul>'), array('id' => 'image', 'type' => 'upload', 'title' => __('Background Image', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'list' => array('type' => 'list', 'title' => __('List', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'icon', 'type' => 'icon', 'title' => __('Icon', 'mfn-opts'), 'std' => ' icon-lamp', 'class' => 'small-text'), array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts'), 'desc' => __('This link will work only if you leave the above "Zoomed image" field empty.', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'options' => array(1 => 'With background', 2 => 'Transparent', 3 => 'Vertical', 4 => 'Ordered list')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'map' => array('type' => 'map', 'title' => __('Map', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'lat', 'type' => 'text', 'title' => __('Google Maps Lat', 'mfn-opts'), 'class' => 'small-text', 'desc' => __('The map will appear only if this field is filled correctly.', 'mfn-opts')), array('id' => 'lng', 'type' => 'text', 'title' => __('Google Maps Lng', 'mfn-opts'), 'class' => 'small-text', 'desc' => __('The map will appear only if this field is filled correctly.', 'mfn-opts')), array('id' => 'zoom', 'type' => 'text', 'title' => __('Zoom', 'mfn-opts'), 'class' => 'small-text', 'std' => 13), array('id' => 'height', 'type' => 'text', 'title' => __('Height', 'mfn-opts'), 'class' => 'small-text', 'std' => 200), array('id' => 'title', 'type' => 'text', 'title' => __('Box | Title', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'content', 'type' => 'textarea', 'title' => __('Box | Address', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts')), array('id' => 'telephone', 'type' => 'text', 'title' => __('Box | Telephone', 'mfn-opts')), array('id' => 'email', 'type' => 'text', 'title' => __('Box | Email', 'mfn-opts')), array('id' => 'www', 'type' => 'text', 'title' => __('Box | WWW', 'mfn-opts')))), 'offer' => array('type' => 'offer', 'title' => __('Offer Slider Full', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'info', 'type' => 'info', 'desc' => __('This item can only be used on pages <strong>Without Sidebar</strong>.<br />Please also set Section Style to <strong>Full Width</strong> and use one Item in one Section.', 'nhp-opts')), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('offer-types'), 'sub_desc' => __('Select the offer post category.', 'mfn-opts')))), 'offer_thumb' => array('type' => 'offer_thumb', 'title' => __('Offer Slider Thumb', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'info', 'type' => 'info', 'desc' => __('This item can only be used <strong>once per page</strong>.', 'nhp-opts')), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('offer-types'), 'sub_desc' => __('Select the offer post category.', 'mfn-opts')))), 'opening_hours' => array('type' => 'opening_hours', 'title' => __('Opening Hours', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts'), 'std' => '<ul><li><label>Monday - Saturday</label><span>8am - 4pm</span></li></ul>'), array('id' => 'image', 'type' => 'upload', 'title' => __('Background Image', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'our_team' => array('type' => 'our_team', 'title' => __('Our Team', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'heading', 'type' => 'text', 'title' => __('Heading', 'mfn-opts')), array('id' => 'image', 'type' => 'upload', 'title' => __('Photo', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'sub_desc' => __('Will also be used as the image alternative text', 'mfn-opts')), array('id' => 'subtitle', 'type' => 'text', 'title' => __('Subtitle', 'mfn-opts')), array('id' => 'phone', 'type' => 'text', 'title' => __('Phone', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts')), array('id' => 'email', 'type' => 'text', 'title' => __('E-mail', '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' => 'blockquote', 'type' => 'textarea', 'title' => __('Blockquote', 'mfn-opts')), array('id' => 'style', 'type' => 'select', 'options' => array('circle' => 'Circle', 'vertical' => 'Vertical', 'horizontal' => 'Horizontal 	[only: 1/2]'), 'title' => __('Style', 'mfn-opts'), 'std' => 'vertical'), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'our_team_list' => array('type' => 'our_team_list', 'title' => __('Our Team List', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Photo', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'sub_desc' => __('Will also be used as the image alternative text', 'mfn-opts')), array('id' => 'subtitle', 'type' => 'text', 'title' => __('Subtitle', 'mfn-opts')), array('id' => 'phone', 'type' => 'text', 'title' => __('Phone', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts')), array('id' => 'blockquote', 'type' => 'textarea', 'title' => __('Blockquote', 'mfn-opts')), array('id' => 'email', 'type' => 'text', 'title' => __('E-mail', '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' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')))), 'photo_box' => array('type' => 'photo_box', 'title' => __('Photo Box', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts')), array('id' => 'align', 'type' => 'select', 'title' => 'Text Align', 'options' => array('' => 'Center', 'left' => 'Left', 'right' => 'Right')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'portfolio' => array('type' => 'portfolio', 'title' => __('Portfolio', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'std' => '2', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('portfolio-types'), 'sub_desc' => __('Select the portfolio post category.', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'style', 'type' => 'select', 'title' => 'Style', 'options' => array('list' => 'List', 'flat' => 'Flat', 'grid' => 'Grid', 'masonry' => 'Masonry', 'masonry-flat' => 'Masonry Flat'), 'std' => 'grid'), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'sub_desc' => __('Portfolio items order by column.', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title', 'rand' => 'Random'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'sub_desc' => __('Portfolio items order.', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'pagination', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Show pagination', 'mfn-opts'), 'desc' => __('<strong>Notice:</strong> Pagination will <strong>not</strong> work if you put item on Homepage of WordPress Multilangual Site.', 'mfn-opts')))), 'portfolio_grid' => array('type' => 'portfolio_grid', 'title' => __('Portfolio Grid', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'std' => '4', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('portfolio-types'), 'sub_desc' => __('Select the portfolio post category.', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'sub_desc' => __('Portfolio items order by column.', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title', 'rand' => 'Random'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'sub_desc' => __('Portfolio items order.', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'))), 'portfolio_slider' => array('type' => 'portfolio_slider', 'title' => __('Portfolio Slider', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'desc' => __('We <strong>do not</strong> recommend use more than 10 items, because site will be working slowly.', 'mfn-opts'), 'std' => '6', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('portfolio-types'), 'sub_desc' => __('Select the portfolio post category.', 'mfn-opts')), array('id' => 'category_multi', 'type' => 'text', 'title' => __('Multiple Categories', 'mfn-opts'), 'sub_desc' => __('Categories Slugs', 'mfn-opts'), 'desc' => __('Slugs should be separated with <strong>coma</strong> (,).', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'sub_desc' => __('Portfolio items order by column.', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'sub_desc' => __('Portfolio items order.', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'))), 'pricing_item' => array('type' => 'pricing_item', 'title' => __('Pricing Item', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'sub_desc' => __('Pricing item title', 'mfn-opts')), array('id' => 'price', 'type' => 'text', 'title' => __('Price', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'currency', 'type' => 'text', 'title' => __('Currency', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'period', 'type' => 'text', 'title' => __('Period', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'subtitle', 'type' => 'text', 'title' => __('Subtitle', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('HTML tags allowed.', 'mfn-opts'), 'std' => '<ul><li><strong>List</strong> item</li></ul>'), array('id' => 'link_title', 'type' => 'text', 'title' => __('Link title', 'mfn-opts'), 'desc' => __('Link will appear only if this field will be filled.', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts'), 'desc' => __('Link will appear only if this field will be filled.', 'mfn-opts')), array('id' => 'featured', 'type' => 'select', 'title' => __('Featured', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'style', 'type' => 'select', 'title' => __('Style', 'mfn-opts'), 'options' => array('box' => 'Box', 'label' => 'Table Label', 'table' => 'Table')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'progress_bars' => array('type' => 'progress_bars', 'title' => __('Progress Bars', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'desc' => __('Please use <strong>[bar title="Title" value="50"]</strong> shortcodes here.', 'mfn-opts'), 'std' => '[bar title="Bar1" value="50"]' . "\n" . '[bar title="Bar2" value="60"]'))), 'promo_box' => array('type' => 'promo_box', 'title' => __('Promo Box', 'mfn-opts'), 'size' => '1/2', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts')), array('id' => 'btn_text', 'type' => 'text', 'title' => __('Button Text', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'btn_link', 'type' => 'text', 'title' => __('Button Link', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'target', 'type' => 'select', 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes')), array('id' => 'position', 'type' => 'select', 'title' => __('Image position', 'mfn-opts'), 'options' => array('left' => 'Left', 'right' => 'Right'), 'std' => 'left'), array('id' => 'border', 'type' => 'select', 'title' => __('Border', 'mfn-opts'), 'sub_desc' => __('Show right border', 'mfn-opts'), 'options' => array(0 => 'No', 1 => 'Yes'), 'std' => 'no_border'), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'quick_fact' => array('type' => 'quick_fact', 'title' => __('Quick Fact', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'heading', 'type' => 'text', 'title' => __('Heading', 'mfn-opts')), array('id' => 'number', 'type' => 'text', 'title' => __('Number', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Content', 'mfn-opts'), 'validate' => 'html'), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'shop_slider' => array('type' => 'shop_slider', 'title' => __('Shop Slider', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'count', 'type' => 'text', 'title' => __('Count', 'mfn-opts'), 'sub_desc' => __('Number of posts to show', 'mfn-opts'), 'desc' => __('We <strong>do not</strong> recommend use more than 10 items, because site will be working slowly.', 'mfn-opts'), 'std' => '5', 'class' => 'small-text'), array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('product_cat'), 'sub_desc' => __('Select the products category', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'sub_desc' => __('Slides order by column', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'sub_desc' => __('Slides order', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'))), 'sidebar_widget' => array('type' => 'sidebar_widget', 'title' => __('Sidebar Widget', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'sidebar', 'type' => 'select', 'title' => __('Select Sidebar', 'mfn-opts'), 'desc' => __('1. Create Sidebar in Theme Options > Getting Started > Sidebars.<br />2. Add Widget.<br />3. Select your sidebar.', 'mfn-opts'), 'options' => mfn_opts_get('sidebars')))), 'slider' => array('type' => 'slider', 'title' => __('Slider', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('slide-types'), 'sub_desc' => __('Select the slides category', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'sub_desc' => __('Slides order by column', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'sub_desc' => __('Slides order', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'))), 'sliding_box' => array('type' => 'sliding_box', 'title' => __('Sliding Box', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'tabs' => array('type' => 'tabs', 'title' => __('Tabs', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'tabs', 'type' => 'tabs', 'title' => __('Tabs', 'mfn-opts'), 'sub_desc' => __('To add an <strong>icon</strong> in Title field, please use the following code:<br/><br/>&lt;i class=" icon-lamp"&gt;&lt;/i&gt; Tab Title', 'mfn-opts'), 'desc' => __('You can use Drag & Drop to set the order.', 'mfn-opts')), array('id' => 'type', 'type' => 'select', 'options' => array('horizontal' => 'Horizontal', 'vertical' => 'Vertical'), 'title' => __('Style', 'mfn-opts'), 'desc' => __('Vertical tabs works only for column widths: 1/2, 3/4 & 1/1', 'mfn-opts')), array('id' => 'uid', 'type' => 'text', 'title' => __('Unique ID [optional]', 'mfn-opts'), 'sub_desc' => __('Allowed characters: "a-z" "-" "_"', 'mfn-opts'), 'desc' => __('Use this option if you want to open specified tab from link.<br />For example: Your Unique ID is <strong>offer</strong> and you want to open 2nd tab, please use link: <strong>your-url/#offer-2</strong>', 'mfn-opts')))), 'testimonials' => array('type' => 'testimonials', 'title' => __('Testimonials', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('testimonial-types'), 'sub_desc' => __('Select the testimonial post category.', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'sub_desc' => __('Testimonials order by column.', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'sub_desc' => __('Testimonials order.', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'), array('id' => 'hide_photos', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Hide Photos', 'mfn-opts')))), 'testimonials_list' => array('type' => 'testimonials_list', 'title' => __('Testimonials List', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'category', 'type' => 'select', 'title' => __('Category', 'mfn-opts'), 'options' => mfn_get_categories('testimonial-types'), 'sub_desc' => __('Select the testimonial post category.', 'mfn-opts')), array('id' => 'orderby', 'type' => 'select', 'title' => __('Order by', 'mfn-opts'), 'sub_desc' => __('Testimonials order by column.', 'mfn-opts'), 'options' => array('date' => 'Date', 'menu_order' => 'Menu order', 'title' => 'Title'), 'std' => 'date'), array('id' => 'order', 'type' => 'select', 'title' => __('Order', 'mfn-opts'), 'sub_desc' => __('Testimonials order.', 'mfn-opts'), 'options' => array('ASC' => 'Ascending', 'DESC' => 'Descending'), 'std' => 'DESC'))), 'timeline' => array('type' => 'timeline', 'title' => __('Timeline', 'mfn-opts'), 'size' => '1/1', 'fields' => array(array('id' => 'tabs', 'type' => 'tabs', 'title' => __('Timeline', 'mfn-opts'), 'sub_desc' => __('Please add <strong>date</strong> wrapped into <strong>span</strong> tag in Title field.<br/><br/>&lt;span&gt;2013&lt;/span&gt;Event Title', 'mfn-opts'), 'desc' => __('You can use Drag & Drop to set the order.', 'mfn-opts')))), 'trailer_box' => array('type' => 'trailer_box', 'title' => __('Trailer Box', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'image', 'type' => 'upload', 'title' => __('Image', 'mfn-opts')), array('id' => 'slogan', 'type' => 'text', 'title' => __('Slogan', 'mfn-opts')), array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts')), array('id' => 'link', 'type' => 'text', 'title' => __('Link', 'mfn-opts')), array('id' => 'target', 'type' => 'select', 'options' => array(0 => 'No', 1 => 'Yes'), 'title' => __('Open in new window', 'mfn-opts'), 'desc' => __('Adds a target="_blank" attribute to the link.', 'mfn-opts')), array('id' => 'animate', 'type' => 'select', 'title' => __('Animation', 'mfn-opts'), 'sub_desc' => __('Entrance animation', 'mfn-opts'), 'options' => $mfn_animate))), 'video' => array('type' => 'video', 'title' => __('Video', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'video', 'type' => 'text', 'title' => __('Video ID', 'mfn-opts'), 'sub_desc' => __('YouTube or Vimeo', 'mfn-opts'), 'desc' => __('It`s placed in every YouTube & Vimeo video, for example:<br /><br /><b>YouTube:</b> http://www.youtube.com/watch?v=<u>WoJhnRczeNg</u><br /><b>Vimeo:</b> http://vimeo.com/<u>62954028</u>', 'mfn-opts'), 'class' => 'small-text'), array('id' => 'mp4', 'type' => 'upload', 'title' => __('HTML5 mp4 video', 'mfn-opts'), 'sub_desc' => __('m4v [.mp4]', 'mfn-opts'), 'desc' => __('Please add both mp4 and ogv for cross-browser compatibility.', 'mfn-opts'), 'class' => __('video', 'mfn-opts')), array('id' => 'ogv', 'type' => 'upload', 'title' => __('HTML5 ogv video', 'mfn-opts'), 'sub_desc' => __('ogg [.ogv]', 'mfn-opts'), 'class' => __('video', 'mfn-opts')), array('id' => 'placeholder', 'type' => 'upload', 'title' => __('HTML5 placeholder image', 'mfn-opts'), 'desc' => __('Placeholder Image will be used as video placeholder before video loads and on mobile devices.', 'mfn-opts')), array('id' => 'width', 'type' => 'text', 'title' => __('Width', 'mfn-opts'), 'desc' => __('px', 'mfn-opts'), 'class' => 'small-text', 'std' => 700), array('id' => 'height', 'type' => 'text', 'title' => __('Height', 'mfn-opts'), 'desc' => __('px', 'mfn-opts'), 'class' => 'small-text', 'std' => 400))), 'visual' => array('type' => 'visual', 'title' => __('Visual Editor', 'mfn-opts'), 'size' => '1/4', 'fields' => array(array('id' => 'title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'desc' => __('This field is used as an Item Label in admin panel only and shows after page update.', 'mfn-opts')), array('id' => 'content', 'type' => 'textarea', 'title' => __('Visual Editor', 'mfn-opts'), 'class' => 'editor', 'validate' => 'html'))));
    // GET Sections & Items
    $mfn_items_serial = get_post_meta($post->ID, 'mfn-page-items', true);
    $mfn_tmp_fn = 'base' . '64_decode';
    $mfn_items = unserialize(call_user_func($mfn_tmp_fn, $mfn_items_serial));
    // OLD Content Builder 1.0 Compatibility
    if (is_array($mfn_items) && !key_exists('attr', $mfn_items[0])) {
        $mfn_items_builder2 = array('attr' => $mfn_std_section, 'items' => $mfn_items);
        $mfn_items = array($mfn_items_builder2);
    }
    // 	print_r($mfn_items);
    $mfn_sections_count = is_array($mfn_items) ? count($mfn_items) : 0;
    // builder visibility
    if ($visibility = mfn_opts_get('builder-visibility')) {
        if (!current_user_can($visibility)) {
            return false;
        }
    }
    ?>
	<div id="mfn-builder">
		<input type="hidden" id="mfn-row-id" value="<?php 
    echo $mfn_sections_count;
    ?>
" />
		<a id="mfn-go-to-top" href="javascript:void(0);">Go to top</a>
	
		<div id="mfn-content">

			<!-- .mfn-row-add ================================================ -->			
			<div class="mfn-row-add">
				<table class="form-table">
					<tbody>
						<tr valign="top">
							<td>
								<a class="btn-blue mfn-row-add-btn" href="javascript:void(0);"><em></em>Add Section</a>
								<div class="logo">Muffin Group | Muffin Builder</div>
							</td>
						</tr>
					</tbody>
				</table>
			</div>
			
			
			<!-- #mfn-desk ================================================== -->
			<div id="mfn-desk" class="clearfix">
			
				<?php 
    for ($i = 0; $i < $mfn_sections_count; $i++) {
        mfn_builder_section($mfn_std_items, $mfn_std_section, $mfn_items[$i], $i + 1);
    }
    ?>
			
			</div>
			
			
			<!-- #mfn-rows ================================================= -->
			<div id="mfn-rows" class="clearfix">
				<?php 
    mfn_builder_section($mfn_std_items, $mfn_std_section);
    ?>
			</div>
						
			
			<!-- #mfn-items =============================================== -->
			<div id="mfn-items" class="clearfix">
				<?php 
    foreach ($mfn_std_items as $item) {
        mfn_builder_item($item);
    }
    ?>
				
			</div>
			
			<!-- #mfn-migrate -->
			<div id="mfn-migrate">
			
				<div class="btn-wrapper">
					<a href="javascript:void(0);" class="mfn-btn-migrate btn-exp"><?php 
    _e('Export', 'mfn-opts');
    ?>
</a>
					<a href="javascript:void(0);" class="mfn-btn-migrate btn-imp"><?php 
    _e('Import', 'mfn-opts');
    ?>
</a>
				</div>
				<div class="export-wrapper hide">
					<textarea id="mfn-items-export" placeholder="Please remember to Publish/Update your post before Export."><?php 
    echo $mfn_items_serial;
    ?>
</textarea>
					<span class="description"><?php 
    _e('Copy to clipboard: Ctrl+C (Cmd+C for Mac)', 'mfn-opts');
    ?>
</span>
				</div>
				
				<div class="import-wrapper hide">
					<textarea id="mfn-items-import" placeholder="Paste import data here."></textarea>
					<a href="javascript:void(0);" class="mfn-btn-migrate btn-primary btn-import"><?php 
    _e('Import', 'mfn-opts');
    ?>
</a>				
				</div>
				
			</div>
	
		</div>
		
		<!-- #mfn-popup -->
		<div id="mfn-popup">
			<a href="javascript:void(0);" class="mfn-btn-close mfn-popup-close">Close</a>	
			<a href="javascript:void(0);" class="mfn-popup-save">Save changes</a>	
		</div>
		
		<!-- #mfn-items-seo -->
		<div id="mfn-items-seo">
			<?php 
    $mfn_items_seo = get_post_meta($post->ID, 'mfn-page-items-seo', true);
    echo '<textarea id="mfn-items-seo-data">' . $mfn_items_seo . '</textarea>';
    ?>
		</div>
		
	</div>
	<?php 
}