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' => 'seo-info-advanced', 'type' => 'info', 'title' => '', 'desc' => __('Advanced', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'mfn-seo-schema-type', 'type' => 'switch', 'title' => __('Schema Type', 'mfn-opts'), 'desc' => __('Add Schema Type to <html> tag', 'mfn-opts'), 'options' => array('1' => 'On','0' => 'Off'), 'std' => '1' ), ), ); // 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'), 'desc' => __('Skype login. You can use callto: or skype: prefix' , 'mfn-opts'), ), array( 'id' => 'social-facebook', 'type' => 'text', 'title' => __('Facebook', 'mfn-opts'), 'desc' => __('Link to the profile page', 'mfn-opts'), ), array( 'id' => 'social-googleplus', 'type' => 'text', 'title' => __('Google +', 'mfn-opts'), 'desc' => __('Link to the profile page', 'mfn-opts'), ), array( 'id' => 'social-twitter', 'type' => 'text', 'title' => __('Twitter', 'mfn-opts'), 'desc' => __('Link to the profile page', 'mfn-opts'), ), array( 'id' => 'social-vimeo', 'type' => 'text', 'title' => __('Vimeo', 'mfn-opts'), 'desc' => __('Link to the profile page', 'mfn-opts'), ), array( 'id' => 'social-youtube', 'type' => 'text', 'title' => __('YouTube', 'mfn-opts'), 'desc' => __('Link to the profile page', 'mfn-opts'), ), array( 'id' => 'social-flickr', 'type' => 'text', 'title' => __('Flickr', 'mfn-opts'), 'desc' => __('Link to the profile page', 'mfn-opts'), ), array( 'id' => 'social-linkedin', 'type' => 'text', 'title' => __('LinkedIn', 'mfn-opts'), 'desc' => __('Link to the profile page', 'mfn-opts'), ), array( 'id' => 'social-pinterest', 'type' => 'text', 'title' => __('Pinterest', 'mfn-opts'), 'desc' => __('Link to the profile page', 'mfn-opts'), ), array( 'id' => 'social-dribbble', 'type' => 'text', 'title' => __('Dribbble', 'mfn-opts'), 'desc' => __('Link to the profile page', 'mfn-opts'), ), array( 'id' => 'social-instagram', 'type' => 'text', 'title' => __('Instagram', 'mfn-opts'), 'desc' => __('Link to the profile page', 'mfn-opts'), ), array( 'id' => 'social-behance', 'type' => 'text', 'title' => __('Behance', 'mfn-opts'), 'desc' => __('Link to the profile page', 'mfn-opts'), ), array( 'id' => 'social-tumblr', 'type' => 'text', 'title' => __('Tumblr', 'mfn-opts'), 'desc' => __('Link to the profile page', 'mfn-opts'), ), array( 'id' => 'social-tripadvisor', 'type' => 'text', 'title' => __('TripAdvisor', 'mfn-opts'), 'desc' => __('Link to the profile page', 'mfn-opts'), ), array( 'id' => 'social-vkontakte', 'type' => 'text', 'title' => __('VKontakte', 'mfn-opts'), 'desc' => __('Link to the profile page', 'mfn-opts'), ), array( 'id' => 'social-viadeo', 'type' => 'text', 'title' => __('Viadeo', 'mfn-opts'), 'desc' => __('Link to the profile page', 'mfn-opts'), ), array( 'id' => 'social-xing', 'type' => 'text', 'title' => __('Xing', 'mfn-opts'), 'desc' => __('Link to the profile page', 'mfn-opts'), ), array( 'id' => 'social-custom-icon', 'type' => 'icon', 'title' => __('Custom | Icon', 'mfn-opts'), ), array( 'id' => 'social-custom-link', 'type' => 'text', 'title' => __('Custom | Link', 'mfn-opts'), 'desc' => __('To show Custom Social Icon select Icon and enter Link to the profile page', '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' => 'addons-info-parallax', 'type' => 'info', 'title' => '', 'desc' => __('Parallax', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'parallax', 'type' => 'select', 'title' => __('Parallax | Plugin', 'mfn-opts'), 'options' => array( 'translate3d' => __('Translate3d', 'mfn-opts'), 'translate3d no-safari' => __('Translate3d | Enllax in Safari (in some cases may run smoother)', 'mfn-opts'), 'enllax' => __('Enllax', 'mfn-opts'), 'stellar' => __('Stellar | old', 'mfn-opts'), ), ), array( 'id' => 'addons-info-scroll', 'type' => 'info', 'title' => '', 'desc' => __('Scroll', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'nice-scroll', 'type' => 'select', // mfn-demo plugin uses nice scroll !!! 'title' => __('Scroll | Plugin', 'mfn-opts'), 'desc' => __('Nice Scroll do not support Ctrl+F properly', 'mfn-opts'), 'options' => array( '1' => __('Nice Scroll | Scrollbar with iOS/mobile style', 'mfn-opts'), 'smooth' => __('Smooth Scroll', 'mfn-opts'), '0' => __('Default Browser Scroll', 'mfn-opts'), ), ), array( 'id' => 'nice-scroll-speed', 'type' => 'text', 'title' => __('Nice Scroll | Speed', 'mfn-opts'), 'sub_desc' => __('default: 40', 'mfn-opts'), 'class' => 'small-text', 'std' => '40', ), array( 'id' => 'addons-info-prettyphoto', 'type' => 'info', 'title' => '', 'desc' => __('Pretty Photo', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'prettyphoto-options', 'type' => 'checkbox', 'title' => __('Pretty Photo | Options', 'mfn-opts'), 'options' => array( 'disable' => __('DisableDisable prettyPhoto if you use other plugin', 'mfn-opts'), 'disable-mobile' => __('Disable on Mobile only', 'mfn-opts'), 'title' => __('Show image alt text above prettyPhoto frame', 'mfn-opts'), ), ), array( 'id' => 'prettyphoto', 'type' => 'select', 'title' => __('Pretty Photo | Style', 'mfn-opts'), 'options' => array( 'pp_default' => __('Default', 'mfn-opts'), 'light_rounded' => __('Light Rounded', 'mfn-opts'), 'dark_rounded' => __('Dark Rounded', 'mfn-opts'), 'light_square' => __('Light Square', 'mfn-opts'), 'dark_square' => __('Dark Square', 'mfn-opts'), 'facebook' => __('Facebook', 'mfn-opts'), ), ), 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' => 'addons-info-addons', 'type' => 'info', 'title' => '', 'desc' => __('Addons', 'mfn-opts'), 'class' => 'mfn-info', ), 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' => 'retina-js', 'type' => 'select', 'title' => __('Retina.js', 'mfn-opts'), 'desc' => __('More info: http://imulus.github.io/retinajs/
Retina.js disables responsive images in WP 4.4+
', 'mfn-opts'), 'options' => array( '' => __('Default: only Retina Logo', 'mfn-opts'), '1' => __('Enable Retina.js | please prepare @2x images', 'mfn-opts'), ), '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.
The use of these plugins is limited to this theme only.

Hovewer if you have purchased an extra single license on CodeCanyon for any of these plugins you can disable "bundled" option for plugin you have purchased.
After that you can enter your plugin purchase code on plugin options page to get Premium Support from Plugin Author and Auto Updates.', 'mfn-opts'), ), array( 'id' => 'plugin-rev', 'type' => 'select', 'title' => __('Revolution Slider', 'mfn-opts'), 'options' => array( '' => __('Bundled with a Theme', 'mfn-opts'), 'disable' => __('I have purchased an extra licence on CodeCanyon', 'mfn-opts'), ), ), array( 'id' => 'plugin-layer', 'type' => 'select', 'title' => __('Layer Slider', 'mfn-opts'), 'options' => array( '' => __('Bundled with a Theme', 'mfn-opts'), 'disable' => __('I have purchased an extra licence on CodeCanyon', 'mfn-opts'), ), ), array( 'id' => 'plugin-visual', 'type' => 'select', 'title' => __('Visual Composer', 'mfn-opts'), 'options' => array( '' => __('Bundled with a Theme', 'mfn-opts'), 'disable' => __('I have purchased an extra licence on CodeCanyon', 'mfn-opts'), ), ), ), ); // Colors ================================================================================= // General -------------------------------------------- $sections['colors-general'] = array( 'title' => __('General', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI. 'img/icons/sub.png', 'fields' => array( array( 'id' => 'colors-general-info-skin', 'type' => 'info', 'title' => '', 'desc' => __('Skin', 'mfn-opts'), 'class' => 'mfn-info', ), 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' => __('Important: Color options can be used only with the Custom Skin', 'mfn-opts'), 'options' => mfna_skin(), 'std' => 'custom', ), array( 'id' => 'color-one', 'type' => 'color', 'title' => __('One Color', 'mfn-opts'), 'sub_desc' => __('One Color Skin Generator', 'mfn-opts'), 'desc' => __('for One Color Skin', 'mfn-opts'), 'std' => '#2991D6', ), array( 'id' => 'colors-general-info-background', 'type' => 'info', 'title' => '', 'desc' => __('Background', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'background-html', 'type' => 'color', 'title' => __('Body background', 'mfn-opts'), 'desc' => __('for Boxed Layout', 'mfn-opts'), 'std' => '#FCFCFC', ), array( 'id' => 'background-body', 'type' => 'color', 'title' => __('Content background', 'mfn-opts'), 'std' => '#FCFCFC', ), ), ); // 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', ), // top bar array( 'id' => 'colors-info-top-bar', 'type' => 'info', 'title' => '', 'desc' => __('Top Bar', 'mfn-opts'), 'class' => 'mfn-info', ), 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' => '#333333', ), // search array( 'id' => 'colors-info-search', 'type' => 'info', 'title' => '', 'desc' => __('Search', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'background-search', 'type' => 'color', 'title' => __('Search Bar background', 'mfn-opts'), 'std' => '#2991D6', ), // subheader array( 'id' => 'colors-info-subheader', 'type' => 'info', 'title' => '', 'desc' => __('Subheader', 'mfn-opts'), 'class' => 'mfn-info', ), 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', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI. 'img/icons/sub.png', 'fields' => array( // menu array( 'id' => 'colors-info-menu', 'type' => 'info', 'title' => '', 'desc' => __('Menu', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'color-menu-a', 'type' => 'color', 'title' => __('Link color', 'mfn-opts'), 'std' => '#444444', ), array( 'id' => 'color-menu-a-active', 'type' => 'color', 'title' => __('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' => __('Active Link background', 'mfn-opts'), 'desc' => __('Header Plain & Menu Highlight', 'mfn-opts'), 'std' => '#F2F2F2', ), // submenu array( 'id' => 'colors-info-submenu', 'type' => 'info', 'title' => '', 'desc' => __('Submenu', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'background-submenu', 'type' => 'color', 'title' => __('Background', 'mfn-opts'), 'std' => '#F2F2F2', ), array( 'id' => 'color-submenu-a', 'type' => 'color', 'title' => __('Link color', 'mfn-opts'), 'std' => '#5f5f5f', ), array( 'id' => 'color-submenu-a-hover', 'type' => 'color', 'title' => __('Hover Link color', 'mfn-opts'), 'std' => '#2e2e2e', ), // responsive array( 'id' => 'colors-info-menu-responsive', 'type' => 'info', 'title' => '', 'desc' => __('Menu Button Responsive, Header Creative, Simple & Empty', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'color-menu-responsive-icon', 'type' => 'color', 'title' => __('Button color', 'mfn-opts'), 'std' => '#2991d6', ), array( 'id' => 'background-menu-responsive-icon', 'type' => 'color', 'title' => __('Button background', 'mfn-opts'), 'sub_desc' => __('optional', 'mfn-opts'), 'std' => '', ), // styles array( 'id' => 'colors-info-menu-styles', 'type' => 'info', 'title' => '', 'desc' => __('Stylesfor specific header styles', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'background-overlay-menu', 'type' => 'color', 'title' => __('Overlay Menu
Menu background', 'mfn-opts'), 'std' => '#2991d6', ), array( 'id' => 'background-overlay-menu-a', 'type' => 'color', 'title' => __('Overlay Menu
Link color', 'mfn-opts'), 'std' => '#FFFFFF', ), array( 'id' => 'background-overlay-menu-a-active', 'type' => 'color', 'title' => __('Overlay Menu
Active Link color', 'mfn-opts'), 'std' => '#B1DCFB', ), array( 'id' => 'border-menu-plain', 'type' => 'color', 'title' => __('Plain
Border color', 'mfn-opts'), 'std' => '#F2F2F2', ), // side slide array( 'id' => 'colors-info-side-slide', 'type' => 'info', 'title' => '', 'desc' => __('Side Slideresponsive menu style', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'background-side-menu', 'type' => 'color', 'title' => __('Background', 'mfn-opts'), 'std' => '#191919', ), array( 'id' => 'color-side-menu-a', 'type' => 'color', 'title' => __('Link color', 'mfn-opts'), 'sub_desc' => __('Text, Link & Icon color', 'mfn-opts'), 'std' => '#A6A6A6', ), array( 'id' => 'color-side-menu-a-hover', 'type' => 'color', 'title' => __('Active Link color', 'mfn-opts'), 'std' => '#FFFFFF', ), ), ); // Colors | Action Bar -------------------------------------------- $sections['colors-action'] = array( 'title' => __('Action Bar', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI. 'img/icons/sub.png', 'fields' => array( // desktop & tablet array( 'id' => 'colors-info-action-bar', 'type' => 'info', 'title' => '', 'desc' => __('Desktop & Tablet> 768px', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'background-action-bar', 'type' => 'color', 'title' => __('Background', 'mfn-opts'), 'desc' => __('For some Header Styles', 'mfn-opts'), 'std' => '#2c2c2c', ), array( 'id' => 'color-action-bar', 'type' => 'color', 'title' => __('Text color', 'mfn-opts'), 'std' => '#bbbbbb', ), array( 'id' => 'color-action-bar-a', 'type' => 'color', 'title' => __('Link | Color', 'mfn-opts'), 'std' => '#2991d6', ), array( 'id' => 'color-action-bar-a-hover', 'type' => 'color', 'title' => __('Link | Hover color', 'mfn-opts'), 'std' => '#2275ac', ), array( 'id' => 'color-action-bar-social', 'type' => 'color', 'title' => __('Social Icon | Color', 'mfn-opts'), 'desc' => __('This is also Social Menu Link color', 'mfn-opts'), 'std' => '#bbbbbb', ), array( 'id' => 'color-action-bar-social-hover', 'type' => 'color', 'title' => __('Social Icon | Hover color', 'mfn-opts'), 'desc' => __('This is also Social Menu Link hover color', 'mfn-opts'), 'std' => '#FFFFFF', ), // mobile array( 'id' => 'colors-info-action-bar-mobile', 'type' => 'info', 'title' => '', 'desc' => __('Mobile< 768px', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'mobile-background-action-bar', 'type' => 'color', 'title' => __('Background', 'mfn-opts'), 'std' => '#FFFFFF', ), array( 'id' => 'mobile-color-action-bar', 'type' => 'color', 'title' => __('Text color', 'mfn-opts'), 'std' => '#222222', ), array( 'id' => 'mobile-color-action-bar-a', 'type' => 'color', 'title' => __('Link | Color', 'mfn-opts'), 'std' => '#2991d6', ), array( 'id' => 'mobile-color-action-bar-a-hover', 'type' => 'color', 'title' => __('Link | Hover color', 'mfn-opts'), 'std' => '#2275ac', ), array( 'id' => 'mobile-color-action-bar-social', 'type' => 'color', 'title' => __('Social Icon | Color', 'mfn-opts'), 'desc' => __('This is also Social Menu Link color', 'mfn-opts'), 'std' => '#bbbbbb', ), array( 'id' => 'mobile-color-action-bar-social-hover', 'type' => 'color', 'title' => __('Social Icon | Hover color', 'mfn-opts'), 'desc' => __('This is also Social Menu Link hover color', 'mfn-opts'), 'std' => '#777777', ), ), ); // 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 .themecolor and .themebg 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' ), // link array( 'id' => 'colors-info-link', 'type' => 'info', 'title' => '', 'desc' => __('Link', 'mfn-opts'), 'class' => 'mfn-info', ), 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' ), // button array( 'id' => 'colors-info-button', 'type' => 'info', 'title' => '', 'desc' => __('Button', 'mfn-opts'), 'class' => 'mfn-info', ), 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' ), // image frame array( 'id' => 'colors-info-imageframe', 'type' => 'info', 'title' => '', 'desc' => __('Image Frame', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'border-imageframe', 'type' => 'color', 'title' => __('Image Frame | Border color', 'mfn-opts'), 'std' => '#f8f8f8', ), 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-imageframe-mask', 'type' => 'color', 'title' => __('Image Frame | Mask color', 'mfn-opts'), 'desc' => __('Mask has predefined opacity 0.4', 'mfn-opts'), 'std' => '#ffffff', ), // inline shortcodes array( 'id' => 'colors-info-inline-shortcodes', 'type' => 'info', 'title' => '', 'desc' => __('Inline Shortcodes', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'background-highlight', 'type' => 'color', 'title' => __('Dropcap & Highlight 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' => 'color-list', 'type' => 'color', 'title' => __('List color', 'mfn-opts'), 'desc' => __('Ordered, Unordered & Bullets List', 'mfn-opts'), 'std' => '#737E86' ), array( 'id' => 'color-note', 'type' => 'color', 'title' => __('Note color', 'mfn-opts'), 'desc' => __('eg. Blog meta, Filters, Widgets meta', 'mfn-opts'), 'std' => '#a8a8a8' ), // section array( 'id' => 'colors-info-section', 'type' => 'info', 'title' => '', 'desc' => __('Section', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'background-highlight-section', 'type' => 'color', 'title' => __('Highlight Section background', 'mfn-opts'), 'std' => '#2991d6' ), ), ); // 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 .themecolor and .themebg 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 .themecolor and .themebg 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' => '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', ), ), ); // Forms -------------------------------------------- $sections['colors-forms'] = array( 'title' => __('Forms', 'mfn-opts'), 'icon' => MFN_OPTIONS_URI. 'img/icons/sub.png', 'fields' => array( array( 'id' => 'form-info-input', 'type' => 'info', 'title' => '', 'desc' => __('Input, Select & Textarea', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'color-form', 'type' => 'color', 'title' => __('Text color', 'mfn-opts'), 'std' => '#626262', ), array( 'id' => 'background-form', 'type' => 'color', 'title' => __('Background', 'mfn-opts'), 'std' => '#FFFFFF', ), array( 'id' => 'border-form', 'type' => 'color', 'title' => __('Border color', 'mfn-opts'), 'std' => '#EBEBEB', ), array( 'id' => 'form-info-focus', 'type' => 'info', 'title' => '', 'desc' => __('Focus', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'color-form-focus', 'type' => 'color', 'title' => __('Text color', 'mfn-opts'), 'std' => '#1982c2', ), array( 'id' => 'background-form-focus', 'type' => 'color', 'title' => __('Background', 'mfn-opts'), 'std' => '#e9f5fc', ), array( 'id' => 'border-form-focus', 'type' => 'color', 'title' => __('Border color', 'mfn-opts'), 'std' => '#d5e5ee', ), array( 'id' => 'form-info-advanced', 'type' => 'info', 'title' => '', 'desc' => __('Advanced', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'form-transparent', 'type' => 'sliderbar', 'title' => __('Background Transparency (alpha)', 'mfn-opts'), 'sub_desc' => __('0 = transparent, 100 = solid', 'mfn-opts'), 'param' => array( 'min' => 0, 'max' => 100, ), 'std' => '100', ), ), ); // 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 Weight & Style', 'mfn-opts'), 'sub_desc' => __('Impact on page load time', '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 Google Web Fonts', 'mfn-opts'), 'options' => array( '100' => __( '100 Thin', 'mfn-opts' ), '100italic' => __( '100 Thin Italic', 'mfn-opts' ), '200' => __( '200 Extra-Light', 'mfn-opts' ), '200italic' => __( '200 Extra-Light Italic', 'mfn-opts' ), '300' => __( '300 Light', 'mfn-opts' ), '300italic' => __( '300 Light Italic', 'mfn-opts' ), '400' => __( '400 Regular', 'mfn-opts' ), '400italic' => __( '400 Regular Italic', 'mfn-opts' ), '500' => __( '500 Medium', 'mfn-opts' ), '500italic' => __( '500 Medium Italic', 'mfn-opts' ), '600' => __( '600 Semi-Bold', 'mfn-opts' ), '600italic' => __( '600 Semi-Bold Italic', 'mfn-opts' ), '700' => __( '700 Bold', 'mfn-opts' ), '700italic' => __( '700 Bold Italic', 'mfn-opts' ), '800' => __( '800 Extra-Bold', 'mfn-opts' ), '800italic' => __( '800 Extra-Bold Italic', 'mfn-opts' ), '900' => __( '900 Black', 'mfn-opts' ), '900italic' => __( '900 Black Italic', 'mfn-opts' ), ), '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 Google Web Fonts', 'mfn-opts'), 'class' => 'small-text' ), ), ); // Content Font Size -------------------------------------------- $sections['font-size'] = array( 'title' => __('Size & Style', 'mfn-opts'), 'fields' => array( array( 'id' => 'font-size-info-general', 'type' => 'info', 'title' => '', 'desc' => __('General', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'font-size-content', 'type' => 'typography', 'title' => __('Content', 'mfn-opts'), 'sub_desc' => __('This font size will be used for all theme texts
default: 13', 'mfn-opts'), 'desc' => __('Some of Google Fonts support multiple weights & styles. Include them in Theme Options > Fonts > Family > Google Fonts Weight & Style', 'mfn-opts'), 'std' => array( 'size' => 13, 'line_height' => 21, 'weight_style' => '400', 'letter_spacing' => 0, ), ), array( 'id' => 'font-size-menu', 'type' => 'typography', 'title' => __('Main menu', 'mfn-opts'), 'sub_desc' => 'This font size will be used for all theme texts
default: 14', 'disable' => 'line_height', 'std' => array( 'size' => 14, 'line_height' => 0, 'weight_style' => '400', 'letter_spacing' => 0, ), ), array( 'id' => 'font-size-title', 'type' => 'typography', 'title' => __('Page Title', 'mfn-opts'), 'sub_desc' => 'default: 25', 'std' => array( 'size' => 25, 'line_height' => 25, 'weight_style' => '400', 'letter_spacing' => 0, ), ), array( 'id' => 'font-size-info-heading', 'type' => 'info', 'title' => '', 'desc' => __('Heading', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'font-size-h1', 'type' => 'typography', 'title' => __('H1', 'mfn-opts'), 'sub_desc' => 'default: 25', 'std' => array( 'size' => 25, 'line_height' => 25, 'weight_style' => '300', 'letter_spacing' => 0, ), ), array( 'id' => 'font-size-h2', 'type' => 'typography', 'title' => __('H2', 'mfn-opts'), 'sub_desc' => 'default: 30', 'std' => array( 'size' => 30, 'line_height' => 30, 'weight_style' => '300', 'letter_spacing' => 0, ), ), array( 'id' => 'font-size-h3', 'type' => 'typography', 'title' => __('H3', 'mfn-opts'), 'sub_desc' => 'default: 25', 'std' => array( 'size' => 25, 'line_height' => 27, 'weight_style' => '300', 'letter_spacing' => 0, ), ), array( 'id' => 'font-size-h4', 'type' => 'typography', 'title' => __('H4', 'mfn-opts'), 'sub_desc' => 'default: 21', 'std' => array( 'size' => 21, 'line_height' => 25, 'weight_style' => '300', 'letter_spacing' => 0, ), ), array( 'id' => 'font-size-h5', 'type' => 'typography', 'title' => __('H5', 'mfn-opts'), 'sub_desc' => 'default: 15', 'std' => array( 'size' => 15, 'line_height' => 19, 'weight_style' => '700', 'letter_spacing' => 0, ), ), array( 'id' => 'font-size-h6', 'type' => 'typography', 'title' => __('H6', 'mfn-opts'), 'sub_desc' => 'default: 13', 'std' => array( 'size' => 13, 'line_height' => 19, 'weight_style' => '400', 'letter_spacing' => 0, ), ), array( 'id' => 'font-size-info-advanced', 'type' => 'info', 'title' => '', 'desc' => __('Advanced', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'font-size-single-intro', 'type' => 'typography', 'title' => __('Single Post | Intro', 'mfn-opts'), 'sub_desc' => 'default: 70', 'std' => array( 'size' => 70, 'line_height' => 70, 'weight_style' => '400', 'letter_spacing' => 0, ), ), ), ); // 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-info', 'type' => 'info', 'title' => '', 'desc' => __('The fields must be filled out if you are using WPML String Translation
If you are using the English language, you can also use this tab to change some texts', 'mfn-opts'), 'class' => 'mfn-info desc', ), 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-info-items', 'type' => 'info', 'title' => '', 'desc' => __('Items Builder items and shortcodes', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'translate-before', 'type' => 'text', 'title' => __('Before', 'mfn-opts'), 'desc' => __('Before After', 'mfn-opts'), 'std' => 'Before', 'class' => 'small-text', ), array( 'id' => 'translate-after', 'type' => 'text', 'title' => __('After', 'mfn-opts'), 'desc' => __('Before After', 'mfn-opts'), 'std' => 'After', 'class' => 'small-text', ), 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 posts', '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 & Search', 'mfn-opts'), 'fields' => array( array( 'id' => 'translate-info-404', 'type' => 'info', 'title' => '', 'desc' => __('Error 404', 'mfn-opts'), 'class' => 'mfn-info', ), 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'), 'desc' => __('go to homepage', 'mfn-opts'), 'std' => 'go to homepage', 'class' => 'small-text', ), array( 'id' => 'translate-info-search', 'type' => 'info', 'title' => '', 'desc' => __('Search', 'mfn-opts'), 'class' => 'mfn-info', ), array( 'id' => 'translate-search-title', 'type' => 'text', 'title' => __('Title', 'mfn-opts'), 'desc' => __('Ooops...', 'mfn-opts'), 'std' => 'Ooops...', ), array( 'id' => 'translate-search-subtitle', 'type' => 'text', 'title' => __('Subtitle', 'mfn-opts'), 'desc' => __('No results found for:', 'mfn-opts'), 'std' => 'No results found for:', ), ), ); // Translate WPML -------------------------------------------- $sections['translate-wpml'] = array( 'title' => __('WPML Installer', 'mfn-opts'), 'fields' => array( array( 'id' => 'translate-wpml-info', 'type' => 'info', 'title' => '', 'desc' => __('WPML is an optional premium plugin and it is NOT 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 jQuery(function($){ ... });', 'mfn-opts'), ), ), ); global $MFN_Options; $MFN_Options = new MFN_Options( $menu, $sections ); } } // add_action('init', 'mfn_opts_setup', 0); mfn_opts_setup(); /** * This is used to return option value from the options array */ if( ! function_exists( 'mfn_opts_get' ) ) { function mfn_opts_get( $opt_name, $default = null ){ global $MFN_Options; return $MFN_Options->get( $opt_name, $default ); } } /** * This is used to echo option value from the options array */ if( ! function_exists( 'mfn_opts_show' ) ) { function mfn_opts_show( $opt_name, $default = null ){ global $MFN_Options; $option = $MFN_Options->get( $opt_name, $default ); if( ! is_array( $option ) ){ echo $option; } } } /** * Add new mimes for custom font upload */ if( ! function_exists( 'mfn_upload_mimes' ) ) { function mfn_upload_mimes( $existing_mimes = array() ){ $existing_mimes['woff'] = 'font/woff'; $existing_mimes['ttf'] = 'font/ttf'; $existing_mimes['svg'] = 'font/svg'; $existing_mimes['eot'] = 'font/eot'; return $existing_mimes; } } add_filter( 'upload_mimes', 'mfn_upload_mimes' );
Fatal error: Uncaught Error: Call to undefined function mfn_opts_get() in /var/www/html/vaadvogados.adv.br/web/wp-content/themes/betheme/functions.php:55 Stack trace: #0 /var/www/html/vaadvogados.adv.br/web/wp-settings.php(668): include() #1 /var/www/html/vaadvogados.adv.br/web/wp-config.php(101): require_once('/var/www/html/v...') #2 /var/www/html/vaadvogados.adv.br/web/wp-load.php(50): require_once('/var/www/html/v...') #3 /var/www/html/vaadvogados.adv.br/web/wp-blog-header.php(13): require_once('/var/www/html/v...') #4 /var/www/html/vaadvogados.adv.br/web/index.php(17): require('/var/www/html/v...') #5 {main} thrown in /var/www/html/vaadvogados.adv.br/web/wp-content/themes/betheme/functions.php on line 55