File: /home/www/web115/wordpress/wp-content/themes/osmosis/includes/admin/grve-redux-framework-config.php
<?php
/**
* Theme Options Config File
* @version 1.0
* @author Greatives Team
* @URI http://greatives.eu
* */
if ( !class_exists( "Redux" ) ) {
return;
}
if (!class_exists("GRVE_Redux_Framework_config")) {
class GRVE_Redux_Framework_config {
public $args = array();
public $sections = array();
public $theme;
public $ReduxFramework;
public function __construct() {
$opt_name = 'grve_osmosis_options';
$this->setArguments( $opt_name );
Redux::set_args( $opt_name, $this->args );
$this->setSections( $opt_name );
}
public function grve_redux_customizer_visibility() {
$visibility = apply_filters( 'grve_redux_customizer_visibility', false );
return $visibility;
}
public function setSections( $opt_name ) {
/**
* Used within different fields. Simply examples. Search for ACTUAL DECLARATION for field examples
* */
global $grve_social_list;
$grve_social_options = $grve_social_list;
$grve_portfolio_social_options = array(
'email' => 'Email',
'twitter' => 'Twitter',
'facebook' => 'Facebook',
'linkedin' => 'LinkedIn',
'google-plus' => 'Google Plus',
'pinterest' => 'Pinterest',
'grve-likes' => '(Greatives) Likes',
);
$grve_blog_social_options = array(
'email' => 'Email',
'twitter' => 'Twitter',
'facebook' => 'Facebook',
'linkedin' => 'LinkedIn',
'google-plus' => 'Google Plus',
'grve-likes' => '(Greatives) Likes',
);
$grve_blog_style_selection = array(
'large-media' => __( 'Large Media', 'osmosis' ),
'small-media' => __( 'Small Media', 'osmosis' ),
'masonry' => __( 'Masonry' , 'osmosis' ),
'grid' => __( 'Grid' , 'osmosis' ),
);
$grve_blog_columns_selection = array(
'2' => '2',
'3' => '3',
'4' => '4',
);
$grve_blog_image_mode_selection = array(
'auto' => __( 'Auto Crop', 'osmosis' ),
'resize' => __( 'Resize', 'osmosis' ),
);
$grve_enable_selection = array(
'no' => __( 'No', 'osmosis' ),
'yes' => __( 'Yes', 'osmosis' ),
);
$grve_layout_selection = array(
'none' => array('alt' => __( 'Full Width', 'osmosis' ), 'img' => ReduxFramework::$_url . 'assets/img/1col.png'),
'left' => array('alt' => __( 'Left Sidebar', 'osmosis' ), 'img' => ReduxFramework::$_url . 'assets/img/2cl.png'),
'right' => array('alt' => __( 'Right Sidebar', 'osmosis' ), 'img' => ReduxFramework::$_url . 'assets/img/2cr.png'),
);
$grve_align_selection = array(
'left' => __( 'Left', 'osmosis' ),
'right' => __( 'Right', 'osmosis' ),
);
$grve_align_selection_extra = array(
'left' => __( 'Left', 'osmosis' ),
'center' => __( 'Center', 'osmosis' ),
'right' => __( 'Right', 'osmosis' ),
);
$grve_background_type = array(
'transparent' => __( 'None', 'osmosis' ),
'colored' => __( 'Background', 'osmosis' ),
'advanced' => __( 'Stretched Background', 'osmosis' ),
);
$grve_safe_button_options = array(
'search' => __( 'Search', 'osmosis' ),
'language' => __( 'Language selector (WPML or Polylang Required)', 'osmosis' ),
'newsletter' => __( 'Newsletter', 'osmosis' ),
);
$grve_safe_button_options_default = array(
'search' => false,
'newsletter' => false,
'cart' => false,
);
$grve_header_menu_options = array(
'search' => __( 'Search', 'osmosis' ),
'language' => __( 'Language selector (WPML or Polylang Required)', 'osmosis' ),
'newsletter' => __( 'Newsletter', 'osmosis' ),
'cart' => __( 'Shopping Cart (WooCommerce Required)', 'osmosis' ),
);
$grve_header_menu_options_default = array(
'search' => false,
'language' => false,
'newsletter' => false,
'cart' => false,
);
$grve_header_menu_selection = array(
'default' => __( 'Default', 'osmosis' ),
'ubermenu' => __( 'UberMenu Direct', 'osmosis' ),
'ubermenu-container' => __( 'UberMenu Direct in container', 'osmosis' ),
'disabled' => __( 'Disabled', 'osmosis' ),
);
$grve_headings_tag_selection = array(
'h1' => 'h1',
'h2' => 'h2',
'h3' => 'h3',
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'div' => 'div',
);
$grve_retina_support_selection = array(
'default' => __( 'Theme Defined Images Only', 'osmosis' ),
'full' => __( 'Full', 'osmosis' ),
'disabled' => __( 'Disabled', 'osmosis' ),
);
$grve_top_bar_options = array(
'menu' => __( 'Menu (Assigned: Menus - Manage Locations)', 'osmosis' ),
'search' => __( 'Search', 'osmosis' ),
'language' => __( 'Language selector (WPML or Polylang Required)', 'osmosis' ),
'newsletter' => __( 'Newsletter', 'osmosis' ),
);
$grve_menu_animations = array(
'none' => __( 'None', 'osmosis' ),
'fade-in' => __( 'Fade in', 'osmosis' ),
'fade-in-up' => __( 'Fade in Up', 'osmosis' ),
'fade-in-down' => __( 'Fade in Down', 'osmosis' ),
'fade-in-left' => __( 'Fade in Left', 'osmosis' ),
'fade-in-right' => __( 'Fade in Right', 'osmosis' ),
'zoom-in' => __( 'Zoom In', 'osmosis' ),
'zoom-out' => __( 'Zoom Out', 'osmosis' ),
);
$grve_menu_pointers = array(
'none' => __( 'None', 'osmosis' ),
'arrow' => __( 'Arrow', 'osmosis' ),
);
$grve_color_selection = array(
'dark' => __( 'Dark', 'osmosis' ),
'light' => __( 'Light', 'osmosis' ),
'primary-1' => __( 'Primary 1', 'osmosis' ),
'primary-2' => __( 'Primary 2', 'osmosis' ),
'primary-3' => __( 'Primary 3', 'osmosis' ),
'primary-4' => __( 'Primary 4', 'osmosis' ),
'primary-5' => __( 'Primary 5', 'osmosis' ),
);
$grve_bg_color_selection = array(
'none' => __( 'None', 'osmosis' ),
'dark' => __( 'Dark', 'osmosis' ),
'light' => __( 'Light', 'osmosis' ),
'primary-1' => __( 'Primary 1', 'osmosis' ),
'primary-2' => __( 'Primary 2', 'osmosis' ),
'primary-3' => __( 'Primary 3', 'osmosis' ),
'primary-4' => __( 'Primary 4', 'osmosis' ),
'primary-5' => __( 'Primary 5', 'osmosis' ),
);
$grve_settings_mode_selection = array(
'modal' => __( 'Modal', 'osmosis' ),
'simple' => __( 'Simple', 'osmosis' ),
);
$grve_menu_responsibe_style_selection = array(
'1' => __( 'Style 1', 'osmosis' ),
'2' => __( 'Style 2', 'osmosis' ),
);
$grve_menu_responsibe_toggle_selection = array(
'icon' => __( 'Icon', 'osmosis' ),
'text' => __( 'Text', 'osmosis' ),
);
$grve_footer_column_selection = array(
'footer-1' => array('alt' => __( 'Footer 1', 'osmosis' ), 'img' => get_template_directory_uri() . '/includes/images/footer/footer-1.png' ),
'footer-2' => array('alt' => __( 'Footer 2', 'osmosis' ), 'img' => get_template_directory_uri() . '/includes/images/footer/footer-2.png' ),
'footer-3' => array('alt' => __( 'Footer 3', 'osmosis' ), 'img' => get_template_directory_uri() . '/includes/images/footer/footer-3.png' ),
'footer-4' => array('alt' => __( 'Footer 4', 'osmosis' ), 'img' => get_template_directory_uri() . '/includes/images/footer/footer-4.png' ),
'footer-5' => array('alt' => __( 'Footer 5', 'osmosis' ), 'img' => get_template_directory_uri() . '/includes/images/footer/footer-5.png' ),
'footer-6' => array('alt' => __( 'Footer 6', 'osmosis' ), 'img' => get_template_directory_uri() . '/includes/images/footer/footer-6.png' ),
'footer-7' => array('alt' => __( 'Footer 7', 'osmosis' ), 'img' => get_template_directory_uri() . '/includes/images/footer/footer-7.png' ),
'footer-8' => array('alt' => __( 'Footer 8', 'osmosis' ), 'img' => get_template_directory_uri() . '/includes/images/footer/footer-8.png' ),
'footer-9' => array('alt' => __( 'Footer 9', 'osmosis' ), 'img' => get_template_directory_uri() . '/includes/images/footer/footer-9.png' ),
);
$grve_opacity_selection = array(
'0' => '0%',
'0.05' => '5%',
'0.10' => '10%',
'0.15' => '15%',
'0.20' => '20%',
'0.25' => '25%',
'0.30' => '30%',
'0.35' => '35%',
'0.40' => '40%',
'0.45' => '45%',
'0.50' => '50%',
'0.55' => '55%',
'0.60' => '60%',
'0.65' => '65%',
'0.70' => '70%',
'0.75' => '75%',
'0.80' => '80%',
'0.85' => '85%',
'0.90' => '90%',
'0.95' => '95%',
'1' => '100%',
);
//Skin Presets
$grve_skin_palette_1 = '{"top_bar_bg_color":"#303030","top_bar_font_color":"#c9c9c9","top_bar_link_color":"#c9c9c9","top_bar_hover_color":"#ff6863","top_bar_border_color":"#4f4f4f","logo_background":"transparent","menu_type":"simply","header_background_color":"#ffffff","header_background_color_opacity":"1","logo_background_color":"#ff6863","menu_text_color":"#3C3A35","menu_text_hover_color":"#ff6863","menu_active_bg_color":"#ff6863","menu_active_text_color":"#ffffff","submenu_text_color":"#808080","submenu_text_hover_color":"#ffffff","submenu_bg_color":"#222222","submenu_active_bg_color":"#ff6863","submenu_border_color":"#4f4f4f","safe_button_icon_color":"#3C3A35","safe_button_bg_color":"#ff6863","safe_button_bg_color_opacity":"0","safe_button_icon_hover_color":"#ff6863","safe_button_bg_hover_color":"#222222","safe_button_bg_hover_color_opacity":"1","header_sticky_background_color":"#ffffff","header_sticky_background_color_opacity":"1","logo_sticky_background_color":"#ff6863","sticky_menu_text_color":"#3C3A35","sticky_menu_text_hover_color":"#ff6863","sticky_menu_active_bg_color":"#ff6863","sticky_menu_active_text_color":"#ffffff","sticky_submenu_text_color":"#808080","sticky_submenu_text_hover_color":"#ffffff","sticky_submenu_bg_color":"#222222","sticky_submenu_hover_bg_color":"#ff6863","sticky_submenu_border_color":"#4f4f4f","sticky_safe_button_icon_color":"#ff6863","sticky_safe_button_bg_color":"#191918","sticky_safe_button_bg_color_opacity":"0","sticky_safe_button_icon_hover_color":"#ffffff","sticky_safe_button_bg_hover_color":"#222222","sticky_safe_button_bg_hover_color_opacity":"1","header_light_background_color":"#3C3A35","header_light_background_color_opacity":"0","logo_light_background_color":"#ff6863","light_menu_text_color":"#ffffff","light_menu_text_hover_color":"#ff6863","light_menu_active_bg_color":"#ff6863","light_menu_active_text_color":"#ffffff","light_submenu_text_color":"#808080","light_submenu_text_hover_color":"#ffffff","light_submenu_bg_color":"#222222","light_submenu_active_bg_color":"#ff6863","light_submenu_border_color":"#4f4f4f","light_safe_button_icon_color":"#ffffff","light_safe_button_bg_color":"#ff6863","light_safe_button_bg_color_opacity":"0","light_safe_button_icon_hover_color":"#ff6863","light_safe_button_bg_hover_color":"#222222","light_safe_button_bg_hover_color_opacity":"0","header_dark_background_color":"#ffffff","header_dark_background_color_opacity":"0","logo_dark_background_color":"#ff6863","dark_menu_text_color":"#3C3A35","dark_menu_text_hover_color":"#ff6863","dark_menu_active_bg_color":"#ff6863","dark_menu_active_text_color":"#ffffff","dark_submenu_text_color":"#808080","dark_submenu_text_hover_color":"#ffffff","dark_submenu_bg_color":"#222222","dark_submenu_active_bg_color":"#ff6863","dark_submenu_border_color":"#4f4f4f","dark_safe_button_icon_color":"#3C3A35","dark_safe_button_bg_color":"#ff6863","dark_safe_button_bg_color_opacity":"0","dark_safe_button_icon_hover_color":"#ff6863","dark_safe_button_bg_hover_color":"#222222","dark_safe_button_bg_hover_color_opacity":"0","theme_body_background_color":"#ffffff","body_heading_color":"#454545","body_text_color":"#6e7177","body_text_link_color":"#ff6863","body_text_link_hover_color":"#FF4441","body_border_color":"#e4e4e4","body_primary_1_color":"#ff6863","body_primary_1_hover_color":"#FF4441","body_primary_2_color":"#8E8174","body_primary_2_hover_color":"#735D47","body_primary_3_color":"#86C8B7","body_primary_3_hover_color":"#58b49c","body_primary_4_color":"#CDB3D8","body_primary_4_hover_color":"#BB8CCF","body_primary_5_color":"#8CB6CF","body_primary_5_hover_color":"#619CBE","blog_sidebar_bg_color":"none","post_sidebar_bg_color":"none","page_sidebar_bg_color":"none","portfolio_sidebar_bg_color":"none","bottom_bar_bg_color":"#303030","bottom_bar_text_color":"#ffffff","bottom_bar_link_color":"#ffffff","bottom_bar_hover_color":"#ff6863","bottom_bar_button_bg":"#ff6863","bottom_bar_button_hover_bg":"#2d2c29","footer_widgets_bg_color":"#252525","footer_widgets_headings_color":"#ffffff","footer_widgets_font_color":"#a0a0a0","footer_widgets_link_color":"#a0a0a0","footer_widgets_hover_color":"#ff6863","footer_widgets_border_color":"#444444","footer_bar_bg_color":"#222222","footer_bar_font_color":"#7a7a7a","footer_bar_link_color":"#7a7a7a","footer_bar_hover_color":"#ff6863","post_title_background_color":"#303030","post_title_color":"light","post_fields_bar_background_color":"#252525","post_fields_bar_text_color":"#B2B2B2","post_fields_bar_text_hover_color":"#ffffff","post_fields_bar_background_hover_color":"#ff6863","post_fields_bar_border_color":"#303030","page_title_background_color":"#303030","page_title_color":"light","page_description_color":"light","page_anchor_menu_background_color":"#252525","page_anchor_menu_text_color":"#B2B2B2","page_anchor_menu_text_hover_color":"#ffffff","page_anchor_menu_background_hover_color":"#ff6863","page_anchor_menu_border_color":"#303030","portfolio_title_background_color":"#303030","portfolio_title_color":"light","portfolio_description_color":"light","portfolio_fields_bar_background_color":"#252525","portfolio_fields_bar_text_color":"#B2B2B2","portfolio_fields_bar_text_hover_color":"#ffffff","portfolio_fields_bar_background_hover_color":"#ff6863","portfolio_fields_bar_border_color":"#303030"}';
$grve_skin_palette_2 = '{"top_bar_bg_color":"#ffffff","top_bar_font_color":"#cccccc","top_bar_link_color":"#cccccc","top_bar_hover_color":"#333333","top_bar_border_color":"#e4e4e4","logo_background":"transparent","menu_type":"simply","header_background_color":"#ffffff","header_background_color_opacity":"1","logo_background_color":"#ebebeb","menu_text_color":"#777777","menu_text_hover_color":"#00c5c0","menu_active_bg_color":"#00c5c0","menu_active_text_color":"#ffffff","submenu_text_color":"#a2a2a2","submenu_text_hover_color":"#ffffff","submenu_bg_color":"#333333","submenu_active_bg_color":"#00c5c0","submenu_border_color":"#404040","safe_button_icon_color":"#ffffff","safe_button_bg_color":"#00c5c0","safe_button_bg_color_opacity":"1","safe_button_icon_hover_color":"#00c5c0","safe_button_bg_hover_color":"#333333","safe_button_bg_hover_color_opacity":"1","header_sticky_background_color":"#ffffff","header_sticky_background_color_opacity":"1","logo_sticky_background_color":"#ebebeb","sticky_menu_text_color":"#777777","sticky_menu_text_hover_color":"#00c5c0","sticky_menu_active_bg_color":"#00c5c0","sticky_menu_active_text_color":"#ffffff","sticky_submenu_text_color":"#a2a2a2","sticky_submenu_text_hover_color":"#ffffff","sticky_submenu_bg_color":"#333333","sticky_submenu_hover_bg_color":"#00c5c0","sticky_submenu_border_color":"#404040","sticky_safe_button_icon_color":"#ffffff","sticky_safe_button_bg_color":"#00c5c0","sticky_safe_button_bg_color_opacity":"1","sticky_safe_button_icon_hover_color":"#00c5c0","sticky_safe_button_bg_hover_color":"#333333","sticky_safe_button_bg_hover_color_opacity":"1","header_light_background_color":"#3C3A35","header_light_background_color_opacity":"0","logo_light_background_color":"#ebebeb","light_menu_text_color":"#777777","light_menu_text_hover_color":"#00c5c0","light_menu_active_bg_color":"#00c5c0","light_menu_active_text_color":"#ffffff","light_submenu_text_color":"#a2a2a2","light_submenu_text_hover_color":"#ffffff","light_submenu_bg_color":"#333333","light_submenu_active_bg_color":"#00c5c0","light_submenu_border_color":"#404040","light_safe_button_icon_color":"#ffffff","light_safe_button_bg_color":"#00c5c0","light_safe_button_bg_color_opacity":"1","light_safe_button_icon_hover_color":"#00c5c0","light_safe_button_bg_hover_color":"#333333","light_safe_button_bg_hover_color_opacity":"1","header_dark_background_color":"#ffffff","header_dark_background_color_opacity":"0","logo_dark_background_color":"#ebebeb","dark_menu_text_color":"#777777","dark_menu_text_hover_color":"#00c5c0","dark_menu_active_bg_color":"#00c5c0","dark_menu_active_text_color":"#ffffff","dark_submenu_text_color":"#a2a2a2","dark_submenu_text_hover_color":"#ffffff","dark_submenu_bg_color":"#333333","dark_submenu_active_bg_color":"#00c5c0","dark_submenu_border_color":"#404040","dark_safe_button_icon_color":"#ffffff","dark_safe_button_bg_color":"#00c5c0","dark_safe_button_bg_color_opacity":"1","dark_safe_button_icon_hover_color":"#00c5c0","dark_safe_button_bg_hover_color":"#333333","dark_safe_button_bg_hover_color_opacity":"1","theme_body_background_color":"#ffffff","body_heading_color":"#7a7a7a","body_text_color":"#a5a5a5","body_text_link_color":"#00c5c0","body_text_link_hover_color":"#00e1dd","body_border_color":"#e4e4e4","body_primary_1_color":"#00c5c0","body_primary_1_hover_color":"#00e1dd","body_primary_2_color":"#ff6363","body_primary_2_hover_color":"#ff8383","body_primary_3_color":"#26425f","body_primary_3_hover_color":"#395d7e","body_primary_4_color":"#f99200","body_primary_4_hover_color":"#f9b657","body_primary_5_color":"#0070f9","body_primary_5_hover_color":"#26a9fd","blog_sidebar_bg_color":"none","post_sidebar_bg_color":"none","page_sidebar_bg_color":"none","portfolio_sidebar_bg_color":"none","bottom_bar_bg_color":"#EBEBEB","bottom_bar_text_color":"#888888","bottom_bar_link_color":"#888888","bottom_bar_hover_color":"#00C5C0","bottom_bar_button_bg":"#333333","bottom_bar_button_hover_bg":"#222222","footer_widgets_bg_color":"#333333","footer_widgets_headings_color":"#ffffff","footer_widgets_font_color":"#aeaeae","footer_widgets_link_color":"#C8C8C8","footer_widgets_hover_color":"#00C5C0","footer_widgets_border_color":"#444444","footer_bar_bg_color":"#232323","footer_bar_font_color":"#777777","footer_bar_link_color":"#777777","footer_bar_hover_color":"#00C5C0","post_title_background_color":"#006661","post_title_color":"light","post_fields_bar_background_color":"#ebebeb","post_fields_bar_text_color":"#999999","post_fields_bar_text_hover_color":"#00c5c0","post_fields_bar_background_hover_color":"#d9d9d9","post_fields_bar_border_color":"#e0e0e0","page_title_background_color":"#006661","page_title_color":"light","page_description_color":"primary-1","page_anchor_menu_background_color":"#ebebeb","page_anchor_menu_text_color":"#999999","page_anchor_menu_text_hover_color":"#00c5c0","page_anchor_menu_background_hover_color":"#d9d9d9","page_anchor_menu_border_color":"#e0e0e0","portfolio_title_background_color":"#006661","portfolio_title_color":"light","portfolio_description_color":"primary-1","portfolio_fields_bar_background_color":"#ebebeb","portfolio_fields_bar_text_color":"#999999","portfolio_fields_bar_text_hover_color":"#00c5c0","portfolio_fields_bar_background_hover_color":"#d9d9d9","portfolio_fields_bar_border_color":"#e0e0e0"}';
$grve_skin_palette_3 = '{"top_bar_bg_color":"#ffffff","top_bar_font_color":"#dedede","top_bar_link_color":"#dedede","top_bar_hover_color":"#303030","top_bar_border_color":"#f0f0f0","logo_background":"transparent","menu_type":"simply","header_background_color":"#ffffff","header_background_color_opacity":"1","logo_background_color":"#ffdd9f","menu_text_color":"#7a7a7a","menu_text_hover_color":"#eaae40","menu_active_bg_color":"#f7c05c","menu_active_text_color":"#ffffff","submenu_text_color":"#a2a2a2","submenu_text_hover_color":"#ffffff","submenu_bg_color":"#303030","submenu_active_bg_color":"#f7c05c","submenu_border_color":"#4e4e4e","safe_button_icon_color":"#ffffff","safe_button_bg_color":"#303030","safe_button_bg_color_opacity":"1","safe_button_icon_hover_color":"#ffffff","safe_button_bg_hover_color":"#303030","safe_button_bg_hover_color_opacity":"1","header_sticky_background_color":"#ffffff","header_sticky_background_color_opacity":"1","logo_sticky_background_color":"#ffdd9f","sticky_menu_text_color":"#7a7a7a","sticky_menu_text_hover_color":"#eaae40","sticky_menu_active_bg_color":"#f7c05c","sticky_menu_active_text_color":"#ffffff","sticky_submenu_text_color":"#a2a2a2","sticky_submenu_text_hover_color":"#ffffff","sticky_submenu_bg_color":"#303030","sticky_submenu_hover_bg_color":"#f7c05c","sticky_submenu_border_color":"#4e4e4e","sticky_safe_button_icon_color":"#ffffff","sticky_safe_button_bg_color":"#303030","sticky_safe_button_bg_color_opacity":"1","sticky_safe_button_icon_hover_color":"#ffffff","sticky_safe_button_bg_hover_color":"#303030","sticky_safe_button_bg_hover_color_opacity":"1","header_light_background_color":"#434343","header_light_background_color_opacity":"0","logo_light_background_color":"#ffdd9f","light_menu_text_color":"#ffffff","light_menu_text_hover_color":"#eaae40","light_menu_active_bg_color":"#f7c05c","light_menu_active_text_color":"#ffffff","light_submenu_text_color":"#a2a2a2","light_submenu_text_hover_color":"#ffffff","light_submenu_bg_color":"#303030","light_submenu_active_bg_color":"#f7c05c","light_submenu_border_color":"#4e4e4e","light_safe_button_icon_color":"#ffffff","light_safe_button_bg_color":"#303030","light_safe_button_bg_color_opacity":"1","light_safe_button_icon_hover_color":"#ffffff","light_safe_button_bg_hover_color":"#303030","light_safe_button_bg_hover_color_opacity":"1","header_dark_background_color":"#ffffff","header_dark_background_color_opacity":"0","logo_dark_background_color":"#ffdd9f","dark_menu_text_color":"#7a7a7a","dark_menu_text_hover_color":"#eaae40","dark_menu_active_bg_color":"#f7c05c","dark_menu_active_text_color":"#ffffff","dark_submenu_text_color":"#a2a2a2","dark_submenu_text_hover_color":"#ffffff","dark_submenu_bg_color":"#303030","dark_submenu_active_bg_color":"#f7c05c","dark_submenu_border_color":"#4e4e4e","dark_safe_button_icon_color":"#ffffff","dark_safe_button_bg_color":"#303030","dark_safe_button_bg_color_opacity":"1","dark_safe_button_icon_hover_color":"#ffffff","dark_safe_button_bg_hover_color":"#303030","dark_safe_button_bg_hover_color_opacity":"1","theme_body_background_color":"#ffffff","body_heading_color":"#7a7a7a","body_text_color":"#a5a5a5","body_text_link_color":"#eaae40","body_text_link_hover_color":"#303030","body_border_color":"#e4e4e4","body_primary_1_color":"#f7c05c","body_primary_1_hover_color":"#f4a737","body_primary_2_color":"#85eeb5","body_primary_2_hover_color":"#54e797","body_primary_3_color":"#a159cd","body_primary_3_hover_color":"#7b35b9","body_primary_4_color":"#5ca2f7","body_primary_4_hover_color":"#377df4","body_primary_5_color":"#35c1c4","body_primary_5_hover_color":"#20a8ac","blog_sidebar_bg_color":"none","post_sidebar_bg_color":"none","page_sidebar_bg_color":"none","portfolio_sidebar_bg_color":"none","bottom_bar_bg_color":"#ffffff","bottom_bar_text_color":"#a5a5a5","bottom_bar_link_color":"#a5a5a5","bottom_bar_hover_color":"#303030","bottom_bar_button_bg":"#303030","bottom_bar_button_hover_bg":"#f7c05c","footer_widgets_bg_color":"#ffffff","footer_widgets_headings_color":"#7a7a7a","footer_widgets_font_color":"#7a7a7a","footer_widgets_link_color":"#eaae40","footer_widgets_hover_color":"#303030","footer_widgets_border_color":"#e0e0e0","footer_bar_bg_color":"#ffffff","footer_bar_font_color":"#7a7a7a","footer_bar_link_color":"#7a7a7a","footer_bar_hover_color":"#303030","post_title_background_color":"#f4f4f4","post_title_color":"dark","post_fields_bar_background_color":"#434343","post_fields_bar_text_color":"#b29b6f","post_fields_bar_text_hover_color":"#ffffff","post_fields_bar_background_hover_color":"#f9c972","post_fields_bar_border_color":"#5c5c5c","page_title_background_color":"#f4f4f4","page_title_color":"dark","page_description_color":"dark","page_anchor_menu_background_color":"#434343","page_anchor_menu_text_color":"#b29b6f","page_anchor_menu_text_hover_color":"#ffffff","page_anchor_menu_background_hover_color":"#f9c972","page_anchor_menu_border_color":"#5c5c5c","portfolio_title_background_color":"#f4f4f4","portfolio_title_color":"dark","portfolio_description_color":"dark","portfolio_fields_bar_background_color":"#434343","portfolio_fields_bar_text_color":"#b29b6f","portfolio_fields_bar_text_hover_color":"#ffffff","portfolio_fields_bar_background_hover_color":"#f9c972","portfolio_fields_bar_border_color":"#5c5c5c"}';
$grve_skin_palette_4 = '{"top_bar_bg_color":"#ffffff","top_bar_font_color":"#c9c9c9","top_bar_link_color":"#c9c9c9","top_bar_hover_color":"#222222","top_bar_border_color":"#ededed","logo_background":"transparent","menu_type":"simply","header_background_color":"#ffffff","header_background_color_opacity":"1","logo_background_color":"#e6c81e","menu_text_color":"#bbbbbb","menu_text_hover_color":"#ecba16","menu_active_bg_color":"#ecba16","menu_active_text_color":"#ffffff","submenu_text_color":"#999999","submenu_text_hover_color":"#222222","submenu_bg_color":"#ededed","submenu_active_bg_color":"#ffffff","submenu_border_color":"#d4d4d4","safe_button_icon_color":"#222222","safe_button_bg_color":"#ffffff","safe_button_bg_color_opacity":"1","safe_button_icon_hover_color":"#ffffff","safe_button_bg_hover_color":"#1a1a1a","safe_button_bg_hover_color_opacity":"1","header_sticky_background_color":"#222222","header_sticky_background_color_opacity":"1","logo_sticky_background_color":"#e6c81e","sticky_menu_text_color":"#bbbbbb","sticky_menu_text_hover_color":"#ecba16","sticky_menu_active_bg_color":"#ecba16","sticky_menu_active_text_color":"#ffffff","sticky_submenu_text_color":"#999999","sticky_submenu_text_hover_color":"#222222","sticky_submenu_bg_color":"#ededed","sticky_submenu_hover_bg_color":"#ffffff","sticky_submenu_border_color":"#d4d4d4","sticky_safe_button_icon_color":"#ffffff","sticky_safe_button_bg_color":"#222222","sticky_safe_button_bg_color_opacity":"1","sticky_safe_button_icon_hover_color":"#ffffff","sticky_safe_button_bg_hover_color":"#1a1a1a","sticky_safe_button_bg_hover_color_opacity":"1","header_light_background_color":"#ffffff","header_light_background_color_opacity":"1","logo_light_background_color":"#e6c81e","light_menu_text_color":"#bbbbbb","light_menu_text_hover_color":"#ecba16","light_menu_active_bg_color":"#ecba16","light_menu_active_text_color":"#ffffff","light_submenu_text_color":"#999999","light_submenu_text_hover_color":"#222222","light_submenu_bg_color":"#ededed","light_submenu_active_bg_color":"#ffffff","light_submenu_border_color":"#d4d4d4","light_safe_button_icon_color":"#222222","light_safe_button_bg_color":"#ffffff","light_safe_button_bg_color_opacity":"1","light_safe_button_icon_hover_color":"#ffffff","light_safe_button_bg_hover_color":"#1a1a1a","light_safe_button_bg_hover_color_opacity":"1","header_dark_background_color":"#222222","header_dark_background_color_opacity":"1","logo_dark_background_color":"#e6c81e","dark_menu_text_color":"#bbbbbb","dark_menu_text_hover_color":"#ecba16","dark_menu_active_bg_color":"#ecba16","dark_menu_active_text_color":"#ffffff","dark_submenu_text_color":"#999999","dark_submenu_text_hover_color":"#222222","dark_submenu_bg_color":"#ededed","dark_submenu_active_bg_color":"#ffffff","dark_submenu_border_color":"#d4d4d4","dark_safe_button_icon_color":"#ffffff","dark_safe_button_bg_color":"#1a1a1a","dark_safe_button_bg_color_opacity":"1","dark_safe_button_icon_hover_color":"#ffffff","dark_safe_button_bg_hover_color":"#1a1a1a","dark_safe_button_bg_hover_color_opacity":"1","theme_body_background_color":"#ffffff","body_heading_color":"#454545","body_text_color":"#a5a5a5","body_text_link_color":"#e6c81e","body_text_link_hover_color":"#ECBA16","body_border_color":"#e4e4e4","body_primary_1_color":"#e6c81e","body_primary_1_hover_color":"#ECBA16","body_primary_2_color":"#94b305","body_primary_2_hover_color":"#618f02","body_primary_3_color":"#b3057b","body_primary_3_hover_color":"#8f0240","body_primary_4_color":"#5973e9","body_primary_4_hover_color":"#2f3cdf","body_primary_5_color":"#76bef5","body_primary_5_hover_color":"#3d9ff0","blog_sidebar_bg_color":"none","post_sidebar_bg_color":"none","page_sidebar_bg_color":"none","portfolio_sidebar_bg_color":"none","bottom_bar_bg_color":"#1a1a1a","bottom_bar_text_color":"#ffffff","bottom_bar_link_color":"#ffffff","bottom_bar_hover_color":"#e6c81e","bottom_bar_button_bg":"#e6c81e","bottom_bar_button_hover_bg":"#222222","footer_widgets_bg_color":"#222222","footer_widgets_headings_color":"#ffffff","footer_widgets_font_color":"#a0a0a0","footer_widgets_link_color":"#a0a0a0","footer_widgets_hover_color":"#e6c81e","footer_widgets_border_color":"#444444","footer_bar_bg_color":"#1a1a1a","footer_bar_font_color":"#7a7a7a","footer_bar_link_color":"#7a7a7a","footer_bar_hover_color":"#e6c81e","post_title_background_color":"#f5f5f5","post_title_color":"dark","post_fields_bar_background_color":"#222222","post_fields_bar_text_color":"#b2b2b2","post_fields_bar_text_hover_color":"#ffffff","post_fields_bar_background_hover_color":"#1a1a1a","post_fields_bar_border_color":"#303030","page_title_background_color":"#f5f5f5","page_title_color":"dark","page_description_color":"dark","page_anchor_menu_background_color":"#222222","page_anchor_menu_text_color":"#b2b2b2","page_anchor_menu_text_hover_color":"#ffffff","page_anchor_menu_background_hover_color":"#1a1a1a","page_anchor_menu_border_color":"#303030","portfolio_title_background_color":"#f5f5f5","portfolio_title_color":"dark","portfolio_description_color":"dark","portfolio_fields_bar_background_color":"#222222","portfolio_fields_bar_text_color":"#b2b2b2","portfolio_fields_bar_text_hover_color":"#ffffff","portfolio_fields_bar_background_hover_color":"#1a1a1a","portfolio_fields_bar_border_color":"#303030"}';
$grve_skin_palette_5 = '{"top_bar_bg_color":"#303030","top_bar_font_color":"#c9c9c9","top_bar_link_color":"#c9c9c9","top_bar_hover_color":"#F00000","top_bar_border_color":"#4f4f4f","logo_background":"advanced","menu_type":"simply","header_background_color":"#000000","header_background_color_opacity":"0.10","logo_background_color":"#000000","menu_text_color":"#ffffff","menu_text_hover_color":"#F00000","menu_active_bg_color":"#F00000","menu_active_text_color":"#ffffff","submenu_text_color":"#808080","submenu_text_hover_color":"#ffffff","submenu_bg_color":"#222222","submenu_active_bg_color":"#F00000","submenu_border_color":"#4f4f4f","safe_button_icon_color":"#ffffff","safe_button_bg_color":"#000000","safe_button_bg_color_opacity":"1","safe_button_icon_hover_color":"#F00000","safe_button_bg_hover_color":"#000000","safe_button_bg_hover_color_opacity":"1","header_sticky_background_color":"#000000","header_sticky_background_color_opacity":"0.70","logo_sticky_background_color":"#F00000","sticky_menu_text_color":"#ffffff","sticky_menu_text_hover_color":"#F00000","sticky_menu_active_bg_color":"#F00000","sticky_menu_active_text_color":"#ffffff","sticky_submenu_text_color":"#808080","sticky_submenu_text_hover_color":"#ffffff","sticky_submenu_bg_color":"#222222","sticky_submenu_hover_bg_color":"#F00000","sticky_submenu_border_color":"#4f4f4f","sticky_safe_button_icon_color":"#ffffff","sticky_safe_button_bg_color":"#ff0000","sticky_safe_button_bg_color_opacity":"1","sticky_safe_button_icon_hover_color":"#ffffff","sticky_safe_button_bg_hover_color":"#222222","sticky_safe_button_bg_hover_color_opacity":"1","header_light_background_color":"#3C3A35","header_light_background_color_opacity":"0","logo_light_background_color":"#000000","light_menu_text_color":"#ffffff","light_menu_text_hover_color":"#F00000","light_menu_active_bg_color":"#F00000","light_menu_active_text_color":"#ffffff","light_submenu_text_color":"#808080","light_submenu_text_hover_color":"#ffffff","light_submenu_bg_color":"#222222","light_submenu_active_bg_color":"#f00000","light_submenu_border_color":"#4f4f4f","light_safe_button_icon_color":"#ffffff","light_safe_button_bg_color":"#000000","light_safe_button_bg_color_opacity":"1","light_safe_button_icon_hover_color":"#ffffff","light_safe_button_bg_hover_color":"#000000","light_safe_button_bg_hover_color_opacity":"1","header_dark_background_color":"#ffffff","header_dark_background_color_opacity":"0","logo_dark_background_color":"#F00000","dark_menu_text_color":"#3C3A35","dark_menu_text_hover_color":"#F00000","dark_menu_active_bg_color":"#F00000","dark_menu_active_text_color":"#ffffff","dark_submenu_text_color":"#808080","dark_submenu_text_hover_color":"#ffffff","dark_submenu_bg_color":"#222222","dark_submenu_active_bg_color":"#F00000","dark_submenu_border_color":"#4f4f4f","dark_safe_button_icon_color":"#ffffff","dark_safe_button_bg_color":"#F00000","dark_safe_button_bg_color_opacity":"1","dark_safe_button_icon_hover_color":"#ffffff","dark_safe_button_bg_hover_color":"#000000","dark_safe_button_bg_hover_color_opacity":"1","theme_body_background_color":"#ffffff","body_heading_color":"#000000","body_text_color":"#a5a5a5","body_text_link_color":"#ff0000","body_text_link_hover_color":"#a80000","body_border_color":"#e4e4e4","body_primary_1_color":"#F00000","body_primary_1_hover_color":"#a80000","body_primary_2_color":"#ffa100","body_primary_2_hover_color":"#cc7300","body_primary_3_color":"#1e73be","body_primary_3_hover_color":"#1b45b7","body_primary_4_color":"#e2008b","body_primary_4_hover_color":"#ba0047","body_primary_5_color":"#d3e045","body_primary_5_hover_color":"#afbf3b","blog_sidebar_bg_color":"none","post_sidebar_bg_color":"none","page_sidebar_bg_color":"none","portfolio_sidebar_bg_color":"none","bottom_bar_bg_color":"#303030","bottom_bar_text_color":"#ffffff","bottom_bar_link_color":"#ffffff","bottom_bar_hover_color":"#ff0000","bottom_bar_button_bg":"#ff0000","bottom_bar_button_hover_bg":"#000000","footer_widgets_bg_color":"#1c1c1c","footer_widgets_headings_color":"#ffffff","footer_widgets_font_color":"#a0a0a0","footer_widgets_link_color":"#a0a0a0","footer_widgets_hover_color":"#ff0000","footer_widgets_border_color":"#444444","footer_bar_bg_color":"#000000","footer_bar_font_color":"#7a7a7a","footer_bar_link_color":"#7a7a7a","footer_bar_hover_color":"#F00000","post_title_background_color":"#303030","post_title_color":"light","post_fields_bar_background_color":"#252525","post_fields_bar_text_color":"#808080","post_fields_bar_text_hover_color":"#ffffff","post_fields_bar_background_hover_color":"#F00000","post_fields_bar_border_color":"#303030","page_title_background_color":"#303030","page_title_color":"light","page_description_color":"light","page_anchor_menu_background_color":"#252525","page_anchor_menu_text_color":"#808080","page_anchor_menu_text_hover_color":"#ffffff","page_anchor_menu_background_hover_color":"#F00000","page_anchor_menu_border_color":"#303030","portfolio_title_background_color":"#303030","portfolio_title_color":"light","portfolio_description_color":"light","portfolio_fields_bar_background_color":"#252525","portfolio_fields_bar_text_color":"#808080","portfolio_fields_bar_text_hover_color":"#ffffff","portfolio_fields_bar_background_hover_color":"#F00000","portfolio_fields_bar_border_color":"#303030"}';
$grve_skin_palette_6 = '{"top_bar_bg_color":"#000000","top_bar_font_color":"#8c8c8c","top_bar_link_color":"#15D5A9","top_bar_hover_color":"#ffffff","top_bar_border_color":"#272727","logo_background":"transparent","menu_type":"simply","header_background_color":"#000000","header_background_color_opacity":"1","logo_background_color":"#000000","menu_text_color":"#ffffff","menu_text_hover_color":"#15D5A9","menu_active_bg_color":"#15D5A9","menu_active_text_color":"#ffffff","submenu_text_color":"#8c8c8c","submenu_text_hover_color":"#ffffff","submenu_bg_color":"#000000","submenu_active_bg_color":"#15D5A9","submenu_border_color":"#272727","safe_button_icon_color":"#15D5A9","safe_button_bg_color":"#000000","safe_button_bg_color_opacity":"0","safe_button_icon_hover_color":"#ffffff","safe_button_bg_hover_color":"#000000","safe_button_bg_hover_color_opacity":"1","header_sticky_background_color":"#000000","header_sticky_background_color_opacity":"1","logo_sticky_background_color":"#000000","sticky_menu_text_color":"#ffffff","sticky_menu_text_hover_color":"#15D5A9","sticky_menu_active_bg_color":"#15D5A9","sticky_menu_active_text_color":"#ffffff","sticky_submenu_text_color":"#8c8c8c","sticky_submenu_text_hover_color":"#ffffff","sticky_submenu_bg_color":"#000000","sticky_submenu_hover_bg_color":"#15D5A9","sticky_submenu_border_color":"#272727","sticky_safe_button_icon_color":"#15D5A9","sticky_safe_button_bg_color":"#000000","sticky_safe_button_bg_color_opacity":"0","sticky_safe_button_icon_hover_color":"#ffffff","sticky_safe_button_bg_hover_color":"#000000","sticky_safe_button_bg_hover_color_opacity":"1","header_light_background_color":"#000000","header_light_background_color_opacity":"0.75","logo_light_background_color":"#000000","light_menu_text_color":"#ffffff","light_menu_text_hover_color":"#15D5A9","light_menu_active_bg_color":"#15D5A9","light_menu_active_text_color":"#ffffff","light_submenu_text_color":"#8c8c8c","light_submenu_text_hover_color":"#ffffff","light_submenu_bg_color":"#000000","light_submenu_active_bg_color":"#15D5A9","light_submenu_border_color":"#272727","light_safe_button_icon_color":"#15D5A9","light_safe_button_bg_color":"#000000","light_safe_button_bg_color_opacity":"1","light_safe_button_icon_hover_color":"#ffffff","light_safe_button_bg_hover_color":"#000000","light_safe_button_bg_hover_color_opacity":"1","header_dark_background_color":"#ffffff","header_dark_background_color_opacity":"0.75","logo_dark_background_color":"#ffffff","dark_menu_text_color":"#000000","dark_menu_text_hover_color":"#15D5A9","dark_menu_active_bg_color":"#15D5A9","dark_menu_active_text_color":"#ffffff","dark_submenu_text_color":"#8c8c8c","dark_submenu_text_hover_color":"#ffffff","dark_submenu_bg_color":"#000000","dark_submenu_active_bg_color":"#15D5A9","dark_submenu_border_color":"#272727","dark_safe_button_icon_color":"#15D5A9","dark_safe_button_bg_color":"#000000","dark_safe_button_bg_color_opacity":"1","dark_safe_button_icon_hover_color":"#ffffff","dark_safe_button_bg_hover_color":"#000000","dark_safe_button_bg_hover_color_opacity":"1","theme_body_background_color":"#ffffff","body_heading_color":"#7a7a7a","body_text_color":"#a5a5a5","body_text_link_color":"#15d5a9","body_text_link_hover_color":"#07c081","body_border_color":"#e4e4e4","body_primary_1_color":"#15D5A9","body_primary_1_hover_color":"#07c081","body_primary_2_color":"#4dc2e3","body_primary_2_hover_color":"#26a5d4","body_primary_3_color":"#cc1a87","body_primary_3_hover_color":"#b30957","body_primary_4_color":"#96cf34","body_primary_4_hover_color":"#68b716","body_primary_5_color":"#f99200","body_primary_5_hover_color":"#f56300","blog_sidebar_bg_color":"none","post_sidebar_bg_color":"none","page_sidebar_bg_color":"none","portfolio_sidebar_bg_color":"none","bottom_bar_bg_color":"#222222","bottom_bar_text_color":"#ffffff","bottom_bar_link_color":"#ffffff","bottom_bar_hover_color":"#15D5A9","bottom_bar_button_bg":"#15D5A9","bottom_bar_button_hover_bg":"#000000","footer_widgets_bg_color":"#131313","footer_widgets_headings_color":"#ffffff","footer_widgets_font_color":"#595959","footer_widgets_link_color":"#595959","footer_widgets_hover_color":"#15D5A9","footer_widgets_border_color":"#444444","footer_bar_bg_color":"#000000","footer_bar_font_color":"#7a7a7a","footer_bar_link_color":"#7a7a7a","footer_bar_hover_color":"#15D5A9","post_title_background_color":"#2c2c2c","post_title_color":"light","post_fields_bar_background_color":"#131313","post_fields_bar_text_color":"#b2b2b2","post_fields_bar_text_hover_color":"#15D5A9","post_fields_bar_background_hover_color":"#000000","post_fields_bar_border_color":"#303030","page_title_background_color":"#2c2c2c","page_title_color":"light","page_description_color":"primary-1","page_anchor_menu_background_color":"#131313","page_anchor_menu_text_color":"#b2b2b2","page_anchor_menu_text_hover_color":"#15D5A9","page_anchor_menu_background_hover_color":"#000000","page_anchor_menu_border_color":"#303030","portfolio_title_background_color":"#2c2c2c","portfolio_title_color":"light","portfolio_description_color":"primary-1","portfolio_fields_bar_background_color":"#131313","portfolio_fields_bar_text_color":"#b2b2b2","portfolio_fields_bar_text_hover_color":"#15D5A9","portfolio_fields_bar_background_hover_color":"#000000","portfolio_fields_bar_border_color":"#303030"}';
//Standard Fonts
$grve_std_fonts = array(
"Arial, Helvetica, sans-serif" => "Arial, Helvetica, sans-serif",
"'Arial Black', Gadget, sans-serif" => "'Arial Black', Gadget, sans-serif",
"'Bookman Old Style', serif" => "'Bookman Old Style', serif",
"'Comic Sans MS', cursive" => "'Comic Sans MS', cursive",
"Courier, monospace" => "Courier, monospace",
"Garamond, serif" => "Garamond, serif",
"Georgia, serif" => "Georgia, serif",
"Impact, Charcoal, sans-serif" => "Impact, Charcoal, sans-serif",
"'Lucida Console', Monaco, monospace" => "'Lucida Console', Monaco, monospace",
"'Lucida Sans Unicode', 'Lucida Grande', sans-serif" => "'Lucida Sans Unicode', 'Lucida Grande', sans-serif",
"'MS Sans Serif', Geneva, sans-serif" => "'MS Sans Serif', Geneva, sans-serif",
"'MS Serif', 'New York', sans-serif" => "'MS Serif', 'New York', sans-serif",
"'Palatino Linotype', 'Book Antiqua', Palatino, serif" => "'Palatino Linotype', 'Book Antiqua', Palatino, serif",
"Tahoma,Geneva, sans-serif" => "Tahoma, Geneva, sans-serif",
"'Times New Roman', Times,serif" => "'Times New Roman', Times, serif",
"'Trebuchet MS', Helvetica, sans-serif" => "'Trebuchet MS', Helvetica, sans-serif",
"Verdana, Geneva, sans-serif" => "Verdana, Geneva, sans-serif",
);
$grve_std_fonts = apply_filters( 'grve_std_fonts', $grve_std_fonts );
$grve_is_google = apply_filters( 'grve_gfonts_visibility', true );
$gmap_api_key_link = '<a href="//developers.google.com/maps/documentation/javascript/get-api-key" target="_blank" rel="noopener noreferrer">' . esc_html__( 'Generate Google Map API Key', 'osmosis' ) . '</a>';
$editor_args = array (
'wpautop' => false,
'tinymce' => array (
'forced_root_block' => false,
'wpautop' => false,
)
);
// ACTUAL DECLARATION OF SECTIONS
$this->sections[] = array(
'icon' => 'el-icon-cogs',
'title' => __( 'General Settings', 'osmosis' ),
'id' => 'grve_redux_section_general_settings',
'customizer' => false,
'fields' => array(
array(
'id'=>'favicon',
'url'=> true,
'type' => 'media',
'title' => __( 'Favicon', 'osmosis' ),
'default' => array( 'url' => get_template_directory_uri() .'/images/favicons/favicon.ico' ),
'subtitle' => __( 'Upload your site favicon.', 'osmosis' ),
'readonly' => false,
),
array(
'id' => 'content_background',
'type' => 'background',
'title' => __( 'Content Background Image', 'osmosis' ),
'subtitle' => __( 'Select a background image for the content.', 'osmosis' ),
'background-color' => false,
'background-repeat' => true,
'background-attachment' => true,
'background-clip' => false,
'background-size' => true,
'output' => '#grve-main-content',
),
array(
'id'=>'smooth_scroll_enabled',
'type' => 'switch',
'title' => __( 'Smooth Scroll', 'osmosis' ),
'subtitle'=> __( 'Enable or Disable Smooth Scroll.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id'=>'back_to_top_enabled',
'type' => 'switch',
'title' => __( 'Back to Top', 'osmosis' ),
'subtitle'=> __( 'Enable or Disable the Back to Top button.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id' => 'replace_admin_logo',
'type' => 'checkbox',
'title' => __( 'Replace Admin Logo', 'osmosis' ),
'subtitle'=> __( 'Select if you want to replace admin logo with company logo.', 'osmosis' ),
'default' => 0,
),
array(
'id' => 'admin_logo',
'type' => 'media',
'title' => __( 'Admin Logo', 'osmosis' ),
'subtitle' => __( 'Select the image for your company logo. ( If empty, Logo Default will be used instead. )', 'osmosis' ),
'required' => array( 'replace_admin_logo', 'equals', '1' ),
),
array(
'id' => 'admin_logo_height',
'type' => 'text',
'default' => '84',
'title' => __( 'Admin Logo Height', 'osmosis' ),
'subtitle' => __( 'Enter the company logo height in px (Default is 84).', 'osmosis' ),
'validate' => 'numeric',
'required' => array( 'replace_admin_logo', 'equals', '1' ),
),
)
);
$this->sections[] = array(
'title' => __( 'Top Bar Options', 'osmosis' ),
'id' => 'grve_redux_section_top_bar_options',
'header' => '',
'desc' => '',
'icon_class' => '',
'icon' => 'el-icon-arrow-up',
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id'=>'top_bar_enabled',
'type' => 'switch',
'title' => __( 'Top Bar Area', 'osmosis' ),
'subtitle'=> __( 'Enable or Disable TopBar Area to show above your header.', 'osmosis' ),
"default" => '0',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id' => 'top_bar_height',
'type' => 'text',
'default' => '40',
'title' => __( 'Top Bar Height', 'osmosis' ),
'subtitle' => __( 'Enter the Top Bar height in px (Default is 50).', 'osmosis' ),
'validate' => 'numeric',
'required' => array( 'top_bar_enabled', 'equals', '1' ),
),
array(
'id' => 'info_top_bar_left',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Left Top Bar Area', 'osmosis' ),
'required' => array( 'top_bar_enabled', 'equals', '1' ),
),
array(
'id'=>'top_bar_left_enabled',
'type' => 'switch',
'title' => __( 'Left Area', 'osmosis' ),
'subtitle'=> __( 'Enable or Disable the Left TopBar Area.', 'osmosis' ),
"default" => '0',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
'required' => array( 'top_bar_enabled', 'equals', '1' ),
),
array(
'id' => 'top_bar_left_options',
'type' => 'checkbox',
'title' => __( 'Left Area Elements', 'osmosis' ),
'subtitle' => __( 'Enable / Disable the elements you like to show in the Left TopBar Area.', 'osmosis' ),
'options' => $grve_top_bar_options,
'required' => array(
array( 'top_bar_enabled', 'equals', '1' ),
array( 'top_bar_left_enabled', 'equals', '1' ),
),
),
array(
'id' => 'top_bar_left_text',
'type' => 'text',
'title' => __( 'Left Area Text', 'osmosis' ),
'subtitle' => __( 'Place the text you wish for your Left TopBar Area.', 'osmosis' ),
'default' => '',
'required' => array(
array( 'top_bar_enabled', 'equals', '1' ),
array( 'top_bar_left_enabled', 'equals', '1' ),
),
),
array(
'id'=>'top_bar_left_social_visibility',
'type' => 'switch',
'title' => __( 'Left Area Social Icons Visibility', 'osmosis' ),
'subtitle'=> __( 'Enable and add social icons for the Left TopBar Area.', 'osmosis' ),
"default" => '0',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
'required' => array(
array( 'top_bar_enabled', 'equals', '1' ),
array( 'top_bar_left_enabled', 'equals', '1' ),
),
),
array(
'id' => 'top_bar_left_social_options',
'type' => 'checkbox',
'title' => __( 'Left Area Social Icons', 'osmosis' ),
'subtitle' => __( 'Select your social icons.', 'osmosis' ),
'desc' => '',
'label' => true,
'options' => $grve_social_options,
'class' => 'grve-redux-columns',
'required' => array(
array( 'top_bar_enabled', 'equals', '1' ),
array( 'top_bar_left_enabled', 'equals', '1' ),
array( 'top_bar_left_social_visibility', 'equals', '1' ),
),
),
array(
'id' => 'info_top_bar_right',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Right Top Bar Area', 'osmosis' ),
'required' => array( 'top_bar_enabled', 'equals', '1' ),
),
array(
'id'=>'top_bar_right_enabled',
'type' => 'switch',
'title' => __( 'Right Area', 'osmosis' ),
'subtitle'=> __( 'Enable or Disable the Right TopBar Area.', 'osmosis' ),
"default" => '0',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
'required' => array( 'top_bar_enabled', 'equals', '1' ),
),
array(
'id' => 'top_bar_right_options',
'type' => 'checkbox',
'title' => __( 'Right Area Elements', 'osmosis' ),
'subtitle' => __( 'Enable / Disable the elements you like to show in the Right TopBar Area.', 'osmosis' ),
'options' => $grve_top_bar_options,
'required' => array(
array( 'top_bar_enabled', 'equals', '1' ),
array( 'top_bar_right_enabled', 'equals', '1' ),
),
),
array(
'id' => 'top_bar_right_text',
'type' => 'text',
'title' => __( 'Right Area Text', 'osmosis' ),
'subtitle' => __( 'Place the text you wish for your Right TopBar Area.', 'osmosis' ),
'default' => '',
'required' => array(
array( 'top_bar_enabled', 'equals', '1' ),
array( 'top_bar_right_enabled', 'equals', '1' ),
),
),
array(
'id'=>'top_bar_right_social_visibility',
'type' => 'switch',
'title' => __( 'Right Area Social Icons Visibility', 'osmosis' ),
'subtitle'=> __( 'Enable and add social icons for the Right TopBar Area.', 'osmosis' ),
"default" => '0',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
'required' => array(
array( 'top_bar_enabled', 'equals', '1' ),
array( 'top_bar_right_enabled', 'equals', '1' ),
),
),
array(
'id' => 'top_bar_right_social_options',
'type' => 'checkbox',
'title' => __( 'Right Area Social Icons', 'osmosis' ),
'subtitle' => __( 'Select your social icons.', 'osmosis' ),
'desc' => '',
'label' => true,
'options' => $grve_social_options,
'class' => 'grve-redux-columns',
'required' => array(
array( 'top_bar_enabled', 'equals', '1' ),
array( 'top_bar_right_enabled', 'equals', '1' ),
array( 'top_bar_right_social_visibility', 'equals', '1' ),
),
),
)
);
$this->sections[] = array(
'title' => __( 'Header Options', 'osmosis' ),
'id' => 'grve_redux_section_header_options',
'header' => '',
'desc' => '',
'icon_class' => '',
'icon' => 'el-icon-screen',
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id'=>'header_mode',
'type' => 'button_set',
'title' => esc_html__( 'Header Mode', 'osmosis' ),
'subtitle'=> esc_html__( 'Select your Header Mode. keep in mind that this is one of the most important options for the appearance of your site. Your selection here will determine the following section options.', 'osmosis' ),
'options' => array(
'default' => esc_html__( 'Default', 'osmosis' ),
'logo-top' => esc_html__( 'Logo on Top', 'osmosis' ),
),
'default' => 'default',
),
array(
'id' => 'header_height',
'type' => 'text',
'default' => '90',
'title' => __( 'Header Height', 'osmosis' ),
'subtitle' => __( 'Enter Header height in px (Default is 90).', 'osmosis' ),
'validate' => 'numeric',
'required' => array( 'header_mode', 'equals', 'default' ),
),
array(
'id' => 'info_default_logo_options',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Logo options for the Default Header', 'osmosis' ),
),
array(
'id' => 'logo',
'url' => true,
'type' => 'media',
'title' => __( 'Logo', 'osmosis' ),
'read-only' => false,
'default' => array( 'url' => get_template_directory_uri() .'/images/logos/logo-default.png', 'width' => '120', 'height' => '25' ),
'subtitle' => __( 'Upload your logo here.', 'osmosis' ),
),
array(
'id' => 'retina_logo',
'url' => true,
'type' => 'media',
'title' => __( 'Retina Logo', 'osmosis' ),
'read-only' => false,
'default' => array( 'url' => get_template_directory_uri() .'/images/logos/logo-default@2x.png', 'width' => '240', 'height' => '50' ),
'subtitle' => __( 'Upload the retina version (2x) of your logo.', 'osmosis' ),
),
array(
'id' => 'logo_align',
'type' => 'select',
'compiler' => true,
'title' => __( 'Logo Alignment', 'osmosis' ),
'subtitle' => __( 'Select the position of your logo.', 'osmosis' ),
'options' => $grve_align_selection,
'default' => 'left',
'validate' => 'not_empty',
'required' => array( 'header_mode', 'equals', 'default' ),
),
array(
'id' => 'header_top_height',
'type' => 'text',
'default' => '90',
'title' => __( 'Logo Area Height', 'osmosis' ),
'subtitle' => __( 'Enter the Logo Area Height in px (Default is 90).', 'osmosis' ),
'validate' => 'numeric',
'required' => array( 'header_mode', 'equals', 'logo-top' ),
),
array(
'id' => 'logo_top_align',
'type' => 'select',
'compiler' => true,
'title' => __( 'Logo Alignment', 'osmosis' ),
'subtitle' => __( 'Select the position of your logo.', 'osmosis' ),
'options' => array(
'left' => __( 'Left', 'osmosis' ),
'center' => __( 'Center', 'osmosis' ),
'right' => __( 'Right', 'osmosis' ),
),
'default' => 'center',
'validate' => 'not_empty',
'required' => array( 'header_mode', 'equals', 'logo-top' ),
),
array(
'id' => 'info_menu_options',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Menu options for the Default Header', 'osmosis' ),
),
array(
'id' => 'header_bottom_height',
'type' => 'text',
'default' => '60',
'title' => __( 'Menu Area Height', 'osmosis' ),
'subtitle' => __( 'Enter the Menu Area Height in px (Default is 60).', 'osmosis' ),
'validate' => 'numeric',
'required' => array( 'header_mode', 'equals', 'logo-top' ),
),
array(
'id' => 'menu_align',
'type' => 'select',
'compiler' => true,
'title' => __( 'Menu Alignment', 'osmosis' ),
'subtitle' => __( 'Select the position of your menu.', 'osmosis' ),
'options' => $grve_align_selection_extra,
'default' => 'right',
'validate' => 'not_empty',
),
array(
'id' => 'submenu_pointer',
'type' => 'select',
'title' => __( 'Sub Menu Pointer', 'osmosis' ),
'subtitle'=> __( 'Choose pointer for the submenu.', 'osmosis' ),
'options' => $grve_menu_pointers,
'default' => 'none',
'validate' => 'not_empty',
),
array(
'id' => 'submenu_animation',
'type' => 'select',
'title' => __( 'Sub Menu Animation', 'osmosis' ),
'subtitle'=> __( 'Choose animation effect for the submenu.', 'osmosis' ),
'options' => $grve_menu_animations,
'default' => 'none',
'validate' => 'not_empty',
),
array(
'id' => 'info_menu_options',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Responsive Menu options for the Default Header', 'osmosis' ),
),
array(
'id' => 'menu_responsive_style',
'type' => 'select',
'title' => __( 'Responsive Menu Style', 'osmosis' ),
'subtitle' => __( 'Select the style for your responsive menu.', 'osmosis' ),
'options' => $grve_menu_responsibe_style_selection,
'default' => '1',
'validate' => 'not_empty',
),
array(
'id' => 'menu_responsive_align',
'type' => 'select',
'title' => __( 'Responsive Menu Align', 'osmosis' ),
'subtitle'=> __( 'Select the align for your responsive menu.', 'osmosis' ),
'options' => array(
'left' => __( 'Left', 'osmosis' ),
'center' => __( 'Center', 'osmosis' ),
),
'default' => 'left',
'validate' => 'not_empty',
),
array(
'id' => 'menu_responsive_toggle_selection',
'type' => 'select',
'title' => __( 'Responsive Menu Toggle Button Selection', 'osmosis' ),
'subtitle' => __( 'Select the toggle button content for your responsive menu.', 'osmosis' ),
'options' => $grve_menu_responsibe_toggle_selection,
'default' => 'icon',
'validate' => 'not_empty',
),
array(
'id' => 'menu_responsive_toggle_text',
'type' => 'text',
'title' => __( 'Responsive Menu Text', 'osmosis' ),
'subtitle' => __( 'Enter the text for your responsive menu.', 'osmosis' ),
'default' => 'Menu',
'required' => array( 'menu_responsive_toggle_selection', 'equals', 'text' ),
),
array(
'id' => 'info_safe_button',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Safe Button options for the Default Header', 'osmosis' ),
),
array(
'id'=>'safe_button_enabled',
'type' => 'switch',
'title' => __( 'Safe Button', 'osmosis' ),
'subtitle'=> __( 'Enable or disable the Safe Button. Then select the elements you wish to include into this.', 'osmosis' ),
"default" => '0',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id' => 'safe_button_align',
'type' => 'select',
'compiler' => true,
'title' => __( 'Safe Button Alignment', 'osmosis' ),
'subtitle' => __( 'Set the alignment of your Safe Button.', 'osmosis' ),
'options' => $grve_align_selection,
'default' => 'right',
'validate' => 'not_empty',
'required' => array( 'safe_button_enabled', 'equals', '1' ),
),
array(
'id' => 'safe_button_size',
'type' => 'text',
'default' => '70',
'title' => __( 'Safe Button Size', 'osmosis' ),
'subtitle' => __( 'Enter Safe Button size in px (Default is 50).', 'osmosis' ),
'validate' => 'numeric',
'required' => array( 'safe_button_enabled', 'equals', '1' ),
),
array(
'id' => 'safe_button_right_space',
'type' => 'text',
'default' => '0',
'title' => __( 'Safe Button Space', 'osmosis' ),
'subtitle' => __( 'Enter Safe Button right space in px (Default is 20).', 'osmosis' ),
'validate' => 'numeric',
'required' => array(
array( 'safe_button_enabled', 'equals', '1' ),
array( 'safe_button_align', 'equals', 'right' ),
),
),
array(
'id' => 'safe_button_left_space',
'type' => 'text',
'default' => '0',
'title' => __( 'Safe Button Space', 'osmosis' ),
'subtitle' => __( 'Enter Safe Button left space in px (Default is 20).', 'osmosis' ),
'validate' => 'numeric',
'required' => array(
array( 'safe_button_enabled', 'equals', '1' ),
array( 'safe_button_align', 'equals', 'left' ),
),
),
array(
'id' => 'safe_button_options',
'type' => 'sortable',
'mode' => 'checkbox',
'title' => __( 'Safe Button Options', 'osmosis' ),
'subtitle' => __( 'Enable / Disable any of the safe button options besides.', 'osmosis' ),
'options' => $grve_safe_button_options,
'default' => $grve_safe_button_options_default,
'required' => array( 'safe_button_enabled', 'equals', '1' ),
),
array(
'id' => 'safe_button_option_search_text',
'type' => 'text',
'title' => __( 'Safe Button Search Text', 'osmosis' ),
'subtitle' => __( 'Type text for the search option.', 'osmosis' ),
"default" => 'Search For',
'required' => array( 'safe_button_enabled', 'equals', '1' ),
),
array(
'id' => 'safe_button_option_language_text',
'type' => 'text',
'title' => __( 'Safe Button Language Text', 'osmosis' ),
'subtitle' => __( 'Type text for the language selector option.', 'osmosis' ),
"default" => 'Select Language',
'required' => array( 'safe_button_enabled', 'equals', '1' ),
),
array(
'id' => 'safe_button_option_newsletter_text',
'type' => 'text',
'title' => __( 'Safe Button Newsletter Text', 'osmosis' ),
'subtitle' => __( 'Type text for the newsletter option.', 'osmosis' ),
"default" => 'Newsletter',
'required' => array( 'safe_button_enabled', 'equals', '1' ),
),
array(
'id'=>'safe_button_social_visibility',
'type' => 'switch',
'title' => __( 'Safe Button Social Icons Visibility', 'osmosis' ),
'subtitle'=> __( 'Enable and add social icons to be placed in the safe button.', 'osmosis' ),
"default" => '0',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
'required' => array( 'safe_button_enabled', 'equals', '1' ),
),
array(
'id' => 'safe_button_option_social_text',
'type' => 'text',
'title' => __( 'Safe Button Social Icons Text', 'osmosis' ),
'subtitle' => __( 'Type text for the social icons option.', 'osmosis' ),
"default" => 'Stay Connected',
'required' => array(
array( 'safe_button_enabled', 'equals', '1' ),
array( 'safe_button_social_visibility', 'equals', '1' ),
),
),
array(
'id' => 'safe_button_social_options',
'type' => 'checkbox',
'title' => __( 'Safe Button Social Icons', 'osmosis' ),
'subtitle' => __( 'Select your safe button social icons.', 'osmosis' ),
'desc' => '',
'label' => true,
'options' => $grve_social_options,
'class' => 'grve-redux-columns',
'required' => array(
array( 'safe_button_enabled', 'equals', '1' ),
array( 'safe_button_social_visibility', 'equals', '1' ),
),
),
array(
'id' => 'info_menu_elements',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Menu Elements options for the Default Header', 'osmosis' ),
),
array(
'id'=>'header_menu_options_enabled',
'type' => 'switch',
'title' => __( 'Menu Elements', 'osmosis' ),
'subtitle'=> __( 'Enable or disable the use of various elements in your header like shop cart, socials, search, language selector and newsletter.', 'osmosis' ),
"default" => '0',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id' => 'header_menu_options',
'type' => 'sortable',
'mode' => 'checkbox',
'title' => __( 'Menu Elements Options', 'osmosis' ),
'subtitle' => __( 'Enable / Disable various menu elements options.', 'osmosis' ),
'options' => $grve_header_menu_options,
'default' => $grve_header_menu_options_default,
'required' => array( 'header_menu_options_enabled', 'equals', '1' ),
),
array(
'id'=>'header_menu_social_visibility',
'type' => 'switch',
'title' => __( 'Menu Social Icons Visibility', 'osmosis' ),
'subtitle'=> __( 'Enable and add social icons in your header.', 'osmosis' ),
"default" => '0',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
'required' => array( 'header_menu_options_enabled', 'equals', '1' ),
),
array(
'id' => 'header_menu_social_options',
'type' => 'checkbox',
'title' => __( 'Menu Social Icons', 'osmosis' ),
'subtitle' => __( 'Select the social icons.', 'osmosis' ),
'desc' => '',
'label' => true,
'options' => $grve_social_options,
'class' => 'grve-redux-columns',
'required' => array(
array( 'header_menu_options_enabled', 'equals', '1' ),
array( 'header_menu_social_visibility', 'equals', '1' ),
),
),
array(
'id' => 'header_menu_options_align',
'type' => 'select',
'compiler' => true,
'title' => __( 'Various Elements Alignment', 'osmosis' ),
'subtitle' => __( 'Set the alignment of your header elements.', 'osmosis' ),
'options' => $grve_align_selection,
'default' => 'right',
'validate' => 'not_empty',
'required' => array( 'header_menu_options_enabled', 'equals', '1' ),
),
)
);
$this->sections[] = array(
'title' => __( 'Sticky Header Options', 'osmosis' ),
'id' => 'grve_redux_section_sticky_header_options',
'header' => '',
'desc' => '',
'icon_class' => '',
'icon' => 'el-icon-screen',
'submenu' => true,
'customizer' => false,
'subsection' => true,
'fields' => array(
array(
'id'=>'header_sticky_enabled',
'type' => 'switch',
'title' => __( 'Sticky Header', 'osmosis' ),
'subtitle'=> __( 'Enable the Sticky Header when scrolling down the page.', 'osmosis' ),
"default" => '0',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id' => 'header_sticky_type',
'type' => 'select',
'title' => __( 'Sticky Header Type', 'osmosis' ),
'subtitle'=> __( 'Select the type for the Sticky Header.', 'osmosis' ),
'options' => array(
'simply' => __( 'Simple', 'osmosis' ),
'advanced' => __( 'Advanced', 'osmosis' ),
'shrink' => __( 'Shrink', 'osmosis' ),
),
'default' => 'simply',
'validate' => 'not_empty',
'required' => array(
array( 'header_sticky_enabled', 'equals', '1' ),
array( 'header_mode', 'equals', 'default' ),
),
),
array(
'id' => 'info_logo_sticky',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Logo Settings for the Sticky Header', 'osmosis' ),
'required' => array(
array( 'header_sticky_enabled', 'equals', '1' ),
array( 'header_mode', 'equals', 'default' ),
),
),
array(
'id' => 'logo_sticky',
'url'=> true,
'type' => 'media',
'title' => __( 'Logo Sticky Header', 'osmosis' ),
'read-only' => false,
'default' => array( 'url' => get_template_directory_uri() .'/images/logos/logo-sticky.png', 'width' => '94', 'height' => '20' ),
'subtitle' => __( 'Upload your logo for the Sticky Header.', 'osmosis' ),
'required' => array( 'header_sticky_enabled', 'equals', '1' ),
),
array(
'id' => 'retina_logo_sticky',
'url'=> true,
'type' => 'media',
'title' => __( 'Retina Logo Sticky Header', 'osmosis' ),
'read-only' => false,
'default' => array( 'url' => get_template_directory_uri() .'/images/logos/logo-sticky@2x.png', 'width' => '188', 'height' => '40' ),
'subtitle' => __( 'Upload the retina version (2x) of your logo in the sticky header.', 'osmosis' ),
'required' => array( 'header_sticky_enabled', 'equals', '1' ),
),
)
);
$this->sections[] = array(
'title' => __( 'Light Header Options', 'osmosis' ),
'id' => 'grve_redux_section_light_header_options',
'header' => '',
'desc' => __( 'Notice that, there is no need to use the Light Header if you do not intend to integrate the Feature Section with the Header in pages and single portfolio items (where Osmosis provides the Feature Section).', 'osmosis' ),
'icon_class' => '',
'icon' => 'el-icon-screen',
'submenu' => true,
'customizer' => false,
'subsection' => true,
'fields' => array(
array(
'id' => 'info_logo_light',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Logo Settings for the Light Header', 'osmosis' ),
),
array(
'id' => 'logo_light',
'url'=> true,
'type' => 'media',
'title' => __( 'Logo', 'osmosis' ),
'read-only' => false,
'default' => array( 'url' => get_template_directory_uri() .'/images/logos/logo-light.png', 'width' => '120', 'height' => '25' ),
'subtitle' => __( 'Upload your logo for the Light Header.', 'osmosis' ),
),
array(
'id' => 'retina_logo_light',
'url'=> true,
'type' => 'media',
'title' => __( 'Retina Logo Light Header', 'osmosis' ),
'read-only' => false,
'default' => array( 'url' => get_template_directory_uri() .'/images/logos/logo-light@2x.png', 'width' => '240', 'height' => '50' ),
'subtitle' => __( 'Upload the retina version (2x) of your logo in the Light Header.', 'osmosis' ),
),
)
);
$this->sections[] = array(
'title' => __( 'Dark Header Options', 'osmosis' ),
'id' => 'grve_redux_section_dark_header_options',
'header' => '',
'desc' => __( 'Notice that, there is no need to use the Dark Header if you do not intend to integrate the Feature Section with the Header in pages and single portfolio items (where Osmosis provides the Feature Section).', 'osmosis' ),
'icon_class' => '',
'icon' => 'el-icon-screen',
'submenu' => true,
'customizer' => false,
'subsection' => true,
'fields' => array(
array(
'id' => 'info_logo_dark',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Logo Settings for the Dark Header', 'osmosis' ),
),
array(
'id' => 'logo_dark',
'url' => true,
'type' => 'media',
'title' => __( 'Logo', 'osmosis' ),
'read-only' => false,
'default' => array( 'url' => get_template_directory_uri() .'/images/logos/logo-dark.png', 'width' => '120', 'height' => '25' ),
'subtitle' => __( 'Upload your logo for the Dark Header.', 'osmosis' ),
),
array(
'id' => 'retina_logo_dark',
'url' => true,
'type' => 'media',
'title' => __( 'Retina Logo Dark Header', 'osmosis' ),
'read-only' => false,
'default' => array( 'url' => get_template_directory_uri() .'/images/logos/logo-dark@2x.png', 'width' => '240', 'height' => '50' ),
'subtitle' => __( 'Upload the retina version (2x) of your logo in the Dark Header.', 'osmosis' ),
),
)
);
$this->sections[] = array(
'icon' => 'el-icon-arrow-down',
'icon_class' => '',
'title' => __( 'Bottom Bar Options', 'osmosis' ),
'id' => 'grve_redux_section_bottom_bar_options',
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id'=>'bottom_bar_enabled',
'type' => 'switch',
'title' => __( 'Bottom Bar', 'osmosis' ),
'subtitle'=> __( 'Enable or Disable Bottom Bar Area to show above your footer.', 'osmosis' ),
"default" => '0',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id' => 'bottom_bar_spacing',
'type' => 'spacing',
'output' => array('#grve-above-footer'),
'mode' => 'padding',
'units' => 'px',
'units_extended' => 'false',
'left' => 'false',
'right' => 'false',
'title' => __( 'Spacing', 'osmosis' ),
'subtitle' => __( 'Set the spacing of the Bottom Bar Area.', 'osmosis' ),
'desc' => __( 'Set spacing Top, Bottom in px.', 'osmosis'),
'default' => array(
'padding-top' => '65px',
'padding-bottom' => '65px',
'units' => 'px',
),
'required' => array( 'bottom_bar_enabled', 'equals', '1' ),
),
array(
'id'=>'bottom_bar_social_visibility',
'type' => 'switch',
'title' => __( 'Bottom Bar Social Visibility', 'osmosis' ),
'subtitle'=> __( 'Enable and add socials for the Bottom Bar Area.', 'osmosis' ),
"default" => '0',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
'required' => array( 'bottom_bar_enabled', 'equals', '1' ),
),
array(
'id' => 'bottom_bar_social_options',
'type' => 'checkbox',
'title' => __( 'Bottom Bar Socials', 'osmosis' ),
'subtitle' => __( 'Select your social icons.', 'osmosis' ),
'desc' => '',
'label' => true,
'options' => $grve_social_options,
'class' => 'grve-redux-columns',
'required' => array(
array( 'bottom_bar_enabled', 'equals', '1' ),
array( 'bottom_bar_social_visibility', 'equals', '1' ),
),
),
array(
'id'=>'bottom_bar_newsletter_visibility',
'type' => 'switch',
'title' => __( 'Bottom Bar Newsletter', 'osmosis' ),
'subtitle'=> __( 'Enable the newsletter form in the Bottom Bar Area.', 'osmosis' ),
"default" => '0',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
'required' => array( 'bottom_bar_enabled', 'equals', '1' ),
),
)
);
$this->sections[] = array(
'icon' => 'el-icon-arrow-down',
'icon_class' => '',
'title' => __( 'Footer Options', 'osmosis' ),
'id' => 'grve_redux_section_footer_options',
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id' => 'sticky_footer',
'type' => 'checkbox',
'title' => __( 'Sticky Footer', 'osmosis' ),
'subtitle'=> __( 'Select if you want a sticky footer.', 'osmosis' ),
'default' => 0,
),
array(
'id' => 'footer_background',
'type' => 'background',
'title' => __( 'Footer Background Image', 'osmosis' ),
'subtitle' => __( 'Select a background image for the footer.', 'osmosis' ),
'background-color' => false,
'background-repeat' => false,
'background-attachment' => false,
'background-clip' => false,
'background-size' => false,
'default' => array(
'background-position' => 'center center',
),
),
array(
'id' => 'info_footer_widgets',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Footer Widgets Settings', 'osmosis' ),
),
array(
'id'=>'footer_widgets_visibility',
'type' => 'switch',
'title' => __( 'Footer Widgets Visibility', 'osmosis' ),
'subtitle'=> __( 'Enable the Footer Area to show the widget areas of the footer.', 'osmosis' ),
"default" => '0',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id' => 'footer_widgets_layout',
'type' => 'image_select',
'compiler' => true,
'title' => __( 'Footer Column Layout', 'osmosis' ),
'subtitle' => __( 'Select Footer column layout.', 'osmosis' ),
'options' => $grve_footer_column_selection,
'default' => 'footer-1',
'required' => array( 'footer_widgets_visibility', 'equals', '1' ),
),
array(
'id' => 'footer_section_type',
'type' => 'select',
'title' => __( 'Footer Full Width', 'osmosis' ),
'subtitle'=> __( 'Select Yes if you like a full-width Footer Area.', 'osmosis' ),
'options' => array(
'fullwidth-background' => __( 'No', 'osmosis' ),
'fullwidth-element' => __( 'Yes', 'osmosis' ),
),
'default' => 'fullwidth-background',
'validate' => 'not_empty',
'required' => array( 'footer_widgets_visibility', 'equals', '1' ),
),
array(
'id' => 'footer_widgets_spacing',
'type' => 'spacing',
'output' => array('#grve-footer-area'),
'mode' => 'padding',
'units' => 'px',
'units_extended' => 'false',
'left' => 'false',
'right' => 'false',
'title' => __( 'Spacing', 'osmosis' ),
'subtitle' => __( 'Set the spacing of Footer Area.', 'osmosis' ),
'desc' => __( 'Set spacing Top, Bottom in px.', 'osmosis'),
'default' => array(
'padding-top' => '70px',
'padding-bottom' => '70px',
'units' => 'px',
),
'required' => array( 'footer_widgets_visibility', 'equals', '1' ),
),
array(
'id' => 'info_footer_bar',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Footer Bar Settings', 'osmosis' ),
),
array(
'id'=>'footer_bar_visibility',
'type' => 'switch',
'title' => __( 'Footer Bar Visibility', 'osmosis' ),
'subtitle'=> __( 'Enable the Footer Bar Area for the copyright, bottom menu and socials.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id' => 'footer_bar_section_type',
'type' => 'select',
'title' => __( 'Footer Bar Full Width', 'osmosis' ),
'subtitle'=> __( 'Select Yes if you like a full-width Footer Bar Area.', 'osmosis' ),
'options' => array(
'fullwidth-background' => __( 'No', 'osmosis' ),
'fullwidth-element' => __( 'Yes', 'osmosis' ),
),
'default' => 'fullwidth-background',
'validate' => 'not_empty',
'required' => array( 'footer_bar_visibility', 'equals', '1' ),
),
array(
'id' => 'footer_bar_align_center',
'type' => 'select',
'title' => __( 'Footer Bar Center', 'osmosis' ),
'subtitle'=> __( 'Select if the Footer Bar elements will be centered.', 'osmosis' ),
'options' => array(
'no' => __( 'No', 'osmosis' ),
'yes' => __( 'Yes', 'osmosis' ),
),
'default' => 'yes',
'validate' => 'not_empty',
'required' => array( 'footer_bar_visibility', 'equals', '1' ),
),
array(
'id' => 'footer_bar_spacing',
'type' => 'spacing',
'output' => array('#grve-footer-bar'),
'mode' => 'padding',
'units' => 'px',
'units_extended' => 'false',
'left' => 'false',
'right' => 'false',
'title' => __( 'Spacing', 'osmosis' ),
'subtitle' => __( 'Set the spacing of Footer Bar Area.', 'osmosis' ),
'desc' => __( 'Set spacing Top, Bottom in px.', 'osmosis'),
'default' => array(
'padding-top' => '20px',
'padding-bottom' => '20px',
'units' => 'px',
),
'required' => array( 'footer_bar_visibility', 'equals', '1' ),
),
array(
'id'=>'footer_copyright_visibility',
'type' => 'switch',
'title' => __( 'Footer Copyright Visibility', 'osmosis' ),
'subtitle'=> __( 'Enable the Footer Copyright Area. Edit it as you wish.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
'required' => array( 'footer_bar_visibility', 'equals', '1' ),
),
array(
'id' => 'footer_copyright_text',
'type' => 'editor',
'args' => $editor_args,
'title' => __( 'Copyright Text', 'osmosis' ),
'subtitle' => __( 'Type your copyright text or anything else you want.', 'osmosis' ),
'default' => 'Copyright 2023 - All Rights Reserved.',
'required' => array(
array( 'footer_bar_visibility', 'equals', '1' ),
array( 'footer_copyright_visibility', 'equals', '1' ),
),
),
array(
'id'=>'second_area_visibility',
'type' => 'button_set',
'title' => __( 'Second Footer Area', 'osmosis' ),
'subtitle'=> __( 'This is the second position in the Footer Bar Area. You can easily add the Bottom Menu or socials.', 'osmosis' ),
'options' => array(
'1' => __( 'Hide', 'osmosis' ),
'2' => __( 'Menu', 'osmosis' ),
'3' => __( 'Socials', 'osmosis' ),
),
'default' => '1',
'required' => array( 'footer_bar_visibility', 'equals', '1' ),
),
array(
'id' => 'footer_social_display',
'type' => 'select',
'title' => __( 'Footer Social Display', 'osmosis' ),
'subtitle'=> __( 'Select how you want to display your social items.', 'osmosis' ),
'options' => array(
'text' => __( 'Text', 'osmosis' ),
'icon' => __( 'Icons', 'osmosis' ),
),
'default' => 'text',
'validate' => 'not_empty',
'required' => array(
array( 'footer_bar_visibility', 'equals', '1' ),
array( 'second_area_visibility', 'equals', '3' ),
),
),
array(
'id' => 'footer_social_options',
'type' => 'checkbox',
'title' => __( 'Footer Social items', 'osmosis' ),
'subtitle' => __( 'Select your social icons.', 'osmosis' ),
'desc' => '',
'label' => true,
'options' => $grve_social_options,
'class' => 'grve-redux-columns',
'required' => array(
array( 'footer_bar_visibility', 'equals', '1' ),
array( 'second_area_visibility', 'equals', '3' ),
),
),
)
);
$this->sections[] = array(
'icon' => 'el-icon-edit',
'icon_class' => '',
'title' => __( 'Blog Options', 'osmosis' ),
'id' => 'grve_redux_section_blog_options',
'desc' => __( 'Changes here will affect the settings for the assigned blog page in case you have set a Static Page as blog page in Settings > Reading > Front Page Displays. Also these settings also affect Archives / Categories / Tags overview pages.', 'osmosis' ),
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id' => 'blog_layout',
'type' => 'image_select',
'compiler' => true,
'title' => __( 'Blog Layout', 'osmosis' ),
'subtitle' => __( 'Select the layout for the assigned blog page. Choose among Full Width, Left Sidebar or Right Sidebar.', 'osmosis' ),
'options' => $grve_layout_selection,
'default' => 'right',
),
array(
'id' => 'blog_sidebar',
'type' => 'select',
'title' => __( 'Blog Sidebar', 'osmosis' ),
'subtitle' => __( 'Select the sidebar for the assigned blog page.', 'osmosis' ),
'data' => 'sidebar',
'default' => 'grve-default-sidebar',
'validate' => 'not_empty',
),
array(
'id'=>'blog_title',
'type' => 'select',
'title' => __( 'Blog Title', 'osmosis' ),
'subtitle'=> __( 'Select if you want to use the site name and tagline as blog title or hide it.', 'osmosis' ),
'options' => array(
'sitetitle' => __( 'Site Title / Tagline', 'osmosis' ),
'custom' => __( 'Custom Title / Description', 'osmosis' ),
'none' => __( 'None', 'osmosis' ),
),
'default' => 'sitetitle',
'validate' => 'not_empty',
),
array(
'id' => 'blog_custom_title',
'type' => 'text',
'default' => '',
'title' => __( 'Custom Title', 'osmosis' ),
'subtitle' => __( 'Enter blog custom title.', 'osmosis' ),
'required' => array( 'blog_title', 'equals', 'custom' ),
),
array(
'id' => 'blog_custom_description',
'type' => 'text',
'default' => '',
'title' => __( 'Custom Description', 'osmosis' ),
'subtitle' => __( 'Enter blog custom description.', 'osmosis' ),
'required' => array( 'blog_title', 'equals', 'custom' ),
),
array(
'id' => 'blog_title_height',
'type' => 'text',
'default' => '350',
'title' => __( 'Blog Title Height', 'osmosis' ),
'subtitle' => __( 'Enter blog title height in px (Default is 350).', 'osmosis' ),
'validate' => 'numeric',
),
array(
'id' => 'blog_title_alignment',
'type' => 'select',
'title' => __( 'Blog Title Alignment', 'osmosis' ),
'subtitle'=> __( 'Select your alignment for the blog title.', 'osmosis' ),
'options' => array(
'left' => __( 'Left', 'osmosis' ),
'right' => __( 'Right', 'osmosis' ),
'center' => __( 'Center', 'osmosis' ),
),
'default' => 'center',
'validate' => 'not_empty',
),
array(
'id' => 'blog_title_background',
'type' => 'background',
'title' => __( 'Blog Title Background Image', 'osmosis' ),
'subtitle' => __( 'Select a background image for the blog title.', 'osmosis' ),
'background-color' => false,
'background-repeat' => false,
'background-attachment' => false,
'background-clip' => false,
'background-size' => false,
'default' => array(
'background-position' => 'center center',
),
),
array(
'id' => 'info_style_blog_settings',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Blog Style and Basic Blog Settings', 'osmosis' ),
'subtitle'=> __( 'Set the style and basic settings for the default blog.', 'osmosis' ),
),
array(
'id' => 'blog_style',
'type' => 'select',
'title' => __( 'Blog Style', 'osmosis' ),
'subtitle' => __( 'Select blog style.', 'osmosis' ),
'options' => $grve_blog_style_selection,
'default' => 'large-media',
),
array(
'id' => 'blog_image_mode',
'type' => 'select',
'title' => __( 'Blog Image Mode', 'osmosis' ),
'subtitle' => __( 'Select your Blog Image Mode', 'osmosis' ),
'options' => $grve_blog_image_mode_selection,
'default' => 'auto',
'required' => array( 'blog_style','!=', 'masonry' ),
),
array(
'id' => 'blog_image_prio',
'type' => 'select',
'title' => __( 'Blog Featured Image Priority', 'osmosis' ),
'subtitle' => __( 'If enabled, Featured image is displayed instead of media element', 'osmosis' ),
'options' => $grve_enable_selection,
'default' => 'no',
),
array(
'id' => 'blog_columns',
'type' => 'select',
'title' => __( 'Blog Columns', 'osmosis' ),
'subtitle' => __( 'Select the Blog Columns', 'osmosis' ),
'options' => $grve_blog_columns_selection,
'default' => '4',
'required' => array(
array( 'blog_style','!=', 'large-media' ),
array( 'blog_style','!=', 'small-media' ),
),
),
array(
'id' => 'blog_mode',
'type' => 'select',
'title' => __( 'Blog Mode', 'osmosis' ),
'subtitle' => __( 'Select the Blog Mode', 'osmosis' ),
'options' =>array(
'no-border-mode' => __( 'Without Borders', 'osmosis' ),
'border-mode' => __( 'With Borders', 'osmosis' ),
),
'default' => 'no-border-mode',
'required' => array(
array( 'blog_style','!=', 'large-media' ),
array( 'blog_style','!=', 'small-media' ),
),
),
array(
'id' => 'blog_item_spinner',
'type' => 'select',
'title' => __( 'Enable Loader', 'osmosis' ),
'subtitle'=> __( 'If selected, this will enable a graphic spinner before load.', 'osmosis' ),
'options' => array(
'no' => __( 'No', 'osmosis' ),
'yes' => __( 'Yes', 'osmosis' ),
),
'default' => 'no',
'validate' => 'not_empty',
'required' => array(
array( 'blog_style','!=', 'large-media' ),
array( 'blog_style','!=', 'small-media' ),
),
),
array(
'id' => 'blog_auto_excerpt',
'type' => 'switch',
'title' => __( 'Auto Excerpt', 'osmosis' ),
'subtitle'=> __( "Adds automatic excerpt to all posts. If auto excerpt is off, blog will show all content, a desired 'cut-off' can be inserted in each post with more quicktag.", 'osmosis' ),
"default" => '0',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
'required' => array( 'blog_style', 'equals', 'large-media' ),
),
array(
'id'=>'blog_excerpt_length',
'type' => 'text',
'default' => '55',
'title' => __( 'Excerpt Length', 'osmosis' ),
'subtitle' => __( 'Type how many words you want to display in your post excerpts (Default is 55).', 'osmosis' ),
'validate' => 'numeric',
'required' => array(
array( 'blog_auto_excerpt', 'equals', '1' ),
array( 'blog_style', 'equals', 'large-media' ),
),
),
array(
'id'=>'blog_excerpt_length_small',
'type' => 'text',
'default' => '30',
'title' => __( 'Excerpt Length', 'osmosis' ),
'subtitle' => __( 'Type how many words you want to display in your post excerpts (Default is 30).', 'osmosis' ),
'validate' => 'numeric',
'required' => array( 'blog_style', '!=', 'large-media' ),
),
array(
'id' => 'blog_excerpt_more',
'type' => 'switch',
'title' => __( 'Read More', 'osmosis' ),
'subtitle'=> __( "Adds a read more button after the excerpt or more quicktag.", 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id'=>'blog_comments_visibility',
'type' => 'switch',
'title' => __( 'Comments Visibility', 'osmosis' ),
'subtitle'=> __( 'Easily disable the comments of your blog.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id'=>'blog_author_visibility',
'type' => 'switch',
'title' => __( 'Author Field Visibility', 'osmosis' ),
'subtitle'=> __( 'Easily disable the author field of your blog.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id'=>'blog_date_visibility',
'type' => 'switch',
'title' => __( 'Date Field Visibility', 'osmosis' ),
'subtitle'=> __( 'Easily disable the date field of your blog.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
)
);
$this->sections[] = array(
'title' => __( 'Single Post Settings', 'osmosis' ),
'id' => 'grve_redux_section_single_post_settings',
'header' => '',
'desc' => '',
'icon_class' => '',
'icon' => 'el-icon-edit',
'submenu' => true,
'customizer' => false,
'subsection' => true,
'fields' => array(
array(
'id' => 'post_layout',
'type' => 'image_select',
'compiler' => true,
'title' => __( 'Post Layout', 'osmosis' ),
'subtitle' => __( 'Select the layout for the single post format. Choose among Full Width, Left Sidebar or Right Sidebar.', 'osmosis' ),
'options' => $grve_layout_selection,
'default' => 'right',
),
array(
'id' => 'post_sidebar',
'type' => 'select',
'title' => __( 'Post Sidebar', 'osmosis' ),
'subtitle' => __( 'Select the sidebar for the single posts.', 'osmosis' ),
'data' => 'sidebar',
'default' => 'grve-default-sidebar',
'validate' => 'not_empty',
),
array(
'id' => 'post_style',
'type' => 'select',
'compiler' => true,
'title' => __( 'Post Style', 'osmosis' ),
'subtitle' => __( 'Select the style for the single post.', 'osmosis' ),
'options' => array(
'default' => __( 'Osmosis', 'osmosis' ),
'classic' => __( 'Classic', 'osmosis' ),
'simple' => __( 'Simple', 'osmosis' ),
),
'default' => 'default',
),
array(
'id' => 'blog_social',
'type' => 'checkbox',
'title' => __( 'Social Share', 'osmosis' ),
'subtitle' => __( 'Enable / Disable post social shares for the single posts.', 'osmosis' ),
'options' => $grve_blog_social_options,
'default' => 0,
),
array(
'id' => 'post_feature_image_visibility',
'type' => 'switch',
'title' => __( 'Featured Image Visibility (Standard Post)', 'osmosis' ),
'subtitle'=> __( 'Toggle Featured Image on or off.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id' => 'post_tag_visibility',
'type' => 'switch',
'title' => __( 'Post Tags Visibility', 'osmosis' ),
'subtitle'=> __( 'Enable / Disable the post tags.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id' => 'post_category_visibility',
'type' => 'switch',
'title' => __( 'Post Categories Visibility', 'osmosis' ),
'subtitle'=> __( 'Enable / Disable the post categories.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id' => 'post_author_visibility',
'type' => 'switch',
'title' => __( 'Author Info Visibility', 'osmosis' ),
'subtitle'=> __( 'Enable / Disable the Author Info field.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id'=>'post_related_visibility',
'type' => 'switch',
'title' => __( 'Related Posts Visibility', 'osmosis' ),
'subtitle'=> __( 'Enable / Disable the visibility of the related posts.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id' => 'post_related_image',
'type' => 'select',
'title' => __( 'Related Posts Image', 'osmosis' ),
'subtitle' => __( 'If enabled, featured image is displayed', 'osmosis' ),
'options' => $grve_enable_selection,
'default' => 'yes',
'required' => array( 'post_related_visibility', 'equals', '1' ),
),
array(
'id' => 'post_related_hover',
'type' => 'select',
'title' => __( 'Related Posts Image Hover Effect', 'osmosis' ),
'subtitle' => __( 'Enable/Disable Image hover effect', 'osmosis' ),
'options' => $grve_enable_selection,
'default' => 'yes',
'required' => array(
array( 'post_related_visibility', 'equals', '1' ),
array( 'post_related_image', 'equals', 'yes' ),
),
),
array(
'id'=>'post_nav_visibility',
'type' => 'switch',
'title' => __( 'Posts Navigation Visibility', 'osmosis' ),
'subtitle'=> __( 'Enable / Disable the visibility of the posts navigation.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id' => 'post_nav_same_term',
'type' => 'checkbox',
'title' => __( 'Post Navigation Same Term', 'osmosis' ),
'subtitle'=> __( 'If selected, only navigation items from the current taxonomy term will be displayed.', 'osmosis' ),
'default' => 0,
'required' => array( 'post_nav_visibility', 'equals', '1' ),
),
array(
'id' => 'post_nav_invert',
'type' => 'select',
'title' => __( 'Post Invert Navigation', 'osmosis' ),
'subtitle' => __( 'Select if you want to invert your post navigation.', 'osmosis' ),
'options' => $grve_enable_selection,
'default' => 'no',
'required' => array( 'post_nav_visibility', 'equals', '1' ),
),
array(
'id' => 'info_style_post_title',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Single Post Title Settings', 'osmosis' ),
'subtitle'=> __( 'Set the style for the default single post title ( Not applicable for Simple Style ).', 'osmosis' ),
),
array(
'id' => 'post_title_height',
'type' => 'text',
'default' => '350',
'title' => __( 'Post Title Height', 'osmosis' ),
'subtitle' => __( 'Enter the Post title height in px (Default is 350).', 'osmosis' ),
'validate' => 'numeric',
),
array(
'id' => 'post_title_background',
'type' => 'background',
'title' => __( 'Single Post Title Background Image', 'osmosis' ),
'subtitle' => __( 'Select a background image for the single post title.', 'osmosis' ),
'background-color' => false,
'background-repeat' => false,
'background-attachment' => false,
'background-clip' => false,
'background-size' => false,
'default' => array(
'background-position' => 'center center',
),
),
array(
'id' => 'info_style_post_breadcrumbs',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => esc_html__( 'Breadcrumbs Bar Settings', 'osmosis' ),
'subtitle'=> esc_html__( 'Define your preferences for the Breadcrumbs Bar.', 'osmosis' ),
),
array(
'id'=>'post_breadcrumbs_enabled',
'type' => 'switch',
'title' => esc_html__( 'Breadcrumbs', 'osmosis' ),
'subtitle'=> esc_html__( 'Enable or Disable the Breadcrumbs for Single Post / Archives / Categories / Tags.', 'osmosis' ),
"default" => '0',
'on' => esc_html__( 'On', 'osmosis' ),
'off' => esc_html__( 'Off', 'osmosis' ),
),
array(
'id' => 'post_breadcrumbs_height',
'type' => 'text',
'default' => '60',
'title' => esc_html__( 'Breadcrumbs Height', 'osmosis' ),
'subtitle' => esc_html__( 'Enter Breadcrumbs height in px (Default is 60).', 'osmosis' ),
'validate' => 'numeric',
'required' => array( 'post_breadcrumbs_enabled', 'equals', '1' ),
),
array(
'id' => 'post_breadcrumbs_alignment',
'type' => 'select',
'compiler' => true,
'title' => esc_html__( 'Breadcrumbs Alignment', 'osmosis' ),
'subtitle' => esc_html__( 'Select the alignment of your breadcrumbs.', 'osmosis' ),
'options' => $grve_align_selection_extra,
'default' => 'left',
'validate' => 'not_empty',
'required' => array( 'post_breadcrumbs_enabled', 'equals', '1' ),
),
array(
'id' => 'post_breadcrumbs_fullwidth',
'type' => 'checkbox',
'title' => esc_html__( 'Fullwidth', 'osmosis' ),
'subtitle'=> esc_html__( 'Select if you want to show your breadcrumbs full width.', 'osmosis' ),
'default' => 0,
'required' => array( 'post_breadcrumbs_enabled', 'equals', '1' ),
),
)
);
$this->sections[] = array(
'icon' => 'el-icon-pencil',
'icon_class' => '',
'title' => __( 'Page Options', 'osmosis'),
'subtitle' => __( 'You can find the basic settings for the pages here.', 'osmosis' ),
'id' => 'grve_redux_section_page_options',
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id' => 'page_layout',
'type' => 'image_select',
'compiler' => true,
'title' => __( 'Page Layout', 'osmosis' ),
'subtitle' => __( 'Select the layout for the pages. Choose among Full Width, Left Sidebar or Right Sidebar.', 'osmosis' ),
'options' => $grve_layout_selection,
'default' => 'none',
),
array(
'id' => 'page_sidebar',
'type' => 'select',
'title' => __( 'Page Sidebar', 'osmosis' ),
'subtitle' => __( 'Select the default sidebar for the pages in case you do not use full width layout.', 'osmosis' ),
'data' => 'sidebar',
'default' => 'grve-default-sidebar',
'validate' => 'not_empty',
),
array(
'id'=>'page_comments_visibility',
'type' => 'switch',
'title' => __( 'Comments Visibility', 'osmosis' ),
'subtitle'=> __( 'Easily disable the comments for all pages.', 'osmosis' ),
"default" => '0',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id' => 'info_style_page_title',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Page Title Settings', 'osmosis' ),
'subtitle'=> __( 'Set the style for the default page title.', 'osmosis' ),
),
array(
'id' => 'page_title_height',
'type' => 'text',
'default' => '350',
'title' => __( 'Page Title Height', 'osmosis' ),
'subtitle' => __( 'Enter Page title height in px (Default is 350).', 'osmosis' ),
'validate' => 'numeric',
),
array(
'id' => 'page_title_alignment',
'type' => 'select',
'title' => __( 'Page Title Alignment', 'osmosis' ),
'subtitle'=> __( 'Select your alignment for the default page title.', 'osmosis' ),
'options' => array(
'left' => __( 'Left', 'osmosis' ),
'right' => __( 'Right', 'osmosis' ),
'center' => __( 'Center', 'osmosis' ),
),
'default' => 'center',
'validate' => 'not_empty',
),
array(
'id' => 'page_title_background',
'type' => 'background',
'title' => __( 'Page Title Background Image', 'osmosis' ),
'subtitle' => __( 'Select a background image for the default page title.', 'osmosis' ),
'background-color' => false,
'background-repeat' => false,
'background-attachment' => false,
'background-clip' => false,
'background-size' => false,
'default' => array(
'background-position' => 'center center',
),
),
array(
'id' => 'info_style_page_anchor_menu',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Anchor Menu Bar Settings', 'osmosis' ),
'subtitle'=> __( 'Define your preferences for the Anchor Menu Bar where you can place a custom sticky menu per page.', 'osmosis' ),
),
array(
'id' => 'page_anchor_menu_height',
'type' => 'text',
'default' => '70',
'title' => __( 'Anchor Menu Height', 'osmosis' ),
'subtitle' => __( 'Enter Anchor Menu height in px (Default is 70).', 'osmosis' ),
'validate' => 'numeric',
),
array(
'id' => 'page_anchor_menu_highlight_current',
'type' => 'checkbox',
'title' => __( 'Highlight current anchor menu', 'osmosis' ),
'subtitle'=> __( 'Select if you want to highlight current anchor menu.', 'osmosis' ),
'default' => 0,
),
array(
'id' => 'page_anchor_menu_incontainer',
'type' => 'checkbox',
'title' => __( 'In Container', 'osmosis' ),
'subtitle'=> __( 'Select if you want to show your anchor menu inside the container instead of full width.', 'osmosis' ),
'default' => 0,
),
array(
'id' => 'page_anchor_menu_center',
'type' => 'checkbox',
'title' => __( 'Center', 'osmosis' ),
'subtitle'=> __( 'Select if you want to show your anchor menu centered.', 'osmosis' ),
'default' => 0,
),
array(
'id' => 'info_style_page_breadcrumbs',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => esc_html__( 'Breadcrumbs Bar Settings', 'osmosis' ),
'subtitle'=> esc_html__( 'Define your preferences for the Breadcrumbs Bar.', 'osmosis' ),
),
array(
'id'=>'page_breadcrumbs_enabled',
'type' => 'switch',
'title' => esc_html__( 'Breadcrumbs', 'osmosis' ),
'subtitle'=> esc_html__( 'Enable or Disable the Breadcrumbs for Single Page.', 'osmosis' ),
"default" => '0',
'on' => esc_html__( 'On', 'osmosis' ),
'off' => esc_html__( 'Off', 'osmosis' ),
),
array(
'id' => 'page_breadcrumbs_height',
'type' => 'text',
'default' => '60',
'title' => esc_html__( 'Breadcrumbs Height', 'osmosis' ),
'subtitle' => esc_html__( 'Enter Breadcrumbs height in px (Default is 60).', 'osmosis' ),
'validate' => 'numeric',
'required' => array( 'page_breadcrumbs_enabled', 'equals', '1' ),
),
array(
'id' => 'page_breadcrumbs_alignment',
'type' => 'select',
'compiler' => true,
'title' => esc_html__( 'Breadcrumbs Alignment', 'osmosis' ),
'subtitle' => esc_html__( 'Select the alignment of your breadcrumbs.', 'osmosis' ),
'options' => $grve_align_selection_extra,
'default' => 'left',
'validate' => 'not_empty',
'required' => array( 'page_breadcrumbs_enabled', 'equals', '1' ),
),
array(
'id' => 'page_breadcrumbs_fullwidth',
'type' => 'checkbox',
'title' => esc_html__( 'Fullwidth', 'osmosis' ),
'subtitle'=> esc_html__( 'Select if you want to show your breadcrumbs full width.', 'osmosis' ),
'default' => 0,
'required' => array( 'page_breadcrumbs_enabled', 'equals', '1' ),
),
)
);
$this->sections[] = array(
'icon' => 'el-icon-search',
'icon_class' => '',
'title' => esc_html__( 'Search Options', 'osmosis'),
'id' => 'grve_redux_section_search_page_options',
'subtitle' => esc_html__( 'You can find the basic settings for the search page here.', 'osmosis' ),
'desc' => esc_html__( 'You can find the basic settings for the search page here.', 'osmosis' ),
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id' => 'search_not_found_mode',
'type' => 'select',
'title' => esc_html__( 'Search Not Found Mode', 'osmosis' ),
'subtitle' => esc_html__( 'Select the search modal mode', 'osmosis' ),
'options' => array(
'default' => esc_html__( 'Default' , 'osmosis' ),
'user_defined' => esc_html__( 'User Defined' , 'osmosis' ),
),
'default' => 'default',
),
array(
'id' => 'search_page_not_found_text',
'type' => 'editor',
'args' => $editor_args,
'title' => esc_html__( 'Search Page Not Found Content', 'osmosis' ),
'subtitle' => esc_html__( 'Type the content of your search page when no results are found.', 'osmosis' ),
'default' => '<p class="grve-align-center grve-leader-text">Hey there mate!<br />Your lost treasure is not found here...</p><p class="grve-align-center">Check again your spelling and rewrite the content you are seeking for in the search field.</p>',
'required' => array( 'search_not_found_mode', 'equals', 'user_defined' ),
),
)
);
$this->sections[] = array(
'icon' => 'el-icon-briefcase',
'icon_class' => '',
'title' => __( 'Portfolio Options', 'osmosis' ),
'id' => 'grve_redux_section_portfolio_options',
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id'=>'portfolio_slug',
'type' => 'text',
'default' => 'portfolio',
'title' => __( 'Slug', 'osmosis' ),
'subtitle' => __( "Enter Portfolio Slug (Default is 'portfolio'). If you change it, go to Settings - Permalinks and click on Save Changes.", 'osmosis' ),
'desc' => __( "Slug must not be used anywhere else (e.g: category, page, post).", 'osmosis' ),
'validate' => 'not_empty',
),
array(
'id' => 'portfolio_layout',
'type' => 'image_select',
'compiler' => true,
'title' => __( 'Portfolio Layout', 'osmosis' ),
'subtitle' => __( 'Select the default layout for the Portfolio (single portfolio items). Choose among Full Width, Left Sidebar or Right Sidebar.', 'osmosis' ),
'options' => $grve_layout_selection,
'default' => 'none',
),
array(
'id' => 'portfolio_sidebar',
'type' => 'select',
'title' => __( 'Portfolio Sidebar', 'osmosis' ),
'subtitle' => __( 'Select the default sidebar for the single portfolio items.', 'osmosis' ),
'data' => 'sidebar',
'default' => 'grve-default-sidebar',
'validate' => 'not_empty',
),
array(
'id' => 'portfolio_style',
'type' => 'select',
'compiler' => true,
'title' => __( 'Portfolio Style', 'osmosis' ),
'subtitle' => __( 'Select the style for the single portfolio.', 'osmosis' ),
'options' => array(
'default' => __( 'Osmosis', 'osmosis' ),
'simple' => __( 'Simple', 'osmosis' ),
),
'default' => 'default',
),
array(
'id' => 'portfolio_backlink',
'type' => 'select',
'title' => __( 'Portfolio Backlink', 'osmosis' ),
'subtitle' => __( 'Select the overview page for your portfolio backlink.', 'osmosis' ),
'data' => 'page',
'default' => '',
),
array(
'id' => 'portfolio_nav_same_term',
'type' => 'checkbox',
'title' => __( 'Portfolio Navigation Same Term', 'osmosis' ),
'subtitle'=> __( 'If selected, only navigation items from the current taxonomy term will be displayed.', 'osmosis' ),
'default' => 0,
),
array(
'id' => 'portfolio_nav_invert',
'type' => 'select',
'title' => __( 'Portfolio Invert Navigation', 'osmosis' ),
'subtitle' => __( 'Select if you want to invert your portfolio navigation.', 'osmosis' ),
'options' => $grve_enable_selection,
'default' => 'no',
),
array(
'id' => 'portfolio_social',
'type' => 'checkbox',
'title' => __( 'Social Share', 'osmosis' ),
'subtitle' => __( 'Enable / Disable the social shares you like in the single portfolio items.', 'osmosis' ),
'options' => $grve_portfolio_social_options,
'default' => 0,
),
array(
'id' => 'portfolio_details_text',
'type' => 'text',
'title' => __( 'Portfolio Details Text', 'osmosis' ),
'subtitle' => __( 'Type text for the Portfolio Details title.', 'osmosis' ),
"default" => 'Project Details',
),
array(
'id'=>'portfolio_recents_visibility',
'type' => 'switch',
'title' => __( 'Recent Items Visibility', 'osmosis' ),
'subtitle'=> __( 'Easily disable the recent items carousel.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id'=>'portfolio_comments_visibility',
'type' => 'switch',
'title' => __( 'Comments Visibility', 'osmosis' ),
'subtitle'=> __( 'Easily disable the comments of your portfolio.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id' => 'info_style_portfolio_title',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Portfolio Title Settings', 'osmosis' ),
'subtitle'=> __( 'Set the style for the single default portfolio title.', 'osmosis' ),
),
array(
'id' => 'portfolio_title_height',
'type' => 'text',
'default' => '350',
'title' => __( 'Portfolio Title Height', 'osmosis' ),
'subtitle' => __( 'Enter Portfolio title height in px (Default is 350).', 'osmosis' ),
'validate' => 'numeric',
),
array(
'id' => 'portfolio_title_alignment',
'type' => 'select',
'title' => __( 'Portfolio Title Alignment', 'osmosis' ),
'subtitle'=> __( 'Select the alignment for the title.', 'osmosis' ),
'options' => array(
'left' => __( 'Left', 'osmosis' ),
'right' => __( 'Right', 'osmosis' ),
'center' => __( 'Center', 'osmosis' ),
),
'default' => 'center',
'validate' => 'not_empty',
),
array(
'id' => 'portfolio_title_background',
'type' => 'background',
'title' => __( 'Portfolio Title Background Image', 'osmosis' ),
'subtitle' => __( 'Select a background image for the portfolio title.', 'osmosis' ),
'background-color' => false,
'background-repeat' => false,
'background-attachment' => false,
'background-clip' => false,
'background-size' => false,
'default' => array(
'background-position' => 'center center',
),
),
array(
'id' => 'info_style_portfolio_breadcrumbs',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => esc_html__( 'Breadcrumbs Bar Settings', 'osmosis' ),
'subtitle'=> esc_html__( 'Define your preferences for the Breadcrumbs Bar.', 'osmosis' ),
),
array(
'id'=>'portfolio_breadcrumbs_enabled',
'type' => 'switch',
'title' => esc_html__( 'Breadcrumbs', 'osmosis' ),
'subtitle'=> esc_html__( 'Enable or Disable the Breadcrumbs for Single Portfolio.', 'osmosis' ),
"default" => '0',
'on' => esc_html__( 'On', 'osmosis' ),
'off' => esc_html__( 'Off', 'osmosis' ),
),
array(
'id' => 'portfolio_breadcrumbs_height',
'type' => 'text',
'default' => '60',
'title' => esc_html__( 'Breadcrumbs Height', 'osmosis' ),
'subtitle' => esc_html__( 'Enter Breadcrumbs height in px (Default is 60).', 'osmosis' ),
'validate' => 'numeric',
'required' => array( 'portfolio_breadcrumbs_enabled', 'equals', '1' ),
),
array(
'id' => 'portfolio_breadcrumbs_alignment',
'type' => 'select',
'compiler' => true,
'title' => esc_html__( 'Breadcrumbs Alignment', 'osmosis' ),
'subtitle' => esc_html__( 'Select the alignment of your breadcrumbs.', 'osmosis' ),
'options' => $grve_align_selection_extra,
'default' => 'left',
'validate' => 'not_empty',
'required' => array( 'portfolio_breadcrumbs_enabled', 'equals', '1' ),
),
array(
'id' => 'portfolio_breadcrumbs_fullwidth',
'type' => 'checkbox',
'title' => esc_html__( 'Fullwidth', 'osmosis' ),
'subtitle'=> esc_html__( 'Select if you want to show your breadcrumbs full width.', 'osmosis' ),
'default' => 0,
'required' => array( 'portfolio_breadcrumbs_enabled', 'equals', '1' ),
),
)
);
$this->sections[] = array(
'icon' => 'el-icon-shopping-cart',
'icon_class' => '',
'title' => __( 'WooCommerce Options', 'osmosis'),
'subtitle' => __( 'You can find the Theme settings for the WooCommerce here.', 'osmosis' ),
'id' => 'grve_redux_section_woocommerce_options',
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id' => 'info_style_product_tax_title',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Product Taxonomy Title Settings', 'osmosis' ),
'subtitle'=> __( 'Set the style for the product taxonomy title.', 'osmosis' ),
),
array(
'id'=>'product_tax_title_visibility',
'type' => 'switch',
'title' => __( 'Taxonomy Title Visibility', 'osmosis' ),
'subtitle'=> __( 'Easily disable the title of your product taxonomy.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id' => 'product_tax_title_height',
'type' => 'text',
'default' => '350',
'title' => __( 'Product Taxonomy Title Height', 'osmosis' ),
'subtitle' => __( 'Enter product taxonomy title height in px (Default is 350).', 'osmosis' ),
'validate' => 'numeric',
'required' => array( 'product_tax_title_visibility', 'equals', '1' ),
),
array(
'id' => 'product_tax_title_alignment',
'type' => 'select',
'title' => __( 'Product Taxonomy Title Alignment', 'osmosis' ),
'subtitle'=> __( 'Select your alignment for the default product taxonomy title.', 'osmosis' ),
'options' => array(
'left' => __( 'Left', 'osmosis' ),
'right' => __( 'Right', 'osmosis' ),
'center' => __( 'Center', 'osmosis' ),
),
'default' => 'center',
'validate' => 'not_empty',
'required' => array( 'product_tax_title_visibility', 'equals', '1' ),
),
array(
'id' => 'product_tax_title_background',
'type' => 'background',
'title' => __( 'Product Taxonomy Title Background Image', 'osmosis' ),
'subtitle' => __( 'Select a background image for the product taxonomy title.', 'osmosis' ),
'background-color' => false,
'background-repeat' => false,
'background-attachment' => false,
'background-clip' => false,
'background-size' => false,
'default' => array(
'background-position' => 'center center',
),
'required' => array( 'product_tax_title_visibility', 'equals', '1' ),
),
array(
'id' => 'info_style_product_layout',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Product Layout Settings', 'osmosis' ),
'subtitle'=> __( 'Set the style for the single product.', 'osmosis' ),
),
array(
'id' => 'product_layout',
'type' => 'image_select',
'compiler' => true,
'title' => __( 'Product Layout', 'osmosis' ),
'subtitle' => __( 'Select the layout for the single product. Choose among Full Width, Left Sidebar or Right Sidebar.', 'osmosis' ),
'options' => $grve_layout_selection,
'default' => 'right',
),
array(
'id' => 'info_style_product_title',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Product Title Settings', 'osmosis' ),
'subtitle'=> __( 'Set the style for the product title.', 'osmosis' ),
),
array(
'id'=>'product_title_visibility',
'type' => 'switch',
'title' => __( 'Product Title Visibility', 'osmosis' ),
'subtitle'=> __( 'Easily disable the top title of your product.', 'osmosis' ),
"default" => '0',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
),
array(
'id' => 'product_title_height',
'type' => 'text',
'default' => '350',
'title' => __( 'Product Title Height', 'osmosis' ),
'subtitle' => __( 'Enter product title height in px (Default is 350).', 'osmosis' ),
'validate' => 'numeric',
'required' => array( 'product_title_visibility', 'equals', '1' ),
),
array(
'id' => 'product_title_alignment',
'type' => 'select',
'title' => __( 'Product Title Alignment', 'osmosis' ),
'subtitle'=> __( 'Select your alignment for the default product title.', 'osmosis' ),
'options' => array(
'left' => __( 'Left', 'osmosis' ),
'right' => __( 'Right', 'osmosis' ),
'center' => __( 'Center', 'osmosis' ),
),
'default' => 'center',
'validate' => 'not_empty',
'required' => array( 'product_title_visibility', 'equals', '1' ),
),
array(
'id' => 'product_title_background',
'type' => 'background',
'title' => __( 'Product Title Background Image', 'osmosis' ),
'subtitle' => __( 'Select a background image for the product title.', 'osmosis' ),
'background-color' => false,
'background-repeat' => false,
'background-attachment' => false,
'background-clip' => false,
'background-size' => false,
'default' => array(
'background-position' => 'center center',
),
'required' => array( 'product_title_visibility', 'equals', '1' ),
),
array(
'id' => 'info_style_product_breadcrumbs',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => esc_html__( 'Breadcrumbs Bar Settings', 'osmosis' ),
'subtitle'=> esc_html__( 'Define your preferences for the Breadcrumbs Bar.', 'osmosis' ),
),
array(
'id'=>'product_breadcrumbs_enabled',
'type' => 'switch',
'title' => esc_html__( 'Breadcrumbs', 'osmosis' ),
'subtitle'=> esc_html__( 'Enable or Disable the Breadcrumbs for Single Product / Product Categories / Product Tags.', 'osmosis' ),
"default" => '0',
'on' => esc_html__( 'On', 'osmosis' ),
'off' => esc_html__( 'Off', 'osmosis' ),
),
array(
'id' => 'product_breadcrumbs_height',
'type' => 'text',
'default' => '60',
'title' => esc_html__( 'Breadcrumbs Height', 'osmosis' ),
'subtitle' => esc_html__( 'Enter Breadcrumbs height in px (Default is 60).', 'osmosis' ),
'validate' => 'numeric',
'required' => array( 'product_breadcrumbs_enabled', 'equals', '1' ),
),
array(
'id' => 'product_breadcrumbs_alignment',
'type' => 'select',
'compiler' => true,
'title' => esc_html__( 'Breadcrumbs Alignment', 'osmosis' ),
'subtitle' => esc_html__( 'Select the alignment of your breadcrumbs.', 'osmosis' ),
'options' => $grve_align_selection_extra,
'default' => 'left',
'validate' => 'not_empty',
'required' => array( 'product_breadcrumbs_enabled', 'equals', '1' ),
),
array(
'id' => 'product_breadcrumbs_fullwidth',
'type' => 'checkbox',
'title' => esc_html__( 'Fullwidth', 'osmosis' ),
'subtitle'=> esc_html__( 'Select if you want to show your breadcrumbs full width.', 'osmosis' ),
'default' => 0,
'required' => array( 'product_breadcrumbs_enabled', 'equals', '1' ),
),
array(
'id' => 'info_style_product_image',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => esc_html__( 'Single Product Image Settings', 'osmosis' ),
'subtitle'=> esc_html__( 'Set the style for the single product image.', 'osmosis' ),
),
array(
'id' => 'product_gallery_mode',
'type' => 'select',
'title' => esc_html__( 'Product Gallery Mode', 'osmosis' ),
'subtitle'=> esc_html__( 'Select the mode for the single product gallery', 'osmosis' ),
'options' => array(
'popup' => esc_html__( 'Magnific Popup', 'osmosis' ),
'woo' => esc_html__( 'WooCommerce Product Gallery', 'osmosis' ),
),
'default' => 'popup',
),
array(
'id'=>'product_gallery_woo_zoom',
'type' => 'switch',
'title' => __( 'Zoom Effect', 'osmosis' ),
'subtitle'=> __( 'Enable or Disable image zoom effect.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
'required' => array( 'product_gallery_mode', 'equals', 'woo' ),
),
array(
'id'=>'product_gallery_woo_lightbox',
'type' => 'switch',
'title' => __( 'Gallery Lightbox', 'osmosis' ),
'subtitle'=> __( 'Enable or Disable gallery lightbox.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
'required' => array( 'product_gallery_mode', 'equals', 'woo' ),
),
array(
'id'=>'product_gallery_woo_slider',
'type' => 'switch',
'title' => __( 'Gallery Slider', 'osmosis' ),
'subtitle'=> __( 'Enable or Disable gallery slider.', 'osmosis' ),
"default" => '1',
'on' => __( 'On', 'osmosis' ),
'off' => __( 'Off', 'osmosis' ),
'required' => array( 'product_gallery_mode', 'equals', 'woo' ),
),
)
);
$this->sections[] = array(
'icon' => 'el-icon-calendar',
'icon_class' => '',
'title' => __( 'Event Calendar Options', 'osmosis'),
'subtitle' => __( 'You can find the Theme settings for the Event Calendar here.', 'osmosis' ),
'id' => 'grve_redux_section_event_calendar_options',
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id' => 'event_tax_layout',
'type' => 'image_select',
'compiler' => true,
'title' => __( 'Event Taxonomy Layout', 'osmosis' ),
'subtitle' => __( 'Select the layout for the event taxonomies. Choose among Full Width, Left Sidebar or Right Sidebar.', 'osmosis' ),
'options' => $grve_layout_selection,
'default' => 'none',
),
array(
'id' => 'event_tax_sidebar',
'type' => 'select',
'title' => __( 'Event Taxonomy Sidebar', 'osmosis' ),
'subtitle' => __( 'Select the sidebar for the event taxonomies.', 'osmosis' ),
'data' => 'sidebar',
'default' => 'grve-default-sidebar',
'validate' => 'not_empty',
),
array(
'id' => 'event_tax_title_height',
'type' => 'text',
'default' => '350',
'title' => __( 'Event Taxonomy Title Height', 'osmosis' ),
'subtitle' => __( 'Enter event taxonomy title height in px (Default is 350).', 'osmosis' ),
'validate' => 'numeric',
),
array(
'id' => 'event_tax_title_alignment',
'type' => 'select',
'title' => __( 'Event Taxonomy Title Alignment', 'osmosis' ),
'subtitle'=> __( 'Select your alignment for the default event taxonomy title.', 'osmosis' ),
'options' => array(
'left' => __( 'Left', 'osmosis' ),
'right' => __( 'Right', 'osmosis' ),
'center' => __( 'Center', 'osmosis' ),
),
'default' => 'center',
'validate' => 'not_empty',
),
array(
'id' => 'event_tax_title_background',
'type' => 'background',
'title' => __( 'Event Taxonomy Title Background Image', 'osmosis' ),
'subtitle' => __( 'Select a background image for the event taxonomy title.', 'osmosis' ),
'background-color' => false,
'background-repeat' => false,
'background-attachment' => false,
'background-clip' => false,
'background-size' => false,
'default' => array(
'background-position' => 'center center',
),
),
array(
'id' => 'info_style_event_title',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Single Event', 'osmosis' ),
'subtitle'=> __( 'Define your preference for the single event.', 'osmosis' ),
),
array(
'id' => 'event_layout',
'type' => 'image_select',
'compiler' => true,
'title' => __( 'Event Layout', 'osmosis' ),
'subtitle' => __( 'Select the layout for the single event. Choose among Full Width, Left Sidebar or Right Sidebar.', 'osmosis' ),
'options' => $grve_layout_selection,
'default' => 'none',
),
array(
'id' => 'event_sidebar',
'type' => 'select',
'title' => __( 'Event Sidebar', 'osmosis' ),
'subtitle' => __( 'Select the sidebar for the single event.', 'osmosis' ),
'data' => 'sidebar',
'default' => 'grve-default-sidebar',
'validate' => 'not_empty',
),
array(
'id' => 'event_style',
'type' => 'select',
'compiler' => true,
'title' => __( 'Event Style', 'osmosis' ),
'subtitle' => __( 'Select the style for the single event.', 'osmosis' ),
'options' => array(
'default' => __( 'Osmosis', 'osmosis' ),
'simple' => __( 'Simple', 'osmosis' ),
),
'default' => 'default',
),
array(
'id' => 'event_title_height',
'type' => 'text',
'default' => '350',
'title' => __( 'Event Title Height', 'osmosis' ),
'subtitle' => __( 'Enter event title height in px (Default is 350).', 'osmosis' ),
'validate' => 'numeric',
),
array(
'id' => 'event_title_alignment',
'type' => 'select',
'title' => __( 'Event Title Alignment', 'osmosis' ),
'subtitle'=> __( 'Select your alignment for the default event title.', 'osmosis' ),
'options' => array(
'left' => __( 'Left', 'osmosis' ),
'right' => __( 'Right', 'osmosis' ),
'center' => __( 'Center', 'osmosis' ),
),
'default' => 'center',
'validate' => 'not_empty',
),
array(
'id' => 'event_title_background',
'type' => 'background',
'title' => __( 'Event Title Background Image', 'osmosis' ),
'subtitle' => __( 'Select a background image for the event title.', 'osmosis' ),
'background-color' => false,
'background-repeat' => false,
'background-attachment' => false,
'background-clip' => false,
'background-size' => false,
'default' => array(
'background-position' => 'center center',
),
),
array(
'id' => 'info_style_event_breadcrumbs',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => esc_html__( 'Breadcrumbs Bar Settings', 'osmosis' ),
'subtitle'=> esc_html__( 'Define your preferences for the Breadcrumbs Bar.', 'osmosis' ),
),
array(
'id'=>'event_breadcrumbs_enabled',
'type' => 'switch',
'title' => esc_html__( 'Breadcrumbs', 'osmosis' ),
'subtitle'=> esc_html__( 'Enable or Disable the Breadcrumbs for Single Event / Event Taxonomies', 'osmosis' ),
"default" => '0',
'on' => esc_html__( 'On', 'osmosis' ),
'off' => esc_html__( 'Off', 'osmosis' ),
),
array(
'id' => 'event_breadcrumbs_height',
'type' => 'text',
'default' => '60',
'title' => esc_html__( 'Breadcrumbs Height', 'osmosis' ),
'subtitle' => esc_html__( 'Enter Breadcrumbs height in px (Default is 60).', 'osmosis' ),
'validate' => 'numeric',
'required' => array( 'event_breadcrumbs_enabled', 'equals', '1' ),
),
array(
'id' => 'event_breadcrumbs_alignment',
'type' => 'select',
'compiler' => true,
'title' => esc_html__( 'Breadcrumbs Alignment', 'osmosis' ),
'subtitle' => esc_html__( 'Select the alignment of your breadcrumbs.', 'osmosis' ),
'options' => $grve_align_selection_extra,
'default' => 'left',
'validate' => 'not_empty',
'required' => array( 'event_breadcrumbs_enabled', 'equals', '1' ),
),
array(
'id' => 'event_breadcrumbs_fullwidth',
'type' => 'checkbox',
'title' => esc_html__( 'Fullwidth', 'osmosis' ),
'subtitle'=> esc_html__( 'Select if you want to show your breadcrumbs full width.', 'osmosis' ),
'default' => 0,
'required' => array( 'event_breadcrumbs_enabled', 'equals', '1' ),
),
)
);
$this->sections[] = array(
'icon' => 'el-icon-comment-alt',
'icon_class' => '',
'title' => __( 'bbPress Forum Options', 'osmosis'),
'subtitle' => __( 'You can find the Theme settings for the bbPress forum here.', 'osmosis' ),
'id' => 'grve_redux_section_forum_options',
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id' => 'forum_layout',
'type' => 'image_select',
'compiler' => true,
'title' => __( 'Forum Layout', 'osmosis' ),
'subtitle' => __( 'Select the layout for the forum. Choose among Full Width, Left Sidebar or Right Sidebar.', 'osmosis' ),
'options' => $grve_layout_selection,
'default' => 'none',
),
array(
'id' => 'forum_sidebar',
'type' => 'select',
'title' => __( 'Forum Sidebar', 'osmosis' ),
'subtitle' => __( 'Select the sidebar for the forum.', 'osmosis' ),
'data' => 'sidebar',
'default' => 'grve-default-sidebar',
'validate' => 'not_empty',
),
array(
'id' => 'forum_title_height',
'type' => 'text',
'default' => '350',
'title' => __( 'Forum Title Height', 'osmosis' ),
'subtitle' => __( 'Enter forum title height in px (Default is 350).', 'osmosis' ),
'validate' => 'numeric',
),
array(
'id' => 'forum_title_alignment',
'type' => 'select',
'title' => __( 'Forum Title Alignment', 'osmosis' ),
'subtitle'=> __( 'Select your alignment for the default forum title.', 'osmosis' ),
'options' => array(
'left' => __( 'Left', 'osmosis' ),
'right' => __( 'Right', 'osmosis' ),
'center' => __( 'Center', 'osmosis' ),
),
'default' => 'center',
'validate' => 'not_empty',
),
array(
'id' => 'forum_title_background',
'type' => 'background',
'title' => __( 'Forum Title Background Image', 'osmosis' ),
'subtitle' => __( 'Select a background image for the forum title.', 'osmosis' ),
'background-color' => false,
'background-repeat' => false,
'background-attachment' => false,
'background-clip' => false,
'background-size' => false,
'default' => array(
'background-position' => 'center center',
),
),
)
);
$this->sections[] = array(
'title' => __( 'Typography Options', 'osmosis' ),
'id' => 'grve_redux_section_typography_options',
'header' => '',
'desc' => '',
'icon_class' => '',
'icon' => 'el-icon-font',
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id' => 'info_body_typography',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Main Body Fonts', 'osmosis' ),
),
array(
'id' => 'body_font',
'type' => 'typography',
'title' => __( 'Body Font', 'osmosis' ),
'subtitle' => __( 'Specify the body font properties.', 'osmosis' ),
'google' => $grve_is_google,
'line-height'=> false,
'text-align'=> false,
'letter-spacing' => true,
'color'=> false,
'default' => array(
'font-size' => '14px',
'font-family' => 'Open Sans',
'font-weight' => '400',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'info_logo_typography',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Logo as text Fonts', 'osmosis' ),
),
array(
'id' => 'logo_font',
'type' => 'typography',
'title' => __( 'Logo Font', 'osmosis' ),
'subtitle' => __( 'Specify the logo font properties.', 'osmosis' ),
'google' => $grve_is_google,
'line-height'=> false,
'text-align'=> false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-size' => '18px',
'font-family' => 'Open Sans',
'font-weight' => '400',
'text-transform' => 'uppercase',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'info_menu_typography',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Main Menu Fonts', 'osmosis' ),
),
array(
'id' => 'main_menu_font',
'type' => 'typography',
'title' => __( 'Menu Font', 'osmosis' ),
'subtitle' => __( 'Specify the menu font properties.', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '12px',
'font-weight' => '800',
'text-transform' => 'uppercase',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'sub_menu_font',
'type' => 'typography',
'title' => __( 'Submenu Font', 'osmosis' ),
'subtitle' => __( 'Specify the submenu font properties.', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '11px',
'font-weight' => '600',
'text-transform' => 'uppercase',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'info_headers_typography',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Headers Fonts', 'osmosis' ),
),
array(
'id' => 'h1_font',
'type' => 'typography',
'title' => __( 'H1 Font', 'osmosis' ),
'subtitle' => __( 'Specify the H1 font.', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '48px',
'font-weight' => '600',
'text-transform' => 'none',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'h2_font',
'type' => 'typography',
'title' => __( 'H2 Font', 'osmosis' ),
'subtitle' => __( 'Specify the H2 font.', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '36px',
'font-weight' => '600',
'text-transform' => 'none',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'h3_font',
'type' => 'typography',
'title' => __( 'H3 Font', 'osmosis' ),
'subtitle' => __( 'Specify the H3 font.', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '30px',
'font-weight' => '600',
'text-transform' => 'none',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'h4_font',
'type' => 'typography',
'title' => __( 'H4 Font', 'osmosis' ),
'subtitle' => __( 'Specify the H4 font.', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '24px',
'font-weight' => '600',
'text-transform' => 'none',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'h5_font',
'type' => 'typography',
'title' => __( 'H5 Font', 'osmosis' ),
'subtitle' => __( 'Specify the H5 font.', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '20px',
'font-weight' => '600',
'text-transform' => 'none',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'h6_font',
'type' => 'typography',
'title' => __( 'H6 Font', 'osmosis' ),
'subtitle' => __( 'Specify the H6 font.', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '14px',
'font-weight' => '600',
'text-transform' => 'none',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'info_page_typography',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Page/Blog Typography', 'osmosis' ),
),
array(
'id' => 'page_title',
'type' => 'typography',
'title' => __( 'Page Title', 'osmosis' ),
'subtitle' => __( 'Specify the font for the default page titles.', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '60px',
'font-weight' => '700',
'text-transform' => 'uppercase',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'page_description',
'type' => 'typography',
'title' => __( 'Page Description', 'osmosis' ),
'subtitle' => __( 'Specify font for the page description.', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '24px',
'font-weight' => '600',
'text-transform' => '',
'font-style' => 'italic',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'info_post_typography',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Single Post Typography', 'osmosis' ),
),
array(
'id' => 'post_title',
'type' => 'typography',
'title' => __( 'Single Post Title', 'osmosis' ),
'subtitle' => __( 'Specify the font for the single post titles.', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '60px',
'font-weight' => '700',
'text-transform' => 'uppercase',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'info_portfolio_typography',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Portfolio Typography', 'osmosis' ),
),
array(
'id' => 'portfolio_title',
'type' => 'typography',
'title' => __( 'Portfolio Title', 'osmosis' ),
'subtitle' => __( 'Specify the font for the default single portfolio titles.', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '60px',
'font-weight' => '700',
'text-transform' => 'uppercase',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'portfolio_description',
'type' => 'typography',
'title' => __( 'Portfolio Description', 'osmosis' ),
'subtitle' => __( 'Specify the font for the default single portfolio description.', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '24px',
'font-weight' => '600',
'text-transform' => '',
'font-style' => 'italic',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'info_product_typography',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Product/Product Taxonomy Typography', 'osmosis' ),
),
array(
'id' => 'product_title',
'type' => 'typography',
'title' => __( 'Product Title', 'osmosis' ),
'subtitle' => __( 'Specify the font for the default single product titles and product taxonomies.', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '60px',
'font-weight' => '700',
'text-transform' => 'uppercase',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'info_feature_typography',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Feature Section Typography', 'osmosis' ),
),
array(
'id' => 'custom_title',
'type' => 'typography',
'title' => __( 'Custom Title', 'osmosis' ),
'subtitle' => __( 'Specify the font for the custom title in the feature section.<br>(Custom Title, Custom Size Slider Title)', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '60px',
'font-weight' => '700',
'text-transform' => 'uppercase',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'custom_description',
'type' => 'typography',
'title' => __( 'Custom Description', 'osmosis' ),
'subtitle' => __( 'Specify the font for the custom description in the feature section.<br>(Custom Description, Custom Size Slider Description)', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '24px',
'font-weight' => '600',
'text-transform' => '',
'font-style' => 'italic',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'fullscreen_custom_title',
'type' => 'typography',
'title' => __( 'Custom Title for Fullscreen Section', 'osmosis' ),
'subtitle' => __( 'Specify the font for the custom title in the feature section in case you use full screen mode.<br>(Custom Title, Custom Size Slider Title)', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '70px',
'font-weight' => '800',
'text-transform' => 'uppercase',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'fullscreen_custom_description',
'type' => 'typography',
'title' => __( 'Custom Description for Fullscreen Section', 'osmosis' ),
'subtitle' => __( 'Specify the font for the custom description in the feature section in case you use full screen mode.<br>(Custom Description, Custom Size Slider Description)', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '28px',
'font-weight' => '600',
'text-transform' => '',
'font-style' => 'italic',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'info_special_typography',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Special Text Typography', 'osmosis' ),
),
array(
'id' => 'leader_text',
'type' => 'typography',
'title' => __( 'Leader Text', 'osmosis' ),
'subtitle' => __( 'Specify the style for the leader text.<br> This is used in various elements (Text block, Testimonial...)', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '28px',
'font-weight' => '300',
'text-transform' => '',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'subtitle_text',
'type' => 'typography',
'title' => __( 'Subtitle Text', 'osmosis' ),
'subtitle' => __( 'Specify the style for the subtitle text.<br> This is used in various elements (Slogan Subtitle...)', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '18px',
'font-weight' => '400',
'text-transform' => '',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'small_text',
'type' => 'typography',
'title' => __( 'Small Text', 'osmosis' ),
'subtitle' => __( 'Specify the style for the small text.<br>This is used in various elements (Tags, Post Meta...)', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '10px',
'font-weight' => '700',
'text-transform' => 'uppercase',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
array(
'id' => 'link_text',
'type' => 'typography',
'title' => __( 'Link Text', 'osmosis' ),
'subtitle' => __( 'Specify the style for the link text.<br>This is used in various elements (Buttons, Read More...)', 'osmosis' ),
'google' => $grve_is_google,
'line-height' => false,
'text-align' => false,
'letter-spacing' => true,
'color'=> false,
'text-transform' => true,
'default' => array(
'font-family' => 'Open Sans',
'font-size' => '11px',
'font-weight' => '700',
'text-transform' => 'uppercase',
'letter-spacing' => '',
),
'fonts' => $grve_std_fonts,
),
)
);
$this->sections[] = array(
'icon' => 'el-icon-file-edit',
'icon_class' => '',
'title' => __( 'CSS / JS Options', 'osmosis' ),
'id' => 'grve_redux_section_css_js_options',
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id' => 'info_style_css_code',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'CSS', 'osmosis' ),
),
array(
'id' => 'css_code',
'type' => 'ace_editor',
'title' => __( 'CSS Code', 'osmosis' ),
'subtitle' => __( 'Paste your CSS code here.', 'osmosis' ),
'mode' => 'css',
'theme' => 'monokai',
'desc' => '',
'default' => ''
),
array(
'id' => 'info_style_js_code',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'JS', 'osmosis' ),
),
array(
'id' => 'custom_js',
'type' => 'ace_editor',
'mode' => 'javascript',
'theme' => 'chrome',
'title' => __( 'JS Code', 'osmosis' ),
'subtitle' => __( 'Add your custom JavaScript code here. Please do not include any script tags.', 'osmosis' ),
'desc' => '',
'default' => ''
),
)
);
$this->sections[] = array(
'icon' => 'fa fa-brush',
'icon_class' => '',
'title' => __( 'Style Options', 'osmosis' ),
'desc' => sprintf( __('To customize the color scheme, please use the <a href="%s">Live Color Customizer</a>.', 'osmosis'), admin_url('/customize.php') ),
'id' => 'grve_redux_section_style_options',
'customizer' => false,
'fields' => array(
array(
'id' => 'info_style_color_preset',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Skin Presets', 'osmosis' ),
),
array(
'id' => 'skin_preset',
'type' => 'image_select',
'presets' => true,
'title' => __( 'Select your Skin', 'osmosis' ),
'default' => 0,
'subtitle' => __( 'The presets are created based on the content of the demos. However, you can use them as you wish in order to customize your color scheme.', 'osmosis' ),
'options' => array(
'palette-1' => array('alt' => 'Main Demo', 'title' => __( 'Main Demo', 'osmosis' ), 'img' => get_template_directory_uri() . '/includes/images/skins/palette-1.png', 'presets' => $grve_skin_palette_1 ),
'palette-2' => array('alt' => 'Corporate Demo', 'title' => __( 'Corporate Demo', 'osmosis' ), 'img' => get_template_directory_uri() . '/includes/images/skins/palette-2.png', 'presets' => $grve_skin_palette_2 ),
'palette-3' => array('alt' => 'Blog Demo', 'title' => __( 'Blog Demo', 'osmosis' ), 'img' => get_template_directory_uri() . '/includes/images/skins/palette-3.png', 'presets' => $grve_skin_palette_3 ),
'palette-4' => array('alt' => 'Interior Demo', 'title' => __( 'Interior Demo', 'osmosis' ), 'img' => get_template_directory_uri() . '/includes/images/skins/palette-4.png', 'presets' => $grve_skin_palette_4 ),
'palette-5' => array('alt' => 'Photography Demo', 'title' => __( 'Photography Demo', 'osmosis' ), 'img' => get_template_directory_uri() . '/includes/images/skins/palette-5.png', 'presets' => $grve_skin_palette_5 ),
'palette-6' => array('alt' => 'One Page Demo', 'title' => __( 'One Page Demo', 'osmosis' ), 'img' => get_template_directory_uri() . '/includes/images/skins/palette-6.png', 'presets' => $grve_skin_palette_6 ),
),
),
)
);
$this->sections[] = array(
'icon' => 'fa fa-brush',
'icon_class' => '',
'title' => __( 'Colors - Top Bar', 'osmosis' ),
'desc' => __( 'Set your color preferences for the TopBar (you will see the changes in the live preview only if TopBar is enabled).', 'osmosis' ),
'id' => 'grve_redux_section_colors_top_bar',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
//Top Bar Color Settings
array(
'id' => 'top_bar_bg_color',
'type' => 'color',
'title' => __( 'Top Bar Background Color', 'osmosis' ),
'subtitle' => __( 'Background color for your Top Bar.', 'osmosis' ),
'default' => '#303030',
'transparent' => false,
),
array(
'id' => 'top_bar_font_color',
'type' => 'color',
'title' => __( 'Top Bar Font Color', 'osmosis' ),
'subtitle' => __( 'Font color for your Top Bar.', 'osmosis' ),
'default' => '#c9c9c9',
'transparent' => false,
),
array(
'id' => 'top_bar_link_color',
'type' => 'color',
'title' => __( 'Top Bar Link Color', 'osmosis' ),
'subtitle' => __( 'Link color for your Top Bar.', 'osmosis' ),
'default' => '#c9c9c9',
'transparent' => false,
),
array(
'id' => 'top_bar_hover_color',
'type' => 'color',
'title' => __( 'Top Bar Hover Color', 'osmosis' ),
'subtitle' => __( 'Hover color for your Top Bar.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'top_bar_border_color',
'type' => 'color',
'title' => __( 'Border Color', 'osmosis' ),
'subtitle' => __( 'Border color for your Top Bar.', 'osmosis' ),
'default' => '#4f4f4f',
'transparent' => false,
),
)
);
$this->sections[] = array(
'icon' => 'fa fa-brush',
'icon_class' => '',
'title' => __( 'Logo Background & Menu Type', 'osmosis' ),
'desc' => __( 'Here, you can select, if you like, to use background for your logo and the type of the main menu.', 'osmosis' ),
'id' => 'grve_redux_section_colors_logo',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
array(
'id' => 'logo_background',
'type' => 'select',
'title' => __( 'Logo Background', 'osmosis' ),
'subtitle' => __( 'Select the background type of the logo.', 'osmosis' ),
'options' => $grve_background_type,
'default' => 'transparent',
),
array(
'id' => 'menu_type',
'type' => 'select',
'title' => __( 'Menu Type', 'osmosis' ),
'subtitle'=> __( 'Select the type of the default Menu.', 'osmosis' ),
'options' => array(
'simply' => __( 'Simple', 'osmosis' ),
'button' => __( 'Button', 'osmosis' ),
'box' => __( 'Box', 'osmosis' ),
'hidden' => __( 'Hidden', 'osmosis' ),
),
'default' => 'simply',
),
)
);
$this->sections[] = array(
'icon' => 'fa fa-brush',
'icon_class' => '',
'title' => __( 'Colors - Default Header', 'osmosis' ),
'desc' => __( 'Set your color preferences for the Default Header. Keep in mind that the basic settings for the Default Header are in Theme Options > Header Options.', 'osmosis' ),
'id' => 'grve_redux_section_colors_default_header',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
//Default Header Color Settings
array(
'id' => 'header_background_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the header.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'header_background_color_opacity',
'type' => 'select',
'title' => __('Background Opacity', 'osmosis' ),
'subtitle' => __( 'Select opacity for the background of the header.', 'osmosis' ),
'options' => $grve_opacity_selection,
"default" => '1',
),
//Logo Color Settings
array(
'id' => 'logo_background_color',
'type' => 'color',
'title' => __( 'Logo Background Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the logo.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
//Menu Color Settings
array(
'id' => 'menu_text_color',
'type' => 'color',
'title' => __( 'Menu Text Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the menu text.', 'osmosis' ),
'default' => '#3C3A35',
'transparent' => false,
),
array(
'id' => 'menu_text_hover_color',
'type' => 'color',
'title' => __( 'Menu Text Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the hover menu text.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'menu_active_bg_color',
'type' => 'color',
'title' => __( 'Menu Active Background Color (Button and Box menu types only)', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the active menu.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'menu_active_text_color',
'type' => 'color',
'title' => __( 'Menu Active Text Color (Button and Box menu types only)', 'osmosis' ),
'subtitle' => __( 'Pick a color for the active menu text.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'submenu_text_color',
'type' => 'color',
'title' => __( 'Sub Menu Text Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the sub menu text.', 'osmosis' ),
'default' => '#808080',
'transparent' => false,
),
array(
'id' => 'submenu_text_hover_color',
'type' => 'color',
'title' => __( 'Sub Menu Text Hover/Active Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the hover sub menu text.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'submenu_bg_color',
'type' => 'color',
'title' => __( 'Sub Menu Background Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the sub menu.', 'osmosis' ),
'default' => '#222222',
'transparent' => false,
),
array(
'id' => 'submenu_active_bg_color',
'type' => 'color',
'title' => __( 'Sub Menu Background Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the hover sub menu.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'submenu_border_color',
'type' => 'color',
'title' => __( 'Sub Menu Border Color', 'osmosis' ),
'subtitle' => __( 'Pick a border color for the sub menu.', 'osmosis' ),
'default' => '#4f4f4f',
'transparent' => false,
),
//Safe Button Color Settings
array(
'id' => 'safe_button_icon_color',
'type' => 'color',
'title' => __( 'Safe Button Icon Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the safe button icon.', 'osmosis' ),
'default' => '#3C3A35',
'transparent' => false,
),
array(
'id' => 'safe_button_bg_color',
'type' => 'color',
'title' => __( 'Safe Button Background Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the safe button.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'safe_button_bg_color_opacity',
'type' => 'select',
'title' => __('Safe Button Background Opacity', 'osmosis' ),
'subtitle' => __( 'Select opacity for the safe button background.', 'osmosis' ),
'options' => $grve_opacity_selection,
"default" => '0',
),
array(
'id' => 'safe_button_icon_hover_color',
'type' => 'color',
'title' => __( 'Safe Button Icon Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the hover safe button icon.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'safe_button_bg_hover_color',
'type' => 'color',
'title' => __( 'Safe Button Background Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the hover safe button.', 'osmosis' ),
'default' => '#222222',
'transparent' => false,
),
array(
'id' => 'safe_button_bg_hover_color_opacity',
'type' => 'select',
'title' => __('Safe Button Background Hover Opacity', 'osmosis' ),
'subtitle' => __( 'Select opacity for the hover safe button background.', 'osmosis' ),
'options' => $grve_opacity_selection,
"default" => '0',
),
)
);
$this->sections[] = array(
'icon' => 'fa fa-brush',
'icon_class' => '',
'title' => __( 'Colors - Sticky Header', 'osmosis' ),
'desc' => __( 'Set your color preferences for the Sticky Header. You can enable/disable, select the type and logo for the sticky header in Theme Options > Header Options > Sticky Header Options.', 'osmosis' ),
'id' => 'grve_redux_section_colors_sticky_header',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
//Sticky Header Color Settings
array(
'id' => 'header_sticky_background_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the header.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'header_sticky_background_color_opacity',
'type' => 'select',
'title' => __('Background Opacity', 'osmosis' ),
'subtitle' => __( 'Select opacity for the background of the header.', 'osmosis' ),
'options' => $grve_opacity_selection,
"default" => '1',
),
//Logo Color Settings
array(
'id' => 'logo_sticky_background_color',
'type' => 'color',
'title' => __( 'Logo Background Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the logo.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
//Menu Color Settings
array(
'id' => 'sticky_menu_text_color',
'type' => 'color',
'title' => __( 'Menu Text Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the menu text.', 'osmosis' ),
'default' => '#3C3A35',
'transparent' => false,
),
array(
'id' => 'sticky_menu_text_hover_color',
'type' => 'color',
'title' => __( 'Menu Text Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the hover menu text.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'sticky_menu_active_bg_color',
'type' => 'color',
'title' => __( 'Menu Active Background Color (Button and Box menu types only)', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the active menu.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'sticky_menu_active_text_color',
'type' => 'color',
'title' => __( 'Menu Active Text Color (Button and Box menu types only)', 'osmosis' ),
'subtitle' => __( 'Pick a color for the active menu text.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'sticky_submenu_text_color',
'type' => 'color',
'title' => __( 'Sub Menu Text Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the sub menu text.', 'osmosis' ),
'default' => '#808080',
'transparent' => false,
),
array(
'id' => 'sticky_submenu_text_hover_color',
'type' => 'color',
'title' => __( 'Sub Menu Text Hover/Active Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the hover sub menu text.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'sticky_submenu_bg_color',
'type' => 'color',
'title' => __( 'Sub Menu Background Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the sub menu.', 'osmosis' ),
'default' => '#222222',
'transparent' => false,
),
array(
'id' => 'sticky_submenu_hover_bg_color',
'type' => 'color',
'title' => __( 'Sub Menu Background Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the hover sub menu.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'sticky_submenu_border_color',
'type' => 'color',
'title' => __( 'Sub Menu Border Color', 'osmosis' ),
'subtitle' => __( 'Pick a border color for the sub menu.', 'osmosis' ),
'default' => '#4f4f4f',
'transparent' => false,
),
//Safe Button Color Settings
array(
'id' => 'sticky_safe_button_icon_color',
'type' => 'color',
'title' => __( 'Safe Button Icon Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the safe button icon.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'sticky_safe_button_bg_color',
'type' => 'color',
'title' => __( 'Safe Button Background Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the safe button.', 'osmosis' ),
'default' => '#191918',
'transparent' => false,
),
array(
'id' => 'sticky_safe_button_bg_color_opacity',
'type' => 'select',
'title' => __('Safe Button Background Opacity', 'osmosis' ),
'subtitle' => __( 'Select opacity for the safe button background.', 'osmosis' ),
'options' => $grve_opacity_selection,
"default" => '0',
),
array(
'id' => 'sticky_safe_button_icon_hover_color',
'type' => 'color',
'title' => __( 'Safe Button Icon Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the hover safe button icon.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'sticky_safe_button_bg_hover_color',
'type' => 'color',
'title' => __( 'Safe Button Background Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the hover safe button.', 'osmosis' ),
'default' => '#222222',
'transparent' => false,
),
array(
'id' => 'sticky_safe_button_bg_hover_color_opacity',
'type' => 'select',
'title' => __('Safe Button Background Hover Opacity', 'osmosis' ),
'subtitle' => __( 'Select opacity for the hover safe button background.', 'osmosis' ),
'options' => $grve_opacity_selection,
"default" => '0',
),
)
);
$this->sections[] = array(
'icon' => 'fa fa-brush',
'icon_class' => '',
'title' => __( 'Colors - Light Header', 'osmosis' ),
'desc' => __( 'Notice that, there is no need to style the Light Header if you do not intend to integrate the Feature Section with the Header in pages and single portfolio items (where Osmosis provides the Feature Section). Upload logo for the Light Header in Theme Options > Header Options > Light Header Options.', 'osmosis' ),
'id' => 'grve_redux_section_colors_light_header',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
//Light Header Color Settings
array(
'id' => 'header_light_background_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the header.', 'osmosis' ),
'default' => '#3C3A35',
'transparent' => false,
),
array(
'id' => 'header_light_background_color_opacity',
'type' => 'select',
'title' => __('Background Opacity', 'osmosis' ),
'subtitle' => __( 'Select opacity for the background of the header.', 'osmosis' ),
'options' => $grve_opacity_selection,
"default" => '0',
),
//Logo Color Settings
array(
'id' => 'logo_light_background_color',
'type' => 'color',
'title' => __( 'Logo Background Color', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
//Menu Color Settings
array(
'id' => 'light_menu_text_color',
'type' => 'color',
'title' => __( 'Menu Text Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the menu text.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'light_menu_text_hover_color',
'type' => 'color',
'title' => __( 'Menu Text Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the hover menu text.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'light_menu_active_bg_color',
'type' => 'color',
'title' => __( 'Menu Active Background Color (Button and Box menu types only)', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the active menu.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'light_menu_active_text_color',
'type' => 'color',
'title' => __( 'Menu Active Text Color (Button and Box menu types only)', 'osmosis' ),
'subtitle' => __( 'Pick a color for the active menu text.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'light_submenu_text_color',
'type' => 'color',
'title' => __( 'Sub Menu Text Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the sub menu text.', 'osmosis' ),
'default' => '#808080',
'transparent' => false,
),
array(
'id' => 'light_submenu_text_hover_color',
'type' => 'color',
'title' => __( 'Sub Menu Text Hover/Active Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the hover sub menu text.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'light_submenu_bg_color',
'type' => 'color',
'title' => __( 'Sub Menu Background Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the sub menu.', 'osmosis' ),
'default' => '#222222',
'transparent' => false,
),
array(
'id' => 'light_submenu_active_bg_color',
'type' => 'color',
'title' => __( 'Sub Menu Background Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the hover sub menu.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'light_submenu_border_color',
'type' => 'color',
'title' => __( 'Sub Menu Border Color', 'osmosis' ),
'subtitle' => __( 'Pick a border color for the sub menu.', 'osmosis' ),
'default' => '#4f4f4f',
'transparent' => false,
),
//Safe Button Color Settings
array(
'id' => 'light_safe_button_icon_color',
'type' => 'color',
'title' => __( 'Safe Button Icon Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the safe button icon.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'light_safe_button_bg_color',
'type' => 'color',
'title' => __( 'Safe Button Background Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the safe button.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'light_safe_button_bg_color_opacity',
'type' => 'select',
'title' => __('Safe Button Background Opacity', 'osmosis' ),
'subtitle' => __( 'Select opacity for the safe button background.', 'osmosis' ),
'options' => $grve_opacity_selection,
"default" => '0',
),
array(
'id' => 'light_safe_button_icon_hover_color',
'type' => 'color',
'title' => __( 'Safe Button Icon Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the hover safe button icon.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'light_safe_button_bg_hover_color',
'type' => 'color',
'title' => __( 'Safe Button Background Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the hover safe button.', 'osmosis' ),
'default' => '#222222',
'transparent' => false,
),
array(
'id' => 'light_safe_button_bg_hover_color_opacity',
'type' => 'select',
'title' => __('Safe Button Background Hover Opacity', 'osmosis' ),
'subtitle' => __( 'Select opacity for the hover safe button background.', 'osmosis' ),
'options' => $grve_opacity_selection,
"default" => '0',
),
)
);
$this->sections[] = array(
'icon' => 'fa fa-brush',
'icon_class' => '',
'title' => __( 'Colors - Dark Header', 'osmosis' ),
'desc' => __( 'Notice that, there is no need to style the Dark Header if you do not intend to integrate the Feature Section with the Header in pages and single portfolio items (where Osmosis provides the Feature Section). Upload logo for the Dark Header in Theme Options > Header Options > Dark Header Options.', 'osmosis' ),
'id' => 'grve_redux_section_colors_dark_header',
'submenu' => false,
'grve_colors' => true,
'panel' => false,
'subsection' => false,
'fields' => array(
//Dark Header Color Settings
array(
'id' => 'header_dark_background_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the header.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'header_dark_background_color_opacity',
'type' => 'select',
'title' => __('Background Opacity', 'osmosis' ),
'subtitle' => __( 'Select opacity for the background of the header.', 'osmosis' ),
'options' => $grve_opacity_selection,
"default" => '0',
),
//Logo Color Settings
array(
'id' => 'logo_dark_background_color',
'type' => 'color',
'title' => __( 'Logo Background Color', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
//Menu Color Settings
array(
'id' => 'dark_menu_text_color',
'type' => 'color',
'title' => __( 'Menu Text Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the menu text.', 'osmosis' ),
'default' => '#3C3A35',
'transparent' => false,
),
array(
'id' => 'dark_menu_text_hover_color',
'type' => 'color',
'title' => __( 'Menu Text Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the hover menu text.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'dark_menu_active_bg_color',
'type' => 'color',
'title' => __( 'Menu Active Background Color (Button and Box menu types only)', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the active menu.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'dark_menu_active_text_color',
'type' => 'color',
'title' => __( 'Menu Active Text Color (Button and Box menu types only)', 'osmosis' ),
'subtitle' => __( 'Pick a color for the active menu text.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'dark_submenu_text_color',
'type' => 'color',
'title' => __( 'Sub Menu Text Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the sub menu text.', 'osmosis' ),
'default' => '#808080',
'transparent' => false,
),
array(
'id' => 'dark_submenu_text_hover_color',
'type' => 'color',
'title' => __( 'Sub Menu Text Hover/Active Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the hover sub menu text.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'dark_submenu_bg_color',
'type' => 'color',
'title' => __( 'Sub Menu Background Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the sub menu.', 'osmosis' ),
'default' => '#222222',
'transparent' => false,
),
array(
'id' => 'dark_submenu_active_bg_color',
'type' => 'color',
'title' => __( 'Sub Menu Background Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the hover sub menu.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'dark_submenu_border_color',
'type' => 'color',
'title' => __( 'Sub Menu Border Color', 'osmosis' ),
'subtitle' => __( 'Pick a border color for the sub menu.', 'osmosis' ),
'default' => '#4f4f4f',
'transparent' => false,
),
//Safe Button Color Settings
array(
'id' => 'dark_safe_button_icon_color',
'type' => 'color',
'title' => __( 'Safe Button Icon Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the safe button icon.', 'osmosis' ),
'default' => '#3C3A35',
'transparent' => false,
),
array(
'id' => 'dark_safe_button_bg_color',
'type' => 'color',
'title' => __( 'Safe Button Background Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the safe button.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'dark_safe_button_bg_color_opacity',
'type' => 'select',
'title' => __('Safe Button Background Opacity', 'osmosis' ),
'subtitle' => __( 'Select opacity for the safe button background.', 'osmosis' ),
'options' => $grve_opacity_selection,
"default" => '0',
),
array(
'id' => 'dark_safe_button_icon_hover_color',
'type' => 'color',
'title' => __( 'Safe Button Icon Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the hover safe button icon.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'dark_safe_button_bg_hover_color',
'type' => 'color',
'title' => __( 'Safe Button Background Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color for the hover safe button.', 'osmosis' ),
'default' => '#222222',
'transparent' => false,
),
array(
'id' => 'dark_safe_button_bg_hover_color_opacity',
'type' => 'select',
'title' => __('Safe Button Background Hover Opacity', 'osmosis' ),
'subtitle' => __( 'Select opacity for the hover safe button background.', 'osmosis' ),
'options' => $grve_opacity_selection,
"default" => '0',
),
)
);
$this->sections[] = array(
'title' => __( 'Colors - Main Content', 'osmosis' ),
'header' => '',
'desc' => __( 'Set your color preferences for the main content area of your site.', 'osmosis' ),
'id' => 'grve_redux_section_colors_main_content',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
array(
'id' => 'theme_body_background_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Pick a background color.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'body_heading_color',
'type' => 'color',
'title' => __( 'Headings Text Color (h1-h6)', 'osmosis' ),
'subtitle' => __( 'Pick a color for headings text.', 'osmosis' ),
'default' => '#454545',
'transparent' => false,
),
array(
'id' => 'body_text_color',
'type' => 'color',
'title' => __( 'Text Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the text.', 'osmosis' ),
'default' => '#6e7177',
'transparent' => false,
),
array(
'id' => 'body_text_link_color',
'type' => 'color',
'title' => __( 'Link Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for the links.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'body_text_link_hover_color',
'type' => 'color',
'title' => __( 'Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for hover text.', 'osmosis' ),
'default' => '#FF4441',
'transparent' => false,
),
array(
'id' => 'body_border_color',
'type' => 'color',
'title' => __( 'Border Color', 'osmosis' ),
'subtitle' => __( 'Pick a border color.', 'osmosis' ),
'default' => '#e4e4e4',
'transparent' => false,
),
array(
'id' => 'body_primary_1_color',
'type' => 'color',
'title' => __( 'Primary 1 Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for primary 1.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'body_primary_1_hover_color',
'type' => 'color',
'title' => __( 'Primary 1 Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for primary 1 hover.', 'osmosis' ),
'default' => '#FF4441',
'transparent' => false,
),
array(
'id' => 'body_primary_2_color',
'type' => 'color',
'title' => __( 'Primary 2 Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for primary 2.', 'osmosis' ),
'default' => '#8E8174',
'transparent' => false,
),
array(
'id' => 'body_primary_2_hover_color',
'type' => 'color',
'title' => __( 'Primary 2 Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for primary 2 hover.', 'osmosis' ),
'default' => '#735D47',
'transparent' => false,
),
array(
'id' => 'body_primary_3_color',
'type' => 'color',
'title' => __( 'Primary 3 Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for primary 3.', 'osmosis' ),
'default' => '#86C8B7',
'transparent' => false,
),
array(
'id' => 'body_primary_3_hover_color',
'type' => 'color',
'title' => __( 'Primary 3 Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for primary 3 hover.', 'osmosis' ),
'default' => '#58b49c',
'transparent' => false,
),
array(
'id' => 'body_primary_4_color',
'type' => 'color',
'title' => __( 'Primary 4 Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for primary 4.', 'osmosis' ),
'default' => '#CDB3D8',
'transparent' => false,
),
array(
'id' => 'body_primary_4_hover_color',
'type' => 'color',
'title' => __( 'Primary 4 Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for primary 4 hover.', 'osmosis' ),
'default' => '#BB8CCF',
'transparent' => false,
),
array(
'id' => 'body_primary_5_color',
'type' => 'color',
'title' => __( 'Primary 5 Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for primary 5.', 'osmosis' ),
'default' => '#8CB6CF',
'transparent' => false,
),
array(
'id' => 'body_primary_5_hover_color',
'type' => 'color',
'title' => __( 'Primary 5 Hover Color', 'osmosis' ),
'subtitle' => __( 'Pick a color for primary 5 hover.', 'osmosis' ),
'default' => '#619CBE',
'transparent' => false,
),
)
);
$this->sections[] = array(
'title' => __( 'Colors - Sidebars', 'osmosis' ),
'header' => '',
'desc' => __( 'Set the background colors for the sidebars. Notice that you can override these in pages, single posts, single portfolios and single events.', 'osmosis' ),
'id' => 'grve_redux_section_colors_sidebars',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
array(
'id' => 'blog_sidebar_bg_color',
'type' => 'select',
'title' => __( 'Blog Sidebar Background Color', 'osmosis' ),
'subtitle' => __( 'Select the background color for the sidebar of the assigned blog page.', 'osmosis' ),
'options' => $grve_bg_color_selection,
'default' => 'none',
),
array(
'id' => 'post_sidebar_bg_color',
'type' => 'select',
'title' => __( 'Post Sidebar Background Color', 'osmosis' ),
'subtitle' => __( 'Select the background color of your sidebar in single posts.', 'osmosis' ),
'options' => $grve_bg_color_selection,
'default' => 'none',
),
array(
'id' => 'page_sidebar_bg_color',
'type' => 'select',
'title' => __( 'Page Sidebar Background Color', 'osmosis' ),
'subtitle' => __( 'Select the background color for your sidebar in pages.', 'osmosis' ),
'options' => $grve_bg_color_selection,
'default' => 'none',
),
array(
'id' => 'portfolio_sidebar_bg_color',
'type' => 'select',
'title' => __( 'Portfolio Sidebar Background Color', 'osmosis' ),
'subtitle' => __( 'Select the background color for the sidebar in portfolio items.', 'osmosis' ),
'options' => $grve_bg_color_selection,
'default' => 'none',
),
array(
'id' => 'event_tax_sidebar_bg_color',
'type' => 'select',
'title' => __( 'Event Taxonomy Sidebar Background Color', 'osmosis' ),
'subtitle' => __( 'Select the background color of the event taxonomies.', 'osmosis' ),
'options' => $grve_bg_color_selection,
'default' => 'none',
),
array(
'id' => 'event_sidebar_bg_color',
'type' => 'select',
'title' => __( 'Event Sidebar Background Color', 'osmosis' ),
'subtitle' => __( 'Select the background color for the sidebar in single events.', 'osmosis' ),
'options' => $grve_bg_color_selection,
'default' => 'none',
),
array(
'id' => 'forum_sidebar_bg_color',
'type' => 'select',
'title' => __( 'Forum Sidebar Background Color', 'osmosis' ),
'subtitle' => __( 'Select the background color of the forum.', 'osmosis' ),
'options' => $grve_bg_color_selection,
'default' => 'none',
),
)
);
$this->sections[] = array(
'title' => __( 'Colors - Bottom Bar Area', 'osmosis' ),
'header' => '',
'desc' => __( 'Set your color preferences for the Bottom Bar Area (the area above the footer). Define this area in Theme Options > Bottom Bar Options.', 'osmosis' ),
'id' => 'grve_redux_section_colors_bottom_bar_area',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
//Bottom Bar Color Settings
array(
'id' => 'bottom_bar_bg_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Background color for your Bottom Bar.', 'osmosis' ),
'default' => '#303030',
'transparent' => false,
),
array(
'id' => 'bottom_bar_text_color',
'type' => 'color',
'title' => __( 'Text Color', 'osmosis' ),
'subtitle' => __( 'Text color for your Bottom Bar.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'bottom_bar_link_color',
'type' => 'color',
'title' => __( 'Link Color', 'osmosis' ),
'subtitle' => __( 'Link color for your Bottom Bar.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'bottom_bar_hover_color',
'type' => 'color',
'title' => __( 'Hover Color', 'osmosis' ),
'subtitle' => __( 'Hover color for your Bottom Bar.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'bottom_bar_button_bg',
'type' => 'color',
'title' => __( 'Button Background Color', 'osmosis' ),
'subtitle' => __( 'Button background color for your Bottom Bar.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'bottom_bar_button_hover_bg',
'type' => 'color',
'title' => __( 'Button Background Hover Color', 'osmosis' ),
'subtitle' => __( 'Button background hover color for your Bottom Bar.', 'osmosis' ),
'default' => '#2d2c29',
'transparent' => false,
),
)
);
$this->sections[] = array(
'title' => __( 'Colors - Footer Area', 'osmosis' ),
'header' => '',
'desc' => __( 'Set your color preferences for the Footer Area. Define the Footer Area in Theme Options > Footer Options.', 'osmosis' ),
'id' => 'grve_redux_section_colors_footer_area',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
//Footer Area Color Settings
array(
'id' => 'footer_widgets_bg_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Background color for your Footer Area.', 'osmosis' ),
'default' => '#252525',
'transparent' => false,
),
array(
'id' => 'footer_widgets_headings_color',
'type' => 'color',
'title' => __( 'Headings Color', 'osmosis' ),
'subtitle' => __( 'Headings color for your Footer Area.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'footer_widgets_font_color',
'type' => 'color',
'title' => __( 'Font Color', 'osmosis' ),
'subtitle' => __( 'Font color for your Footer Area.', 'osmosis' ),
'default' => '#a0a0a0',
'transparent' => false,
),
array(
'id' => 'footer_widgets_link_color',
'type' => 'color',
'title' => __( 'Link Color', 'osmosis' ),
'subtitle' => __( 'Link color for your Footer Area.', 'osmosis' ),
'default' => '#a0a0a0',
'transparent' => false,
),
array(
'id' => 'footer_widgets_hover_color',
'type' => 'color',
'title' => __( 'Hover Color', 'osmosis' ),
'subtitle' => __( 'Hover color for your Footer Area.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'footer_widgets_border_color',
'type' => 'color',
'title' => __( 'Border Color', 'osmosis' ),
'subtitle' => __( 'Border color for your Footer Area.', 'osmosis' ),
'default' => '#444444',
'transparent' => false,
),
)
);
$this->sections[] = array(
'title' => __( 'Colors - Footer Bar Area', 'osmosis' ),
'header' => '',
'desc' => __( 'Set your color preferences for the Footer Bar Area(copyright area). Define the Footer Bar Area in Theme Options > Footer Options.', 'osmosis' ),
'id' => 'grve_redux_section_colors_footer_bar_area',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
//Footer Bar Color Settings
array(
'id' => 'footer_bar_bg_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Background color for your Footer Bar Area.', 'osmosis' ),
'default' => '#222222',
'transparent' => false,
),
array(
'id' => 'footer_bar_bg_color_opacity',
'type' => 'select',
'title' => __('Background Opacity', 'osmosis' ),
'subtitle' => __( 'Select opacity for your Footer Bar Area.', 'osmosis' ),
'options' => $grve_opacity_selection,
"default" => '1',
),
array(
'id' => 'footer_bar_font_color',
'type' => 'color',
'title' => __( 'Font Color', 'osmosis' ),
'subtitle' => __( 'Font color for your Footer Bar Area.', 'osmosis' ),
'default' => '#7a7a7a',
'transparent' => false,
),
array(
'id' => 'footer_bar_link_color',
'type' => 'color',
'title' => __( 'Link Color', 'osmosis' ),
'subtitle' => __( 'Link color for your Footer Bar Area.', 'osmosis' ),
'default' => '#7a7a7a',
'transparent' => false,
),
array(
'id' => 'footer_bar_hover_color',
'type' => 'color',
'title' => __( 'Hover Color', 'osmosis' ),
'subtitle' => __( 'Hover color for your Footer Bar Area.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
)
);
$this->sections[] = array(
'title' => __( 'Colors - Blog Title', 'osmosis' ),
'header' => '',
'desc' => __( 'Set the background color for the blog title area and the color of the blog title.', 'osmosis' ),
'id' => 'grve_redux_section_colors_blog_title',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
array(
'id' => 'blog_title_background_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Background color for your blog title.', 'osmosis' ),
'transparent' => false,
'default' => '#303030',
),
array(
'id' => 'blog_title_color',
'type' => 'select',
'title' => __( 'Title Color', 'osmosis' ),
'subtitle' => __( 'Color for your blog title.', 'osmosis' ),
'options' => $grve_color_selection,
'default' => 'light',
),
array(
'id' => 'blog_description_color',
'type' => 'select',
'title' => __( 'Description Color', 'osmosis' ),
'subtitle' => __( 'Color for your blog description.', 'osmosis' ),
'options' => $grve_color_selection,
'default' => 'light',
),
)
);
$this->sections[] = array(
'title' => __( 'Colors - Post Title', 'osmosis' ),
'header' => '',
'desc' => __( 'Set the background color for the single post title area and the color of the post title.', 'osmosis' ),
'id' => 'grve_redux_section_colors_post_title',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
array(
'id' => 'post_title_background_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Background color for your post title.', 'osmosis' ),
'transparent' => false,
'default' => '#303030',
),
array(
'id' => 'post_title_color',
'type' => 'select',
'title' => __( 'Title Color', 'osmosis' ),
'subtitle' => __( 'Color for your post title.', 'osmosis' ),
'options' => $grve_color_selection,
'default' => 'light',
),
)
);
$this->sections[] = array(
'title' => __( 'Colors - Post Fields Bar', 'osmosis' ),
'header' => '',
'desc' => __( 'Set the background color for the single post fields bar (post meta, socials and navigation).', 'osmosis' ),
'id' => 'grve_redux_section_colors_fields_bar',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
array(
'id' => 'post_fields_bar_background_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Background color for your Post Fields Bar.', 'osmosis' ),
'default' => '#252525',
'transparent' => false,
),
array(
'id' => 'post_fields_bar_text_color',
'type' => 'color',
'title' => __( 'Font Color', 'osmosis' ),
'subtitle' => __( 'Font color for your Post Fields Bar.', 'osmosis' ),
'default' => '#B2B2B2',
'transparent' => false,
),
array(
'id' => 'post_fields_bar_text_hover_color',
'type' => 'color',
'title' => __( 'Hover Color', 'osmosis' ),
'subtitle' => __( 'Hover color for your Post Fields Bar.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'post_fields_bar_background_hover_color',
'type' => 'color',
'title' => __( 'Background Hover Color', 'osmosis' ),
'subtitle' => __( 'Background hover color for your Post Fields Bar.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'post_fields_bar_border_color',
'type' => 'color',
'title' => __( 'Border Color', 'osmosis' ),
'subtitle' => __( 'Border color for your Post Fields Bar.', 'osmosis' ),
'default' => '#303030',
'transparent' => false,
),
)
);
$this->sections[] = array(
'title' => __( 'Colors - Page Title', 'osmosis' ),
'header' => '',
'desc' => __( 'Set the background color for the predefined page title area and the color of the page title. Notice that you can disable it and create custom page title (via feature section).', 'osmosis' ),
'id' => 'grve_redux_section_colors_page_title',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
array(
'id' => 'page_title_background_color',
'type' => 'color',
'title' => __( 'Background', 'osmosis' ),
'subtitle' => __( 'Background color for your page title.', 'osmosis' ),
'transparent' => false,
'default' => '#303030',
),
array(
'id' => 'page_title_color',
'type' => 'select',
'title' => __( 'Title Color', 'osmosis' ),
'subtitle' => __( 'Color for your page title.', 'osmosis' ),
'options' => $grve_color_selection,
'default' => 'light',
),
array(
'id' => 'page_description_color',
'type' => 'select',
'title' => __( 'Description Color', 'osmosis' ),
'subtitle' => __( 'Color for your page description.', 'osmosis' ),
'options' => $grve_color_selection,
'default' => 'light',
),
)
);
$this->sections[] = array(
'title' => __( 'Colors - Page Anchor Menu', 'osmosis' ),
'header' => '',
'desc' => __( 'Set your color preferences for the Page Anchor Menu in case you use one in any of your pages.', 'osmosis' ),
'id' => 'grve_redux_section_colors_anchor_menu',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
array(
'id' => 'page_anchor_menu_background_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Background color for your Page Anchor Menu.', 'osmosis' ),
'default' => '#252525',
'transparent' => false,
),
array(
'id' => 'page_anchor_menu_text_color',
'type' => 'color',
'title' => __( 'Font Color', 'osmosis' ),
'subtitle' => __( 'Font color for your Page Anchor Menu.', 'osmosis' ),
'default' => '#B2B2B2',
'transparent' => false,
),
array(
'id' => 'page_anchor_menu_text_hover_color',
'type' => 'color',
'title' => __( 'Hover Text Color', 'osmosis' ),
'subtitle' => __( 'Hover color for your Page Anchor Menu.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'page_anchor_menu_background_hover_color',
'type' => 'color',
'title' => __( 'Hover Background Color', 'osmosis' ),
'subtitle' => __( 'Hover background color for your Page Anchor Menu.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'page_anchor_menu_border_color',
'type' => 'color',
'title' => __( 'Border Color', 'osmosis' ),
'subtitle' => __( 'Border color for your Page Anchor Menu.', 'osmosis' ),
'default' => '#303030',
'transparent' => false,
),
)
);
$this->sections[] = array(
'title' => __( 'Colors - Portfolio Title', 'osmosis' ),
'header' => '',
'desc' => __( 'Set the background color for the single portfolio title area and the color of the portfolio title and description. Notice that you can disable it and create custom portfolio title (via feature section).', 'osmosis' ),
'id' => 'grve_redux_section_colors_portfolio_title',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
array(
'id' => 'portfolio_title_background_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Background color for your portfolio title.', 'osmosis' ),
'default' => '#303030',
'transparent' => false,
),
array(
'id' => 'portfolio_title_color',
'type' => 'select',
'title' => __( 'Title Color', 'osmosis' ),
'subtitle' => __( 'Color for your portfolio title.', 'osmosis' ),
'options' => $grve_color_selection,
'default' => 'light',
),
array(
'id' => 'portfolio_description_color',
'type' => 'select',
'title' => __( 'Description Color', 'osmosis' ),
'subtitle' => __( 'Color for your portfolio description.', 'osmosis' ),
'options' => $grve_color_selection,
'default' => 'light',
),
)
);
$this->sections[] = array(
'title' => __( 'Colors - Portfolio Fields Bar', 'osmosis' ),
'header' => '',
'desc' => __( 'Set your color preferences for the Portfolio Fields Bar (socials and navigation).', 'osmosis' ),
'id' => 'grve_redux_section_colors_portfolio_fields_bar',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
array(
'id' => 'portfolio_fields_bar_background_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Background color for your Portfolio Fields Bar.', 'osmosis' ),
'default' => '#252525',
'transparent' => false,
),
array(
'id' => 'portfolio_fields_bar_text_color',
'type' => 'color',
'title' => __( 'Font Color', 'osmosis' ),
'subtitle' => __( 'Font color for your Portfolio Fields Bar.', 'osmosis' ),
'default' => '#B2B2B2',
'transparent' => false,
),
array(
'id' => 'portfolio_fields_bar_text_hover_color',
'type' => 'color',
'title' => __( 'Hover Color', 'osmosis' ),
'subtitle' => __( 'Hover color for your Portfolio Fields Bar.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'portfolio_fields_bar_background_hover_color',
'type' => 'color',
'title' => __( 'Background Hover Color', 'osmosis' ),
'subtitle' => __( 'Background hover color for your Portfolio Fields Bar.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'portfolio_fields_bar_border_color',
'type' => 'color',
'title' => __( 'Border Color', 'osmosis' ),
'subtitle' => __( 'Border color for your Portfolio Fields Bar.', 'osmosis' ),
'default' => '#303030',
'transparent' => false,
),
)
);
$this->sections[] = array(
'title' => __( 'Colors - Product Taxonomy Title', 'osmosis' ),
'header' => '',
'desc' => __( 'Set the background color for the product taxonomy title area and the color of the product taxonomy title.', 'osmosis' ),
'id' => 'grve_redux_section_colors_taxonomy_title',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
array(
'id' => 'product_tax_title_background_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Background color for your product taxonomy title.', 'osmosis' ),
'transparent' => false,
'default' => '#303030',
),
array(
'id' => 'product_tax_title_color',
'type' => 'select',
'title' => __( 'Title Color', 'osmosis' ),
'subtitle' => __( 'Color for your product taxonomy title.', 'osmosis' ),
'options' => $grve_color_selection,
'default' => 'light',
),
)
);
$this->sections[] = array(
'title' => __( 'Colors - Product Title', 'osmosis' ),
'header' => '',
'desc' => __( 'Set the background color for the single product title area and the color of the product title.', 'osmosis' ),
'id' => 'grve_redux_section_colors_product_title',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
array(
'id' => 'product_title_background_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Background color for your product title.', 'osmosis' ),
'transparent' => false,
'default' => '#303030',
),
array(
'id' => 'product_title_color',
'type' => 'select',
'title' => __( 'Title Color', 'osmosis' ),
'subtitle' => __( 'Color for your product title.', 'osmosis' ),
'options' => $grve_color_selection,
'default' => 'light',
),
)
);
$this->sections[] = array(
'title' => __( 'Colors - Event Taxonomy Title', 'osmosis' ),
'header' => '',
'desc' => __( 'Set the background color for the event taxonomy title area and the color of the event taxonomy title.', 'osmosis' ),
'id' => 'grve_redux_section_colors_event_taxonomy_title',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
array(
'id' => 'event_tax_title_background_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Background color for your event taxonomy title.', 'osmosis' ),
'transparent' => false,
'default' => '#303030',
),
array(
'id' => 'event_tax_title_color',
'type' => 'select',
'title' => __( 'Title Color', 'osmosis' ),
'subtitle' => __( 'Color for your event taxonomy title.', 'osmosis' ),
'options' => $grve_color_selection,
'default' => 'light',
),
array(
'id' => 'event_tax_description_color',
'type' => 'select',
'title' => __( 'Description Color', 'osmosis' ),
'subtitle' => __( 'Color for your event taxonomy description.', 'osmosis' ),
'options' => $grve_color_selection,
'default' => 'light',
),
)
);
$this->sections[] = array(
'title' => __( 'Colors - Event Title', 'osmosis' ),
'header' => '',
'desc' => __( 'Set the background color for the single event title area and the color of the event title.', 'osmosis' ),
'id' => 'grve_redux_section_colors_event_title',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
array(
'id' => 'event_title_background_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Background color for your event title.', 'osmosis' ),
'transparent' => false,
'default' => '#303030',
),
array(
'id' => 'event_title_color',
'type' => 'select',
'title' => __( 'Title Color', 'osmosis' ),
'subtitle' => __( 'Color for your event title.', 'osmosis' ),
'options' => $grve_color_selection,
'default' => 'light',
),
array(
'id' => 'event_description_color',
'type' => 'select',
'title' => __( 'Description Color', 'osmosis' ),
'subtitle' => __( 'Color for your event description.', 'osmosis' ),
'options' => $grve_color_selection,
'default' => 'light',
),
)
);
$this->sections[] = array(
'title' => __( 'Colors - Event Bar', 'osmosis' ),
'header' => '',
'desc' => __( 'Set your color preferences for the Event Bar.', 'osmosis' ),
'id' => 'grve_redux_section_colors_event_bar',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
array(
'id' => 'event_bar_background_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Background color for your Event Bar.', 'osmosis' ),
'default' => '#252525',
'transparent' => false,
),
array(
'id' => 'event_bar_text_color',
'type' => 'color',
'title' => __( 'Font Color', 'osmosis' ),
'subtitle' => __( 'Font color for your Event Bar.', 'osmosis' ),
'default' => '#B2B2B2',
'transparent' => false,
),
array(
'id' => 'event_bar_text_hover_color',
'type' => 'color',
'title' => __( 'Hover Color', 'osmosis' ),
'subtitle' => __( 'Hover color for your Event Bar.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'event_bar_background_hover_color',
'type' => 'color',
'title' => __( 'Background Hover Color', 'osmosis' ),
'subtitle' => __( 'Background hover color for your Event Bar.', 'osmosis' ),
'default' => '#ff6863',
'transparent' => false,
),
array(
'id' => 'event_bar_border_color',
'type' => 'color',
'title' => __( 'Border Color', 'osmosis' ),
'subtitle' => __( 'Border color for your Event Bar.', 'osmosis' ),
'default' => '#303030',
'transparent' => false,
),
)
);
$this->sections[] = array(
'title' => __( 'Colors - Forum Title', 'osmosis' ),
'header' => '',
'desc' => __( 'Set the background color for the forum title.', 'osmosis' ),
'id' => 'grve_redux_section_colors_forum_title',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
array(
'id' => 'forum_title_background_color',
'type' => 'color',
'title' => __( 'Background Color', 'osmosis' ),
'subtitle' => __( 'Background color for your forum title.', 'osmosis' ),
'transparent' => false,
'default' => '#303030',
),
array(
'id' => 'forum_title_color',
'type' => 'select',
'title' => __( 'Title Color', 'osmosis' ),
'subtitle' => __( 'Color for your forum title.', 'osmosis' ),
'options' => $grve_color_selection,
'default' => 'light',
),
array(
'id' => 'forum_description_color',
'type' => 'select',
'title' => __( 'Description Color', 'osmosis' ),
'subtitle' => __( 'Color for your forum description.', 'osmosis' ),
'options' => $grve_color_selection,
'default' => 'light',
),
)
);
$this->sections[] = array(
'title' => esc_html__( 'Colors - Breadcrumbs', 'osmosis' ),
'header' => '',
'desc' => esc_html__( 'Set your color preferences for the Breadcrumbs in case you use then in any of your pages, posts or portfolio items.', 'osmosis' ),
'id' => 'grve_redux_section_colors_breadcrumbs',
'icon_class' => '',
'icon' => 'fa fa-brush',
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
array(
'id' => 'page_breadcrumbs_background_color',
'type' => 'color',
'title' => esc_html__( 'Background Color', 'osmosis' ),
'subtitle' => esc_html__( 'Background color for the Breadcrumbs.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id' => 'page_breadcrumbs_text_color',
'type' => 'color',
'title' => esc_html__( 'Font Color', 'osmosis' ),
'subtitle' => esc_html__( 'Font color for the Breadcrumbs.', 'osmosis' ),
'default' => '#6e6e6e',
'transparent' => false,
),
array(
'id' => 'page_breadcrumbs_text_hover_color',
'type' => 'color',
'title' => esc_html__( 'Hover Text Color', 'osmosis' ),
'subtitle' => esc_html__( 'Hover color for the Breadcrumbs.', 'osmosis' ),
'default' => '#f1b144',
'transparent' => false,
),
array(
'id' => 'page_breadcrumbs_divider_color',
'type' => 'color',
'title' => esc_html__( 'Divider Color', 'osmosis' ),
'subtitle' => esc_html__( 'Divider color for the Breadcrumbs.', 'osmosis' ),
'default' => '#b2b2b2',
'transparent' => false,
),
array(
'id' => 'page_breadcrumbs_border_color',
'type' => 'color',
'title' => esc_html__( 'Border Color', 'osmosis' ),
'subtitle' => esc_html__( 'Border color for the Breadcrumbs.', 'osmosis' ),
'default' => '#e0e0e0',
'transparent' => false,
),
)
);
$this->sections[] = array(
'icon' => 'fa fa-brush',
'icon_class' => '',
'title' => esc_html__( 'Colors - Privacy / Cookies', 'osmosis' ),
'id' => 'grve_redux_section_colors_privacy_consent_bar',
'desc' => esc_html__( 'Set your color preferences for Privacy / Cookies feature.', 'osmosis' ),
'submenu' => false,
'panel' => false,
'grve_colors' => true,
'subsection' => false,
'fields' => array(
array(
'id'=>'privacy_bar_bg_color',
'type' => 'color',
'title' => esc_html__( 'Background Color', 'osmosis' ),
'subtitle' => esc_html__( 'Select the background color of Privacy Consent Info Bar.', 'osmosis' ),
'default' => '#000000',
'transparent' => false,
),
array(
'id' => 'privacy_bar_bg_opacity',
'type' => 'select',
'title' => esc_html__( 'Background Opacity', 'osmosis' ),
'options' => $grve_opacity_selection,
'default' => '0.90',
),
array(
'id'=>'privacy_bar_text_color',
'type' => 'color',
'title' => esc_html__( 'Text Color', 'osmosis' ),
'subtitle' => esc_html__( 'Select the color of Privacy Consent Info Bar Text.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id'=>'privacy_bar_button_text_color',
'type' => 'color',
'title' => esc_html__( 'Button Text Color', 'osmosis' ),
'subtitle' => esc_html__( 'Select the color of Privacy Consent Info Bar Button Text.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id'=>'privacy_bar_button_bg_color',
'type' => 'color',
'title' => esc_html__( 'Button Background Color', 'osmosis' ),
'subtitle' => esc_html__( 'Select the background color of Privacy Consent Info Bar Button.', 'osmosis' ),
'default' => '#2bc137',
'transparent' => false,
),
array(
'id'=>'privacy_bar_button_bg_hover_color',
'type' => 'color',
'title' => esc_html__( 'Button Background Hover Color', 'osmosis' ),
'subtitle' => esc_html__( 'Select the background hover color of Privacy Consent Info Bar Button.', 'osmosis' ),
'default' => '#17a523',
'transparent' => false,
),
array(
'id'=>'privacy_modal_button_text_color',
'type' => 'color',
'title' => esc_html__( 'Modal Button Text Color', 'osmosis' ),
'subtitle' => esc_html__( 'Select the color of Modal Button Text.', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
),
array(
'id'=>'privacy_modal_button_bg_color',
'type' => 'color',
'title' => esc_html__( 'Modal Button Background Color', 'osmosis' ),
'subtitle' => esc_html__( 'Select the background color of Modal Button.', 'osmosis' ),
'default' => '#2bc137',
'transparent' => false,
),
array(
'id'=>'privacy_modal_button_bg_hover_color',
'type' => 'color',
'title' => esc_html__( 'Modal Button Background Hover Color', 'osmosis' ),
'subtitle' => esc_html__( 'Select the background hover color of Modal Button.', 'osmosis' ),
'default' => '#17a523',
'transparent' => false,
),
)
);
$this->sections[] = array(
'icon' => 'el-icon-cloud',
'icon_class' => '',
'title' => __( 'Social Media', 'osmosis' ),
'id' => 'grve_redux_section_social_media',
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id' => 'social_options',
'type' => 'sortable',
'title' => __( 'Social Icons', 'osmosis' ),
'subtitle' => __( 'Define and reorder your social icons. Clear the input field for any social icon you do not wish to display.', 'osmosis' ),
'desc' => '',
'label' => true,
'options' => $grve_social_options,
),
)
);
$this->sections[] = array(
'icon' => 'el-icon-map-marker',
'icon_class' => '',
'title' => __( 'Map Options', 'osmosis' ),
'id' => 'grve_redux_section_map_options',
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id'=>'map_api_mode',
'type' => 'button_set',
'title' => esc_html__( 'Map API', 'osmosis' ),
'subtitle'=> esc_html__( 'Select the map API', 'osmosis' ),
'options' => array(
'google-maps' => esc_html__( 'Google Maps', 'osmosis' ),
'openstreetmap' => esc_html__( 'OpenStreetMap', 'osmosis' ),
),
'default' => 'google-maps',
),
array(
'id'=>'map_tile_url',
'type' => 'text',
'title' => esc_html__( 'Tile Layer URL', 'osmosis' ),
'subtitle' => esc_html__( 'Define the Tile Layer. Used to load and display tile layers on the map.', 'osmosis' ),
'desc' => sprintf( '%1$s: <a href="//wiki.openstreetmap.org/wiki/Tile_servers" target="_blank" rel="noopener noreferrer"> %2$s </a>', esc_html__('See more tile servers', 'osmosis'), esc_html__('here', 'osmosis') ),
"default" => 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
'required' => array( 'map_api_mode', 'equals', 'openstreetmap' ),
),
array(
'id'=>'map_tile_url_subdomains',
'type' => 'text',
'title' => esc_html__( 'Tile Layer Subdomains', 'osmosis' ),
'subtitle'=> esc_html__( 'Define the Tile Layer subdomains.', 'osmosis' ),
"default" => "abc",
'required' => array( 'map_api_mode', 'equals', 'openstreetmap' ),
),
array(
'id'=>'map_tile_attribution',
'type' => 'text',
'title' => esc_html__( 'Tile Layer Attribution', 'osmosis' ),
'subtitle' => esc_html__( 'Enter the Tile Layer attribution', 'osmosis' ),
"default" => '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>',
'required' => array( 'map_api_mode', 'equals', 'openstreetmap' ),
),
array(
'id' => 'gmap_api_key',
'type' => 'text',
'title' => __( 'Google API Key', 'osmosis' ),
'subtitle' => $gmap_api_key_link,
'default' => '',
'required' => array( 'map_api_mode', 'equals', 'google-maps' ),
),
array(
'id' => 'gmap_hue_enabled',
'type' => 'checkbox',
'title' => __( 'Enable Hue', 'osmosis' ),
'subtitle'=> __( 'Select if hue is used.', 'osmosis' ),
'default' => 0,
'required' => array( 'map_api_mode', 'equals', 'google-maps' ),
),
array(
'id' => 'gmap_hue',
'type' => 'color',
'title' => __( 'Hue color', 'osmosis' ),
'subtitle' => __( 'Pick a color as Hue', 'osmosis' ),
'default' => '#ffffff',
'transparent' => false,
'validate' => 'color',
'required' => array( 'gmap_hue_enabled', 'equals', '1' ),
),
array(
'id' => 'gmap_saturation',
'type' => 'slider',
'title' => __('Saturation', 'osmosis' ),
'subtitle' => __('Saturation of map.', 'osmosis' ),
'desc' => __('Min: -100, max: 100, default value: 0', 'osmosis' ),
"default" => 0,
"min" => -100,
"step" => 1,
"max" => 100,
'resolution' => 1,
'display_value' => 'text',
'required' => array( 'map_api_mode', 'equals', 'google-maps' ),
),
array(
'id' => 'gmap_lightness',
'type' => 'slider',
'title' => __('Lightness', 'osmosis' ),
'subtitle' => __('Lightness of map.', 'osmosis' ),
'desc' => __('Min: -100, max: 100, default value: 0', 'osmosis' ),
"default" => 0,
"min" => -100,
"step" => 1,
"max" => 100,
'resolution' => 1,
'display_value' => 'text',
'required' => array( 'map_api_mode', 'equals', 'google-maps' ),
),
array(
'id' => 'gmap_gamma',
'type' => 'slider',
'title' => __('Gamma', 'osmosis' ),
'subtitle' => __('Gamma of map.', 'osmosis' ),
'desc' => __('Min: -100, max: 100, default value: 1.0', 'osmosis' ),
"default" => 1.0,
"min" => 0.01,
"step" => 0.01,
"max" => 10.0,
'resolution' => 0.01,
'display_value' => 'text',
'required' => array( 'map_api_mode', 'equals', 'google-maps' ),
),
)
);
$this->sections[] = array(
'icon' => 'el-icon-error',
'icon_class' => '',
'title' => __( '404 Page', 'osmosis'),
'subtitle' => __( 'You can find the settings for the 404 page here.', 'osmosis' ),
'id' => 'grve_redux_section_404_page',
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id' => 'page_404_header',
'type' => 'switch',
'title' => esc_html__( 'Show Header', 'osmosis' ),
'subtitle'=> esc_html__( 'Select if you want to show header.', 'osmosis' ),
'default' => 0,
),
array(
'id' => 'page_404_content',
'type' => 'editor',
'args' => $editor_args,
'title' => __( 'Page 404 Content', 'osmosis' ),
'subtitle' => __( 'Type the content of your 404 page, you can use also shortcodes.', 'osmosis' ),
'default' => "<small>404 ERROR</small><h2>Hey there mate!<br/>Your lost treasure is not found here...</h2><p class='grve-subtitle'>Sorry! The page you are looking for wasn't found!</p>",
),
array(
'id' => 'page_404_search',
'type' => 'checkbox',
'title' => __( 'Show Search Box', 'osmosis' ),
'subtitle'=> __( 'Select if you want to show a search box.', 'osmosis' ),
'default' => 0,
),
array(
'id' => 'page_404_home_button',
'type' => 'checkbox',
'title' => __( 'Show Back to home Button', 'osmosis' ),
'subtitle'=> __( 'Select if you want to show a back to home button.', 'osmosis' ),
'default' => 1,
),
array(
'id' => 'page_404_footer',
'type' => 'switch',
'title' => esc_html__( 'Show Footer', 'osmosis' ),
'subtitle'=> esc_html__( 'Select if you want to show footer.', 'osmosis' ),
'default' => 0,
),
)
);
$this->sections[] = array(
'icon' => 'el-icon-cog',
'icon_class' => '',
'title' => __( 'Miscellaneous', 'osmosis' ),
'id' => 'grve_redux_section_miscellaneous',
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id'=>'wp_gallery_popup',
'type' => 'switch',
'title' => __( 'Lightbox for WordPress Gallery', 'osmosis' ),
'subtitle'=> __( 'Toggle lightbox for native WordPress Gallery on or off.', 'osmosis' ),
"default" => '0',
'on' => __('On', 'osmosis' ),
'off' => __('Off', 'osmosis' ),
),
array(
'id'=>'logo_as_text_enabled',
'type' => 'switch',
'title' => __( 'Logo as text', 'osmosis' ),
'subtitle'=> __( 'Toggle logo as text on or off. When on, all logo images will be replaced with site name.', 'osmosis' ),
"default" => '0',
'on' => __('On', 'osmosis' ),
'off' => __('Off', 'osmosis' ),
),
array(
'id'=>'logo_custom_link_url',
'type' => 'text',
'title' => esc_html__( 'Logo Custom Link URL', 'osmosis' ),
'subtitle'=> esc_html__( 'Define a custom URL link for your logo. If empty homepage will be used instead.', 'osmosis' ),
"default" => '',
),
array(
'id' => 'settings_mode',
'type' => 'select',
'title' => __( 'In page settings mode ( Extra Settings )', 'osmosis' ),
'subtitle' => __( 'Select the mode for the in page extra settings, compact with modal window or simple.', 'osmosis' ),
'options' => $grve_settings_mode_selection,
'default' => 'modal',
'validate' => 'not_empty',
),
array(
'id' => 'retina_support',
'type' => 'select',
'title' => __( 'Retina Support', 'osmosis' ),
'subtitle' => __( 'Select the retina suppport of your site.', 'osmosis' ),
'options' => $grve_retina_support_selection,
'default' => 'default',
'validate' => 'not_empty',
),
array(
'id'=>'menu_header_integration',
'type' => 'select',
'title' => __( 'Main Menu Integration', 'osmosis' ),
'subtitle' => __( 'Select the main menu integration method. Selection available for custom menu integration.', 'osmosis' ),
'options' => $grve_header_menu_selection,
'default' => 'default',
'validate' => 'not_empty',
),
array(
'id'=>'sidebar_heading_tag',
'type' => 'select',
'title' => esc_html__( 'Sidebar Headings Tag', 'osmosis' ),
'subtitle' => esc_html__( 'Select the headings tag for your Sidebar Titles.', 'osmosis' ),
'options' => $grve_headings_tag_selection,
'default' => 'h5',
'validate' => 'not_empty',
),
array(
'id'=>'footer_heading_tag',
'type' => 'select',
'title' => esc_html__( 'Footer Sidebar Headings Tag', 'osmosis' ),
'subtitle' => esc_html__( 'Select the headings tag for your Footer Sidebar Titles.', 'osmosis' ),
'options' => $grve_headings_tag_selection,
'default' => 'h5',
'validate' => 'not_empty',
),
array(
'id' => 'disable_seo_page_analysis',
'type' => 'checkbox',
'title' => __( 'Disable WordPress SEO Page Analysis', 'osmosis' ),
'subtitle'=> __( 'Select if you want to disable WordPress SEO page analysis.', 'osmosis' ),
'default' => 0,
),
array(
'id' => 'mc4wp_form',
'type' => 'select',
'title' => __( 'Newsletter Form ( MailChimp )', 'osmosis' ),
'subtitle' => __( 'Select the form for your newsletter.', 'osmosis' ),
'data' => 'posts',
'args' => array( 'post_type' => 'mc4wp-form', 'numberposts' => -1 ),
'default' => '',
),
array(
'id' => 'info_settings_vc',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Page Builder Visibility', 'osmosis' ),
'subtitle'=> __( 'Enable/Disable default Visual Composer elements.', 'osmosis' ),
),
array(
'id'=>'vc_grid_visibility',
'type' => 'switch',
'title' => __( 'Page Builder Grid Elements', 'osmosis' ),
'subtitle'=> __( 'Toggle Page Builder Grid elements on or off.', 'osmosis' ),
"default" => '0',
'on' => __('On', 'osmosis' ),
'off' => __('Off', 'osmosis' ),
),
array(
'id'=>'vc_charts_visibility',
'type' => 'switch',
'title' => __( 'Page Builder Charts Elements', 'osmosis' ),
'subtitle'=> __( 'Toggle Page Builder Charts elements on or off.', 'osmosis' ),
"default" => '0',
'on' => __('On', 'osmosis' ),
'off' => __('Off', 'osmosis' ),
),
array(
'id' => 'info_settings_updaters',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'Bundled Plugins Default Updaters', 'osmosis' ),
'subtitle'=> __( 'Enable/Disable default plugin updaters', 'osmosis' ),
),
array(
'id'=>'vc_auto_updater',
'type' => 'switch',
'title' => esc_html__( 'Page Builder Auto Updater', 'osmosis' ),
'subtitle'=> esc_html__( 'Enable/Disable Page Builder Auto Updater ( Activation Required ).', 'osmosis' ),
"default" => '0',
'on' => esc_html__('On', 'osmosis' ),
'off' => esc_html__('Off', 'osmosis' ),
),
array(
'id'=>'go_pricing_updater',
'type' => 'switch',
'title' => esc_html__( 'GoPricing Updater', 'osmosis' ),
'subtitle'=> esc_html__( 'Enable/Disable GoPricing Updater.', 'osmosis' ),
"default" => '0',
'on' => esc_html__('On', 'osmosis' ),
'off' => esc_html__('Off', 'osmosis' ),
),
array(
'id' => 'info_settings_wpml_polylang',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => __( 'WPML/Polylang Settings', 'osmosis' ),
'subtitle'=> __( 'Configure Theme language switcher settings.', 'osmosis' ),
),
array(
'id'=>'language_switcher_skip_missing',
'type' => 'checkbox',
'title' => __( 'Hide languages with no translation', 'osmosis' ),
'subtitle'=> __( 'Select if you want to skip language in case translation is missing.', 'osmosis' ),
"default" => '0',
),
)
);
$this->sections[] = array(
'icon' => 'el-icon-cog',
'icon_class' => '',
'title' => esc_html__( 'Meta Tags', 'osmosis' ),
'desc'=> esc_html__( 'Configure your site meta tags.', 'osmosis' ),
'id' => 'grve_redux_section_meta_tags',
'submenu' => true,
'customizer' => false,
'subsection' => true,
'fields' => array(
array(
'id'=>'meta_viewport_responsive',
'type' => 'switch',
'title' => esc_html__( 'Responsive Viewport Meta', 'osmosis' ),
'subtitle'=> esc_html__( 'Enable or Disable Responsive Viewport.', 'osmosis' ),
"default" => '1',
'on' => esc_html__( 'On', 'osmosis' ),
'off' => esc_html__( 'Off', 'osmosis' ),
),
array(
'id'=>'meta_opengraph',
'type' => 'switch',
'title' => esc_html__( 'Open Graph Meta', 'osmosis' ),
'subtitle'=> esc_html__( 'Generate open graph meta tags for social sharing ( e.g: Facebook, Google+, LinkedIn etc )', 'osmosis' ),
"default" => '0',
'on' => esc_html__( 'On', 'osmosis' ),
'off' => esc_html__( 'Off', 'osmosis' ),
),
array(
'id'=>'meta_twitter',
'type' => 'switch',
'title' => esc_html__( 'Twitter Card Meta', 'osmosis' ),
'subtitle'=> esc_html__( 'Generate meta tags for Twitter', 'osmosis' ),
"default" => '0',
'on' => esc_html__( 'On', 'osmosis' ),
'off' => esc_html__( 'Off', 'osmosis' ),
),
)
);
$this->sections[] = array(
'icon' => 'el-icon-wrench',
'icon_class' => '',
'title' => esc_html__( 'Coming Soon', 'osmosis' ),
'id' => 'grve_redux_section_coming_soon',
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id'=>'coming_soon_enabled',
'type' => 'switch',
'title' => esc_html__( 'Enable Coming Soon', 'osmosis' ),
'subtitle'=> esc_html__( 'Toggle Coming Soon Redirect on or off.', 'osmosis' ),
"default" => '0',
'on' => esc_html__( 'On', 'osmosis' ),
'off' => esc_html__( 'Off', 'osmosis' ),
),
array(
'id'=>'coming_soon_template',
'type' => 'select',
'title' => esc_html__( 'Coming Soon Template', 'osmosis' ),
'subtitle' => esc_html__( 'Select content only or use the defined page template.', 'osmosis' ),
'options' => array(
'content' => esc_html__( 'Content Only', 'osmosis' ),
'template' => esc_html__( 'Use Page Template', 'osmosis' ),
),
'default' => 'content',
'validate' => 'not_empty',
'required' => array( 'coming_soon_enabled', 'equals', '1' ),
),
array(
'id' => 'coming_soon_page',
'type' => 'select',
'title' => esc_html__( 'Coming Soon Page', 'osmosis' ),
'subtitle' => esc_html__( 'Select the page for your redirection.', 'osmosis' ),
'data' => 'page',
'default' => '',
'required' => array( 'coming_soon_enabled', 'equals', '1' ),
),
)
);
$this->sections[] = array(
'icon' => 'el-icon-lock',
'icon_class' => '',
'title' => esc_html__( 'Privacy / Cookies', 'osmosis' ),
'desc' => esc_html__( 'The following shortcodes will allow your users to change certain behavior of your website regarding privacy.', 'osmosis' ) . '<br>' .
'<ul>' .
'<li><strong>grve_privacy_required</strong> - ' . esc_html__( 'displays a required content for your site e.g: Cloudlflare, CDN etc.', 'osmosis' ) . '</li>' .
'<li><strong>grve_privacy_gtracking</strong> - ' . esc_html__( 'allows a user to enable/disable Google Analytics tracking code in the user\'s browser', 'osmosis' ) . '</li>' .
'<li><strong>grve_privacy_gfonts</strong> - ' . esc_html__( 'allows a user to enable/disable the use of Google Fonts in the user\'s browser', 'osmosis' ) . '</li>' .
'<li><strong>grve_privacy_gmaps</strong> - ' . esc_html__( 'allows a user to enable/disable the use of Google Maps in the user\'s browser', 'osmosis' ) . '</li>' .
'<li><strong>grve_privacy_video_embeds</strong> - ' . esc_html__( 'allows a user to enable/disable video embeds in the user\'s browser', 'osmosis' ) . '</li>' .
'<li><strong>grve_privacy_policy_page_link</strong> - ' . esc_html__( 'displays a link to the privacy policy page set from the WordPress admin panel', 'osmosis' ) . '</li>' .
'<li><strong>grve_privacy_preferences_link</strong> - ' . esc_html__( 'displays a link to the privacy preferences as defined in the Privacy Consent Info Bar', 'osmosis' ) . '</li>' .
'</ul>' .
esc_html__( 'You can use any of them in your privacy policy or in any text area that allows shortcodes.', 'osmosis' ) . '<br><br>' .
'<strong>[grve_privacy_required value="required"]For performance and security reasons we use Cloudflare[/grve_privacy_required]</strong><br>' .
'<strong>[grve_privacy_gtracking]</strong><br>' .
'<strong>[grve_privacy_gfonts]</strong><br>' .
'<strong>[grve_privacy_gmaps]</strong><br>' .
'<strong>[grve_privacy_video_embeds]</strong><br>' .
'<strong>[grve_privacy_policy_page_link]</strong><br>' .
'<strong>[grve_privacy_preferences_link]</strong><br><br>' .
esc_html__( 'Note: To change the default text add your text inside the shortcode tags [shortcode]Your text[/shortcode]', 'osmosis' ),
'id' => 'grve_redux_section_privacy_cookies',
'submenu' => true,
'customizer' => false,
'class' => 'grve-redux-desc-full',
'fields' => array(
array(
'id' => 'info_style_blocking_content',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => esc_html__( 'Privacy Content Blocking Settings', 'osmosis' ),
'subtitle'=> esc_html__( 'Configure the privacy content blocking settings.', 'osmosis' ) . '<br>' . esc_html__( 'Note: The usage of the Blocking content feature is not recommended if you have added caching plugins or page rules to cache static HTML content (aggressive cache). If you use this feature you might need to disable such type of caching.', 'osmosis' ),
),
array(
'id' => 'privacy_content_blocking_enabled',
'type' => 'switch',
'title' => esc_html__( 'Privacy Content Blocking', 'osmosis' ),
'subtitle'=> esc_html__( 'Select if you want to enable/disable privacy content blocking.', 'osmosis' ) .'<br><br>' . esc_html__( 'Note: if you disable content blocking certain privacy shortcodes will be automatically disabled.', 'osmosis' ),
'default' => 1,
),
array(
'id' => 'privacy_initial_state',
'type' => 'checkbox',
'title' => esc_html__( 'Privacy Initial Blocking State', 'osmosis' ),
'subtitle' => esc_html__( 'Check if you want to block the content when the page loads.', 'osmosis' ),
'options' => array(
'gtracking' => 'Google Tracking',
'gfonts' => 'Google Fonts',
'gmaps' => 'Google Maps',
'video-embeds' => 'Embed Videos'
),
'default' => array(
'gtracking' => '0',
'gfonts' => '0',
'gmaps' => '0',
'video-embeds' => '0'
),
'required' => array( 'privacy_content_blocking_enabled', 'equals', '1' ),
),
/* array(
'id'=>'privacy_custom_fields',
'type' => 'multi_text',
'title' => esc_html__('Privacy Custom Blocking fields', 'osmosis'),
'validate' => 'not_empty',
'subtitle' => esc_html__('Enter the ids for your custom blocking fields', 'osmosis'),
'required' => array( 'privacy_content_blocking_enabled', 'equals', '1' ),
), */
array(
'id' => 'info_style_fallback_content',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => esc_html__( 'Privacy Fallback Settings', 'osmosis' ),
'subtitle'=> esc_html__( 'Configure the privacy fallback info box.', 'osmosis' ),
'required' => array( 'privacy_content_blocking_enabled', 'equals', '1' ),
),
array(
'id' => 'privacy_fallback_content',
'type' => 'textarea',
'rows' => '2',
'title' => esc_html__( 'Privacy Fallback Content', 'osmosis' ),
'subtitle' => esc_html__( 'Type the fallback text when the content is blocked.', 'osmosis' ),
'default' => 'This content is blocked. Please review your Privacy Preferences.',
'required' => array( 'privacy_content_blocking_enabled', 'equals', '1' ),
),
array(
'id' => 'privacy_fallback_preferences_link_visibility',
'type' => 'checkbox',
'title' => esc_html__('Display Privacy Preferences link', 'osmosis'),
'subtitle' => esc_html__('Select if you want to display the Privacy Preferences link ( if defined in the privacy consent bar ).', 'osmosis'),
'default' => '1',
'required' => array( 'privacy_content_blocking_enabled', 'equals', '1' ),
),
array(
'id' => 'privacy_fallback_content_link_visibility',
'type' => 'checkbox',
'title' => esc_html__('Display redirect link of the blocked content', 'osmosis'),
'subtitle' => esc_html__('Select if you want to display a redirect link of the blocked content ( blocked content will open in a new tab e.g: YouTube website ).', 'osmosis'),
'default' => '1',
'required' => array( 'privacy_content_blocking_enabled', 'equals', '1' ),
),
array(
'id' => 'info_style_consent_bar',
'type' => 'info',
'class' => 'grve-redux-sub-info',
'title' => esc_html__( 'Privacy Consent Info Bar Settings', 'osmosis' ),
'subtitle'=> esc_html__( 'Configure the consent info bar.', 'osmosis' ),
),
array(
'id' => 'privacy_consent_bar_enabled',
'type' => 'switch',
'title' => esc_html__( 'Privacy Consent Info Bar', 'osmosis' ),
'subtitle'=> esc_html__( 'Select if you want to show a privacy consent info bar.', 'osmosis' ),
'default' => 0,
),
array(
'id' => 'privacy_consent_bar_position',
'type' => 'select',
'compiler' => true,
'title' => esc_html__( 'Privacy Consent Info Bar Position', 'osmosis' ),
'subtitle' => esc_html__( 'Select the position for Privacy Consent Info Bar', 'osmosis' ),
'options' => array(
'center' => esc_html__( 'Center', 'osmosis' ),
'left' => esc_html__( 'Left', 'osmosis' ),
'right' => esc_html__( 'Right', 'osmosis' ),
),
'default' => 'center',
'validate' => 'not_empty',
'required' => array( 'privacy_consent_bar_enabled', 'equals', '1' ),
),
array(
'id' => 'privacy_consent_bar_content',
'type' => 'textarea',
'rows' => '2',
'title' => esc_html__( 'Privacy Info Bar Content', 'osmosis' ),
'subtitle' => esc_html__( 'Type the content of your consent info bar.', 'osmosis' ),
'default' => 'Our website uses cookies, mainly from 3rd party services. Define your Privacy Preferences and/or agree to our use of cookies.',
'required' => array( 'privacy_consent_bar_enabled', 'equals', '1' ),
),
array(
'id'=>'privacy_agreement_button_label',
'type' => 'text',
'title' => esc_html__( 'Privacy Agreement Button Label', 'osmosis' ),
'subtitle'=> esc_html__( 'Define the label for your privacy agreement button. Leave empty to remove.', 'osmosis' ),
'required' => array( 'privacy_consent_bar_enabled', 'equals', '1' ),
"default" => 'I Agree',
),
array(
'id'=>'privacy_preferences_button_label',
'type' => 'text',
'title' => esc_html__( 'Privacy Preferences Button Label', 'osmosis' ),
'subtitle'=> esc_html__( 'Define the label for your privacy preferences button. Leave empty to remove.', 'osmosis' ),
'required' => array( 'privacy_consent_bar_enabled', 'equals', '1' ),
"default" => 'Privacy Preferences',
),
array(
'id' => 'privacy_preferences_button_link',
'type' => 'select',
'compiler' => true,
'title' => esc_html__( 'Privacy Preferences Button Link Mode', 'osmosis' ),
'subtitle' => esc_html__( 'Select the preferences button link mode: modal, privacy policy page or custom url.', 'osmosis' ),
'options' => array(
'modal' => esc_html__( 'Modal', 'osmosis' ),
'privacy_page' => esc_html__( 'Privacy Policy Page', 'osmosis' ),
'custom_url' => esc_html__( 'Custom URL', 'osmosis' ),
),
'default' => 'modal',
'validate' => 'not_empty',
'required' => array( 'privacy_consent_bar_enabled', 'equals', '1' ),
),
array(
'id'=>'privacy_preferences_link_url',
'type' => 'text',
'title' => esc_html__( 'Privacy Preferences Custom Link URL', 'osmosis' ),
'subtitle'=> esc_html__( 'Define a custom URL link for your privacy preferences button.', 'osmosis' ),
'required' => array(
array( 'privacy_consent_bar_enabled', 'equals', '1' ),
array( 'privacy_preferences_button_link', 'equals', 'custom_url' ),
),
"default" => '',
),
array(
'id'=>'privacy_preferences_link_target',
'type' => 'select',
'title' => esc_html__( 'Privacy Preferences Custom Link Target', 'osmosis' ),
'subtitle'=> esc_html__( 'Define the target for your custom url, same or new page.', 'osmosis' ),
'options' => array(
'_self' => esc_html__( 'Same Page', 'osmosis' ),
'_blank' => esc_html__( 'New page', 'osmosis' ),
),
'required' => array(
array( 'privacy_consent_bar_enabled', 'equals', '1' ),
array( 'privacy_preferences_button_link', 'equals', 'custom_url' ),
),
"default" => '_self',
),
array(
'id' => 'privacy_consent_modal_content',
'type' => 'editor',
'args' => $editor_args,
'title' => esc_html__( 'Privacy Modal Content', 'osmosis' ),
'subtitle' => esc_html__( 'Type the content of your modal consent dialog.', 'osmosis' ),
'default' => '<h5>Privacy Preferences</h5><p>When you visit our website, it may store information through your browser from specific services, usually in the form of cookies. Here you can change your Privacy preferences. It is worth noting that blocking some types of cookies may impact your experience on our website and the services we are able to offer.</p><div>[grve_privacy_gtracking][grve_privacy_gfonts][grve_privacy_gmaps][grve_privacy_video_embeds]</div>',
'required' => array(
array( 'privacy_consent_bar_enabled', 'equals', '1' ),
array( 'privacy_preferences_button_link', 'equals', 'modal' ),
),
),
array(
'id'=>'privacy_refresh_button_label',
'type' => 'text',
'title' => esc_html__( 'Privacy Refresh Button Label', 'osmosis' ),
'subtitle'=> esc_html__( 'Define the label for your privacy refresh button. Leave empty to remove.', 'osmosis' ),
'required' => array(
array( 'privacy_consent_bar_enabled', 'equals', '1' ),
array( 'privacy_preferences_button_link', 'equals', 'modal' ),
),
"default" => 'Save Preferences',
),
)
);
$this->sections[] = array(
'icon' => 'el-icon-cloud',
'icon_class' => 'el-icon-cog',
'title' => esc_html__( 'Utilities', 'osmosis' ),
'id' => 'grve_redux_section_utilities',
'submenu' => true,
'customizer' => false,
'fields' => array()
);
$this->sections[] = array(
'icon' => 'el-icon-cogs',
'icon_class' => '',
'title' => esc_html__( 'Theme Performance', 'osmosis' ),
'id' => 'grve_redux_section_advanced',
'submenu' => true,
'subsection' => true,
'customizer' => false,
'fields' => array(
array(
'id'=>'combine_js',
'type' => 'select',
'title' => esc_html__( 'Combine/Compress Theme Scripts', 'osmosis' ),
'subtitle'=> esc_html__( 'Select if you want to combine/compress theme scripts.', 'osmosis' ),
'options' => array(
'1' => esc_html__( 'Partial merge/compression of theme javascript files', 'osmosis' ),
'0' => esc_html__( 'No merge/compression of theme javascript files', 'osmosis' ),
),
"default" => '1',
),
)
);
if ( class_exists( 'Envato_Market' ) ) {
$envato_market_link = 'admin.php?page=envato-market';
} else {
$envato_market_link = 'admin.php?page=osmosis-tgmpa-install-plugins';
}
$update_message = esc_html__( "Envato official solution is recommended for theme updates using the new Envato Market API.", 'osmosis' ) .
"<br/>" . esc_html__( "You can now update the theme using the", 'osmosis' ) . " " . "<a href='" . esc_url( admin_url() . $envato_market_link ) . "'>" . esc_html__( "Envato Market", 'osmosis' ) . "</a>" . " ". esc_html__( "plugin", 'osmosis' ) . "." .
" " . esc_html__( "For more information read the related article in our", 'osmosis' ) . " " . "<a href='//docs.greatives.eu/tutorials/envato-market-wordpress-plugin-for-theme-updates/' target='_blank'>" . esc_html__( "documentation", 'osmosis' ) . "</a>.";
$this->sections[] = array(
'icon' => 'el-icon-repeat',
'icon_class' => '',
'title' => esc_html__( 'Theme Update', 'osmosis' ),
'id' => 'grve_redux_section_theme_update',
'desc' => $update_message,
'submenu' => true,
'customizer' => false,
'fields' => array()
);
$this->sections[] = array(
'icon' => 'el-icon-font',
'title' => esc_html__( 'Font Control', 'osmosis' ),
'id' => 'grve_redux_section_font_control',
'submenu' => true,
'customizer' => false,
'fields' => array(
array(
'id' => 'redux_font_control',
'type' => 'custom_fonts'
)
)
);
//Show Sections available only in customizer
if ( ( defined( 'OSMOSIS_GRVE_REDUX_CUSTOM_PANEL' ) && true === OSMOSIS_GRVE_REDUX_CUSTOM_PANEL ) || $this->grve_redux_customizer_visibility() ) {
foreach ( $this->sections as $k => $section ) {
if ( isset( $section['grve_colors'] ) && isset( $section['panel'] ) ) {
unset($this->sections[$k]['panel']);
$this->sections[$k]['subsection'] = true;
}
}
}
foreach ( $this->sections as $k => $section ) {
Redux::set_section( $opt_name, $section );
}
}
public function setArguments( $opt_name ) {
$theme = wp_get_theme();
$theme_version = $theme->get('Version');
if( is_child_theme() ) {
$parent_theme = wp_get_theme( get_template() );
$theme_version .= ' ( ' . $parent_theme->get('Name') .': ' . $parent_theme->get('Version') . ' )';
}
$this->args = array(
'opt_name' => $opt_name, // This is where your data is stored in the database and also becomes your global variable name.
'display_name' => ' ', // Name that appears at the top of your panel
'display_version' => $theme_version, // Version that appears at the top of your panel
'menu_type' => 'submenu', //Specify if the admin menu should appear or not. Options: menu or submenu (Under appearance only)
'allow_sub_menu' => false, // Show the sections below the admin menu item or not
'menu_title' => esc_html__( 'Theme Options', 'osmosis' ),
'page_title' => esc_html__( 'Theme Options', 'osmosis' ),
'disable_google_fonts_link' => false,
'admin_bar' => false, // Show the panel pages on the admin bar
'admin_bar_icon' => 'dashicons-portfolio',
'admin_bar_priority' => 50,
'global_variable' => '',
'dev_mode' => false,
'customizer' => true,
'ajax_save' => true,
'ajax_max_input' => true,
'templates_path' => get_template_directory() . '/includes/admin/templates/panel', //Redux Template files
// OPTIONAL -> Give you extra features
'page_priority' => null, // Order where the menu appears in the admin area. If there is any conflict, something will not show. Warning.
'page_parent' => 'themes.php', // For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
'page_permissions' => 'manage_options', // Permissions needed to access the options panel.
'menu_icon' => get_template_directory_uri() .'/includes/assets/images/adminmenu/theme.png', // Specify a custom URL to an icon
'last_tab' => '', // Force your panel to always open to a specific tab (by id)
'page_icon' => 'icon-themes', // Icon displayed in the admin panel next to your menu_title
'page_slug' => 'grve_options', // Page slug used to denote the panel
'save_defaults' => true, // On load save the defaults to DB before user clicks save or not
'default_show' => false, // If true, shows the default value next to each field that is not the default value.
'default_mark' => '', // What to print by the field's title if the value shown is default. Suggested: *
'show_import_export' => true,
// CAREFUL -> These options are for advanced use only
'transient_time' => 60 * MINUTE_IN_SECONDS,
'output_location' => array( 'frontend', 'admin' ),
'use_cdn' => false,
'compiler' => true,
'flyout_submenus' => false,
'font_display' => 'swap',
'output' => true, // Global shut-off for dynamic CSS output by the framework. Will also disable google fonts output
'output_tag' => true, // Allows dynamic CSS to be generated for customizer and google fonts, but stops the dynamic CSS from going to the head
// FUTURE -> Not in use yet, but reserved or partially implemented. Use at your own risk.
'database' => '', // possible: options, theme_mods, theme_mods_expanded, transient. Not fully functional, warning!
'show_import_export' => true,
'disable_tracking' => true,
'allow_tracking' => false,
'help_tabs' => array(),
'help_sidebar' => '',
'search' => false,
);
// Panel Intro text -> before the form
$this->args['intro_text'] ='';
// Add content after the form.
$this->args['footer_text'] = '';
$this->args['footer_credit'] = ' ';
}
}
global $grveReduxFramework;
$grveReduxFramework = new GRVE_Redux_Framework_config();
}
//Omit closing PHP tag to avoid accidental whitespace output errors.