Sindbad~EG File Manager
<?php
/**
* ReduxFramework Barebones Sample Config File
* For full documentation, please visit: http://docs.reduxframework.com/
*/
if (!class_exists('ReduxFramework')) {
return;
}
// This is your option name where all the Redux data is stored.
$opt_name = "imic_options";
/**
* ---> SET ARGUMENTS
* All the possible arguments for Redux.
* For full documentation on arguments, please refer to: https://github.com/ReduxFramework/ReduxFramework/wiki/Arguments
*
*/
$theme = wp_get_theme(); // For use with some settings. Not necessary.
$args = array(
// TYPICAL -> Change these values as you need/desire
'opt_name' => $opt_name,
// This is where your data is stored in the database and also becomes your global variable name.
'display_name' => $theme->get('Name') ,
// Name that appears at the top of your panel
'display_version' => $theme->get('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' => true,
// Show the sections below the admin menu item or not
'menu_title' => esc_html__('Theme Options', 'framework') ,
'page_title' => esc_html__('Theme Options', 'framework') ,
// You will need to generate a Google API key to use this feature.
// Please visit: https://developers.google.com/fonts/docs/developer_api#Auth
'google_api_key' => '',
// Set it you want google fonts to update weekly. A google_api_key value is required.
'google_update_weekly' => false,
// Must be defined to add google fonts to the typography module
'async_typography' => true,
// Use a asynchronous font on the front end or font string
//'disable_google_fonts_link' => true, // Disable this in case you want to create your own google fonts loader
'admin_bar' => true,
// Show the panel pages on the admin bar
'admin_bar_icon' => 'dashicons-portfolio',
// Choose an icon for the admin bar menu
'admin_bar_priority' => 50,
// Choose an priority for the admin bar menu
'global_variable' => '',
// Set a different name for your global variable other than the opt_name
'dev_mode' => false,
// Show the time the page took to load, etc
'update_notice' => true,
// If dev_mode is enabled, will notify developer of updated versions available in the GitHub Repo
'customizer' => true,
// Enable basic customizer support
//'open_expanded' => true, // Allow you to start the panel in an expanded way initially.
//'disable_save_warn' => true, // Disable the save warning when a user changes a field
// 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' => 'imi-admin-welcome',
// 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' => '',
// 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' => '_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,
// Shows the Import/Export panel when not used as a field.
// CAREFUL -> These options are for advanced use only
'transient_time' => 60 * MINUTE_IN_SECONDS,
'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
// 'footer_credit' => '', // Disable the footer credit of Redux. Please leave if you can help it.
// 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!
'use_cdn' => true,
// If you prefer not to use the CDN for Select2, Ace Editor, and others, you may download the Redux Vendor Support plugin yourself and run locally or embed it in your code.
//'compiler' => true,
// HINTS
'hints' => array(
'icon' => 'el el-question-sign',
'icon_position' => 'right',
'icon_color' => 'lightgray',
'icon_size' => 'normal',
'tip_style' => array(
'color' => 'light',
'shadow' => true,
'rounded' => false,
'style' => '',
) ,
'tip_position' => array(
'my' => 'top left',
'at' => 'bottom right',
) ,
'tip_effect' => array(
'show' => array(
'effect' => 'slide',
'duration' => '500',
'event' => 'mouseover',
) ,
'hide' => array(
'effect' => 'slide',
'duration' => '500',
'event' => 'click mouseleave',
) ,
) ,
)
);
// ADMIN BAR LINKS -> Setup custom links in the admin bar menu as external items.
$args['share_icons'][] = array(
'url' => 'https://www.facebook.com/imithemes',
'title' => 'Like us on Facebook',
'icon' => 'el el-facebook'
);
$args['share_icons'][] = array(
'url' => 'https://twitter.com/imithemes',
'title' => 'Follow us on Twitter',
'icon' => 'el el-twitter'
);
// Panel Intro text -> before the form
if (!isset($args['global_variable']) || $args['global_variable'] !== false)
{
if (!empty($args['global_variable']))
{
$v = $args['global_variable'];
}
else
{
$v = str_replace('-', '_', $args['opt_name']);
}
}
else
{
}
Redux::setArgs($opt_name, $args);
load_theme_textdomain('framework', ADORE_FILEPATH . '/language');
$defaultLogo = get_template_directory_uri() . '/assets/images/logo.png';
$defaultAdminLogo = get_template_directory_uri() . '/assets/images/logo@2x.png';
$defaultBannerImages = get_template_directory_uri() . '/assets/images/page-header1.jpg';
$default_logo = get_template_directory_uri() . '/assets/images/logo.png';
$default_favicon = get_template_directory_uri() . '/assets/images/favicon.ico';
$default_iphone = get_template_directory_uri() . '/assets/images/apple-iphone.png';
$default_iphone_retina = get_template_directory_uri() . '/assets/images/apple-iphone-retina.png';
$default_ipad = get_template_directory_uri() . '/assets/images/apple-ipad.png';
$default_ipad_retina = get_template_directory_uri() . '/assets/images/apple-ipad-retina.png';
$default_podcast_image = get_template_directory_uri() . '/assets/images/cover.png';
// -> START Basic Fields
Redux::setSection($opt_name, array(
'icon' => 'el-icon-cogs',
'icon_class' => 'icon-large',
'title' => __('General', 'framework') ,
'fields' => array(
array(
'id' => 'enable_maintenance',
'type' => 'switch',
'title' => __('Enable Maintenance', 'framework') ,
'subtitle' => __('Enable the themes in maintenance mode.', 'framework') ,
"default" => 0,
'on' => __('Enabled', 'framework') ,
'off' => __('Disabled', 'framework') ,
) ,
array(
'id' => 'print_stylesheet',
'type' => 'switch',
'title' => __('Print Stylesheet', 'framework') ,
'subtitle' => __('Enable/Disable print stylesheet', 'framework') ,
"default" => 1,
) ,
array(
'id' => 'enable_backtotop',
'type' => 'switch',
'title' => __('Enable Back To Top', 'framework') ,
'subtitle' => __('Enable the back to top button that appears in the bottom right corner of the screen.', 'framework') ,
"default" => 1,
) ,
array(
'id' => 'enable_rtl',
'type' => 'switch',
'title' => __('Enable RTL', 'framework') ,
'subtitle' => __('If you are using wordpress for RTL languages then you should enable this option.', 'framework') ,
"default" => 0,
) ,
array(
'id' => 'tracking-code',
'type' => 'ace_editor',
'title' => __('Tracking Code', 'framework') ,
'subtitle' => __('Paste your Google Analytics (or other) tracking code here. This will be added into the header template of your theme. Please put code without opening and closing script tags.', 'framework') ,
'default' => '',
) ,
array(
'id' => 'space-before-head',
'type' => 'ace_editor',
'title' => __('Space before closing head tag', 'framework') ,
'subtitle' => __('Add your code before closing head tag', 'framework') ,
'default' => '',
) ,
array(
'id' => 'space-before-body',
'type' => 'ace_editor',
'title' => __('Space before closing body tag', 'framework') ,
'subtitle' => __('Add your code before closing body tag', 'framework') ,
'default' => '',
) ,
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-website',
'icon_class' => 'icon-large',
'title' => __('Responsive', 'framework') ,
'fields' => array(
array(
'id' => 'switch-responsive',
'type' => 'switch',
'title' => __('Enable Responsive', 'framework') ,
'subtitle' => __('Enable/Disable the responsive behaviour of the theme', 'framework') ,
"default" => 1,
) ,
array(
'id' => 'switch-zoom-pinch',
'type' => 'switch',
'title' => __('Enable Zoom on mobile devices', 'framework') ,
'subtitle' => __('Enable/Disable zoom pinch behaviour on touch devices', 'framework') ,
"default" => 0,
) ,
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-screen',
'title' => __('Layout', 'framework') ,
'fields' => array(
array(
'id' => 'site_width',
'type' => 'text',
'compiler' => true,
'title' => __('Site Width', 'framework') ,
'subtitle' => __('Controls the overall site width. ex: 1040(Default). Recommended maximum width is 1170 to maintain the theme structure.', 'framework') ,
'desc' => __('DO NOT PUT px HERE', 'framework') ,
'default' => '1080',
) ,
array(
'id' => 'site_layout',
'type' => 'image_select',
'compiler' => true,
'title' => __('Page Layout', 'framework') ,
'subtitle' => __('Select the page layout type', 'framework') ,
'options' => array(
'wide' => array(
'alt' => 'Wide',
'img' => get_template_directory_uri() . '/assets/images/wide.png'
) ,
'boxed' => array(
'alt' => 'Boxed',
'img' => get_template_directory_uri() . '/assets/images/boxed.png'
)
) ,
'default' => 'wide',
) ,
array(
'id' => 'repeatable-bg-image',
'type' => 'image_select',
'required' => array(
'site_layout',
'equals',
'boxed'
) ,
'title' => __('Repeatable Background Images', 'framework') ,
'subtitle' => __('Select image to set in background.', 'framework') ,
'options' => array(
'pt1.png' => array(
'alt' => 'pt1',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt1.png'
) ,
'pt2.png' => array(
'alt' => 'pt2',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt2.png'
) ,
'pt3.png' => array(
'alt' => 'pt3',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt3.png'
) ,
'pt4.png' => array(
'alt' => 'pt4',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt4.png'
) ,
'pt5.png' => array(
'alt' => 'pt5',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt5.png'
) ,
'pt6.png' => array(
'alt' => 'pt6',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt6.png'
) ,
'pt7.png' => array(
'alt' => 'pt7',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt7.png'
) ,
'pt8.png' => array(
'alt' => 'pt8',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt8.png'
) ,
'pt9.png' => array(
'alt' => 'pt9',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt9.png'
) ,
'pt10.png' => array(
'alt' => 'pt10',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt10.png'
) ,
'pt11.jpg' => array(
'alt' => 'pt11',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt11.png'
) ,
'pt12.jpg' => array(
'alt' => 'pt12',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt12.png'
) ,
'pt13.jpg' => array(
'alt' => 'pt13',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt13.png'
) ,
'pt14.jpg' => array(
'alt' => 'pt14',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt14.png'
) ,
'pt15.jpg' => array(
'alt' => 'pt15',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt15.png'
) ,
'pt16.png' => array(
'alt' => 'pt16',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt16.png'
) ,
'pt17.png' => array(
'alt' => 'pt17',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt17.png'
) ,
'pt18.png' => array(
'alt' => 'pt18',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt18.png'
) ,
'pt19.png' => array(
'alt' => 'pt19',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt19.png'
) ,
'pt20.png' => array(
'alt' => 'pt20',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt20.png'
) ,
'pt21.png' => array(
'alt' => 'pt21',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt21.png'
) ,
'pt22.png' => array(
'alt' => 'pt22',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt22.png'
) ,
'pt23.png' => array(
'alt' => 'pt23',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt23.png'
) ,
'pt24.png' => array(
'alt' => 'pt24',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt24.png'
) ,
'pt25.png' => array(
'alt' => 'pt25',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt25.png'
) ,
'pt26.png' => array(
'alt' => 'pt26',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt26.png'
) ,
'pt27.png' => array(
'alt' => 'pt27',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt27.png'
) ,
'pt28.png' => array(
'alt' => 'pt28',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt28.png'
) ,
'pt29.png' => array(
'alt' => 'pt29',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt29.png'
) ,
'pt30.png' => array(
'alt' => 'pt30',
'img' => get_template_directory_uri() . '/assets/images/patterns-t/pt30.png'
)
)
) ,
array(
'id' => 'upload-repeatable-bg-image',
'compiler' => true,
'required' => array(
'site_layout',
'equals',
'boxed'
) ,
'type' => 'media',
'url' => true,
'title' => __('Upload Repeatable Background Image', 'framework')
) ,
array(
'id' => 'full-screen-bg-image',
'compiler' => true,
'required' => array(
'site_layout',
'equals',
'boxed'
) ,
'type' => 'media',
'url' => true,
'title' => __('Upload Full Screen Background Image', 'framework')
) ,
) ,
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-ok',
'title' => __('Content', 'framework') ,
'desc' => __('These are the options for the contet area.', 'framework') ,
'subsection' => true,
'fields' => array(
array(
'id' => 'content_padding_dimensions',
'type' => 'spacing',
'units' => array(
'px'
) ,
'mode' => 'padding',
'left' => false,
'right' => false,
'output' => array(
'.content'
) ,
'title' => __('Top and Bottom padding for page content', 'framework') ,
'subtitle' => __('Enter top and bottom padding for page content. Default is 50px/50px', 'framework') ,
'default' => array(
'padding-top' => '50px',
'padding-bottom' => '50px',
'units' => 'px',
) ,
) ,
array(
'id' => 'content_min_height',
'type' => 'text',
'title' => __('Minimum Height for Content', 'framework') ,
'subtitle' => __('Enter minimum height for the page content part(Without px). Default is 400', 'framework') ,
'default' => '400px'
) ,
array(
'id' => 'content_area_background',
'type' => 'background',
'output' => array(
'.content'
) ,
'title' => __('Content area Background', 'framework') ,
'default' => array()
) ,
array(
'id' => 'content_wide_width',
'type' => 'checkbox',
'compiler' => true,
'title' => __('100% Content Width', 'framework') ,
'subtitle' => __('Check this box to set the content to 100% of the browser width. Uncheck to follow site width. Only works with wide layout mode', 'framework') ,
'default' => '0',
) ,
) ,
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-chevron-up',
'title' => __('Header', 'framework') ,
'desc' => __('These are the options for the header.', 'framework') ,
'fields' => array(
array(
'id' => 'header_layout',
'type' => 'image_select',
'compiler' => true,
'title' => __('Header Layout', 'framework') ,
'subtitle' => __('Select the Header layout', 'framework') ,
'options' => array(
'header-style1' => array(
'title' => '',
'img' => get_template_directory_uri() . '/assets/images/headerLayout/header-style1.png'
) ,
'header-style2' => array(
'title' => '',
'img' => get_template_directory_uri() . '/assets/images/headerLayout/header-style2.png'
) ,
'header-style3' => array(
'title' => '',
'img' => get_template_directory_uri() . '/assets/images/headerLayout/header-style3.png'
) ,
'header-style4' => array(
'title' => '',
'img' => get_template_directory_uri() . '/assets/images/headerLayout/header-style4.png'
) ,
'header-style5' => array(
'title' => '',
'img' => get_template_directory_uri() . '/assets/images/headerLayout/header-style5.png'
) ,
) ,
'default' => 'header-style1'
) ,
array(
'id' => 'enable-search',
'type' => 'switch',
'title' => __('Enable search with menu', 'framework') ,
'subtitle' => __('Enable/Disable search icon next to your main menu to open search form', 'framework') ,
"default" => 0,
) ,
array(
'id' => 'enable-cart',
'type' => 'switch',
'title' => __('Enable cart with menu', 'framework') ,
'subtitle' => __('Enable/Disable cart icon next to your main menu to open cart', 'framework') ,
"default" => 0,
) ,
array(
'id' => 'header_social_links',
'type' => 'sortable',
'required' => array(
'header_layout',
'equals',
'header-style4'
) ,
'label' => true,
'compiler' => true,
'title' => __('Social Links', 'framework') ,
'desc' => __('Enter the social links and sort to active and display according to sequence in header.', 'framework') ,
'options' => array(
'fa-facebook' => 'facebook',
'fa-twitter' => 'twitter',
'fa-pinterest' => 'pinterest',
'fa-google-plus' => 'google',
'fa-youtube' => 'youtube',
'fa-instagram' => 'instagram',
'fa-vimeo-square' => 'vimeo',
'fa-rss' => 'rss',
'fa-dribbble' => 'dribbble',
'fa-dropbox' => 'dropbox',
'fa-bitbucket' => 'bitbucket',
'fa-flickr' => 'flickr',
'fa-foursquare' => 'foursquare',
'fa-github' => 'github',
'fa-gittip' => 'gittip',
'fa-linkedin' => 'linkedin',
'fa-pagelines' => 'pagelines',
'fa-skype' => 'skype',
'fa-tumblr' => 'tumblr',
'fa-vk' => 'vk',
'fa-patreon' => 'patreon'
) ,
) ,
array(
'id' => 'header_wide_width',
'type' => 'checkbox',
'compiler' => true,
'title' => __('100% Header Width', 'framework') ,
'subtitle' => __('Check this box to set the header to 100% of the browser width. Uncheck to follow site width. Only works with wide layout mode. Not available for Header Style 5', 'framework') ,
'default' => '0',
) ,
array(
'id' => 'header_background_alpha',
'type' => 'color_rgba',
'output' => array(
'background-color' => '.site-header, .header-style2 .site-header, .header-style3 .site-header, .header-style4 .site-header, .header-style5 .site-header'
) ,
'title' => __('Header Background Color', 'framework') ,
'subtitle' => __('<strong>Defaults:</strong><br>Header Style 1: none<br>Header Style 2: #ffffff<br>Header Style 3: rgba(255,255,255,.9)<br>Header Style 4: #ffffff<br>Header Style 5: #ffffff', 'framework') ,
'options' => array(
'show_input' => true,
'show_initial' => true,
'show_alpha' => true,
'show_palette' => false,
'show_palette_only' => false,
'show_selection_palette' => true,
'max_palette_size' => 10,
'allow_empty' => true,
'clickout_fires_change' => false,
'choose_text' => 'Choose',
'cancel_text' => 'Cancel',
'show_buttons' => true,
'use_extended_classes' => true,
'palette' => null, // show default
'input_text' => 'Select Color'
) ,
'default' => array() ,
) ,
array(
'id' => 'header_background_image',
'type' => 'background',
'background-color' => false,
'output' => array(
'.site-header, .header-style2 .site-header, .header-style3 .site-header, .header-style4 .site-header, .header-style5 .site-header'
) ,
'title' => __('Header Background Image', 'framework') ,
'subtitle' => __('This will override the color style defined just above.', 'framework') ,
'default' => array()
) ,
) ,
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-ok',
'title' => __('Sticky Header', 'framework') ,
'subsection' => true,
'fields' => array(
array(
'id' => 'switch_sticky_header',
'type' => 'switch',
'title' => __('Sticky Header', 'framework') ,
'subtitle' => __('Enable/Disable sticky header behavior', 'framework') ,
"default" => 1,
) ,
array(
'id' => 'sticky_header_height',
'type' => 'text',
'title' => __('Header height when its stikcy (Widthout px) just put number', 'framework') ,
'subtitle' => __('The logo in sticky header will be of this height as well.', 'framework') ,
'default' => '60'
) ,
array(
'id' => 'sticky_logo_upload',
'required' => array(
'logo_type',
'equals',
'1'
) ,
'type' => 'media',
'url' => true,
'title' => __('Upload Logo Image for Sticky Header', 'framework') ,
'subtitle' => __('Upload site logo image for sticky header. If left empty then your default logo will be used.', 'framework') ,
'default' => array('url' => $default_logo),
) ,
array(
'id' => 'sticky_retina_logo_upload',
'required' => array(
'logo_type',
'equals',
'1'
) ,
'type' => 'media',
'url' => true,
'title' => __('Upload Logo for Retina Devices for Sticky Header', 'framework') ,
'desc' => __('Retina Display is a marketing term developed by Apple to refer to devices and monitors that have a resolution and pixel density so high – roughly 300 or more pixels per inch', 'framework') ,
'subtitle' => __('Upload site logo to display in header.', 'framework') ,
'default' => '',
) ,
array(
'id' => 'sticky_retina_logo_width',
'required' => array(
'logo_type',
'equals',
'1'
) ,
'type' => 'text',
'title' => __('Standard Logo Width for Retina Logo for Sticky Header', 'framework') ,
'subtitle' => __('If retina logo is uploaded, enter the standard logo (1x) version width, do not enter the retina logo width.', 'framework') ,
'default' => ''
) ,
array(
'id' => 'sticky_retina_logo_height',
'required' => array(
'logo_type',
'equals',
'1'
) ,
'type' => 'text',
'title' => __('Standard Logo Height for Retina Logo for Sticky Header', 'framework') ,
'subtitle' => __('If retina logo is uploaded, enter the standard logo (1x) version height, do not enter the retina logo height.', 'framework') ,
'default' => ''
) ,
array(
'id' => 'sticky_header_background_alpha',
'type' => 'color_rgba',
'output' => array(
'background' => '.site-header.sticky-header, .header-style2 .site-header.sticky-header, .header-style3 .site-header.sticky-header, .header-style4 .site-header.sticky-header, .header-style5 .site-header.sticky-header'
) ,
'title' => __('Sticky Header Background', 'framework') ,
'subtitle' => __('Default: rgba(255, 255, 255, 0.9)', 'framework') ,
'desc' => __('You can put in opaque color here for sticky header.', 'framework') ,
'options' => array(
'show_input' => true,
'show_initial' => true,
'show_alpha' => true,
'show_palette' => false,
'show_palette_only' => false,
'show_selection_palette' => true,
'max_palette_size' => 10,
'allow_empty' => true,
'clickout_fires_change' => false,
'choose_text' => 'Choose',
'cancel_text' => 'Cancel',
'show_buttons' => true,
'use_extended_classes' => true,
'palette' => null, // show default
'input_text' => 'Select Color'
) ,
'default' => array(
'color' => '#ffffff',
'alpha' => .9
) ,
) ,
) ,
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-ok',
'title' => __('Inner Page Header', 'framework') ,
'subsection' => true,
'fields' => array(
array(
'id' => 'header_image',
'type' => 'media',
'url' => true,
'title' => __('Header Image', 'framework') ,
'desc' => __('Default header image for post types.', 'framework') ,
'subtitle' => __('Set this image as default header image for all Page/Post/Event/Sermons/Gallery.', 'framework') ,
'default' => array(
'url' => ''
) ,
) ,
array(
'id' => 'subpage_header_height',
'type' => 'text',
'title' => __('Minimum Height for Sub Pages Header', 'framework') ,
'subtitle' => __('Enter minimum height for the sub pages header part(Without px). This can be overridden by individual page header meta field value. Default is 250', 'framework') ,
'desc' => __('Nivo Slider, Revolution Slider, Layer Slider comes with their auto height as per the images you upload for their slides aor settings of the slider itself.', 'framework') ,
'default' => '250'
) ,
) ,
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-upload',
'title' => __('Logo', 'framework') ,
'fields' => array(
array(
'id' => 'logo_type',
'type' => 'button_set',
'compiler' => true,
'title' => __('Logo Type', 'framework') ,
'subtitle' => __('Select logo type', 'framework') ,
'options' => array(
'0' => __('Text Logo', 'framework') ,
'1' => __('Image Logo', 'framework')
) ,
'default' => '0',
) ,
array(
'id' => 'logo_icon',
'required' => array(
'logo_type',
'equals',
'0'
) ,
'type' => 'text',
'title' => __('Font Icon', 'framework') ,
'subtitle' => __('Insert Font Icon code <a href="https://fontawesome.com/icons?d=gallery&m=free">Font Awesome</a>', 'framework') ,
'default' => 'fa-heart'
) ,
array(
'id' => 'logo_text',
'required' => array(
'logo_type',
'equals',
'0'
) ,
'type' => 'text',
'title' => __('Logo Text', 'framework') ,
'subtitle' => __('Enter logo text. Text inside span tags will be normal else will be bold font.', 'framework') ,
'default' => 'Adore<span>Church</span>'
) ,
array(
'id' => 'text_logo_color',
'type' => 'color_rgba',
'output' => array(
'color' => '.body .site-logo h1 a',
'border-color' => '.body .site-logo .logo-icon'
) ,
'title' => __('Text Logo Color', 'framework') ,
'subtitle' => __('Default: #ffffff', 'framework') ,
'options' => array(
'show_input' => true,
'show_initial' => true,
'show_alpha' => true,
'show_palette' => false,
'show_palette_only' => false,
'show_selection_palette' => true,
'max_palette_size' => 10,
'allow_empty' => true,
'clickout_fires_change' => false,
'choose_text' => 'Choose',
'cancel_text' => 'Cancel',
'show_buttons' => true,
'use_extended_classes' => true,
'palette' => null, // show default
'input_text' => 'Select Color'
) ,
'default' => array(
'color' => '#ffffff',
'alpha' => 1
) ,
) ,
array(
'id' => 'text_logo_typo',
'type' => 'typography',
'title' => __('Text Logo typography', 'framework') ,
'subtitle' => __('<strong>Defaults:</strong><br>Font Family - Roboto<br>Font weight - Bold<br>Font Size - 16px<br>Line Height - 30px<br>Letter Spacing - 0px<br>Color - #ffffff<br>Text transform - Uppercase', 'framework') ,
'google' => true,
'font-backup' => true,
'subsets' => true,
'color' => true,
'font-family' => true,
'font-style' => false,
'font-weight' => false,
'preview' => true,
'text-align' => false,
'font-size' => false,
'line-height' => false,
'text-transform' => true,
'letter-spacing' => true,
'output' => array(
'.site-logo h1 a'
) ,
'units' => 'px',
'default' => array() ,
) ,
array(
'id' => 'sticky_text_logo_color',
'type' => 'color_rgba',
'output' => array(
'color' => '.sticky-header .site-logo h1 a',
'border-color' => '.sticky-header .site-logo .logo-icon'
) ,
'title' => __('Sticky Header Text Logo Color', 'framework') ,
'subtitle' => __('Default: #222222', 'framework') ,
'options' => array(
'show_input' => true,
'show_initial' => true,
'show_alpha' => true,
'show_palette' => false,
'show_palette_only' => false,
'show_selection_palette' => true,
'max_palette_size' => 10,
'allow_empty' => true,
'clickout_fires_change' => false,
'choose_text' => 'Choose',
'cancel_text' => 'Cancel',
'show_buttons' => true,
'use_extended_classes' => true,
'palette' => null, // show default
'input_text' => 'Select Color'
) ,
'default' => array(
'color' => '#222222',
'alpha' => 1
) ,
) ,
array(
'id' => 'logo_upload',
'required' => array(
'logo_type',
'equals',
'1'
) ,
'type' => 'media',
'url' => true,
'title' => __('Upload Logo', 'framework') ,
'subtitle' => __('Upload site logo to display in header. Keep it below 250px wide for best results.', 'framework') ,
'default' => array(
'url' => $default_logo
) ,
) ,
array(
'id' => 'logo_alt_text',
'required' => array(
'logo_type',
'equals',
'1'
) ,
'type' => 'text',
'title' => __('Logo Image Alt Text', 'framework') ,
'subtitle' => __('Enter logo image alternative text. This will appear in browser tooltip on logo image hover.', 'framework') ,
'default' => 'Logo'
) ,
array(
'id' => 'retina_logo_upload',
'required' => array(
'logo_type',
'equals',
'1'
) ,
'type' => 'media',
'url' => true,
'title' => __('Upload Logo for Retina Devices', 'framework') ,
'desc' => __('Retina Display is a marketing term developed by Apple to refer to devices and monitors that have a resolution and pixel density so high – roughly 300 or more pixels per inch', 'framework') ,
'subtitle' => __('Upload site logo to display in header.', 'framework') ,
'default' => array(
'url' => $defaultAdminLogo
) ,
) ,
array(
'id' => 'retina_logo_width',
'required' => array(
'logo_type',
'equals',
'1'
) ,
'type' => 'text',
'title' => __('Standard Logo Width for Retina Logo', 'framework') ,
'subtitle' => __('If retina logo is uploaded, enter the standard logo (1x) version width, do not enter the retina logo width.', 'framework') ,
'default' => ''
) ,
array(
'id' => 'retina_logo_height',
'required' => array(
'logo_type',
'equals',
'1'
) ,
'type' => 'text',
'title' => __('Standard Logo Height for Retina Logo', 'framework') ,
'subtitle' => __('If retina logo is uploaded, enter the standard logo (1x) version height, do not enter the retina logo height.', 'framework') ,
'default' => ''
) ,
) ,
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-ok',
'title' => __('Admin Logo', 'framework') ,
'subsection' => true,
'fields' => array(
array(
'id' => 'custom_admin_login_logo',
'type' => 'media',
'url' => true,
'title' => __('Custom admin login logo', 'framework') ,
'compiler' => 'true',
//'mode' => false, // Can be set to false to allow any media type, or can also be set to any mime type.
'desc' => __('Upload a 254 x 95px image here to replace the admin login logo.', 'framework') ,
'default' => array(
'url' => $defaultAdminLogo
) ,
)
) ,
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-ok',
'title' => __('Favicon options', 'framework') ,
'subsection' => true,
'fields' => array(
array(
'id' => 'custom_favicon',
'type' => 'media',
'compiler' => 'true',
'title' => __('Custom favicon', 'framework') ,
'desc' => __('Upload a image that will represent your website favicon', 'framework') ,
'default' => array(
'url' => $default_favicon
) ,
) ,
array(
'id' => 'iphone_icon',
'type' => 'media',
'compiler' => 'true',
'title' => __('Apple iPhone Icon', 'framework') ,
'desc' => __('Upload Favicon for Apple iPhone (57px x 57px)', 'framework') ,
'default' => array(
'url' => $default_iphone
) ,
) ,
array(
'id' => 'iphone_icon_retina',
'type' => 'media',
'compiler' => 'true',
'title' => __('Apple iPhone Retina Icon', 'framework') ,
'desc' => __('Upload Favicon for Apple iPhone Retina Version (114px x 114px)', 'framework') ,
'default' => array(
'url' => $default_iphone_retina
) ,
) ,
array(
'id' => 'ipad_icon',
'type' => 'media',
'compiler' => 'true',
'title' => __('Apple iPad Icon', 'framework') ,
'desc' => __('Upload Favicon for Apple iPad (72px x 72px)', 'framework') ,
'default' => array(
'url' => $default_ipad
) ,
) ,
array(
'id' => 'ipad_icon_retina',
'type' => 'media',
'compiler' => 'true',
'title' => __('Apple iPad Retina Icon Upload', 'framework') ,
'desc' => __('Upload Favicon for Apple iPad Retina Version (144px x 144px)', 'framework') ,
'default' => array(
'url' => $default_ipad_retina
) ,
) ,
) ,
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-lines',
'title' => __('Menu', 'framework') ,
'subtitle' => __('Style elements for navigations', 'framework') ,
'fields' => array(
array(
'id' => 'main_nav_typo',
'type' => 'typography',
'title' => __('Navigation Typography', 'framework') ,
'subtitle' => __('<strong>Defaults:</strong><br>Font Family - Roboto<br>Font weight - Normal<br>Font Size - 12px<br>Letter Spacing - 2px<br>Text transform - Uppercase', 'framework') ,
'google' => true,
'font-backup' => true,
'subsets' => true,
'color' => false,
'font-family' => true,
'font-style' => true,
'font-weight' => true,
'preview' => true,
'text-align' => false,
'font-size' => true,
'line-height' => false,
'letter-spacing' => true,
'text-transform' => true,
'output' => array(
'.main-navigation > ul > li > a'
) ,
'units' => 'px',
'default' => array() ,
) ,
array(
'id' => 'main_nav_color',
'type' => 'link_color',
'title' => __('Navigation Link Color', 'framework') ,
'subtitle' => __('Default Regular: #222222<br>Hover: Your primary color<br>Active: Your primary color', 'framework') ,
'desc' => __('Set the main navigation parent links color, hover, active.', 'framework') ,
'output' => array(
'.body .main-navigation > ul > li > a'
) ,
'default' => array()
) ,
array(
'id' => 'sticky_main_nav_color',
'type' => 'link_color',
'title' => __('Sticky Header Navigation Link Color', 'framework') ,
'subtitle' => __('Default Regular: #222222<br>Hover: Your primary color<br>Active: Your primary color', 'framework') ,
'desc' => __('Set the main navigation parent links color, hover, active.', 'framework') ,
'output' => array(
'.body .sticky-header .main-navigation > ul > li > a'
) ,
'default' => array()
) ,
array(
'id' => 'main_dropdown_background_alpha',
'type' => 'color_rgba',
'output' => array(
'background-color' => '.main-navigation > ul > li ul',
'border-bottom-color' => '.main-navigation > ul > li ul:before',
'border-right-color' => '.main-navigation > ul > li ul li ul:before'
) ,
'title' => __('Navigation Dropdown Background', 'framework') ,
'subtitle' => __('Default: #ffffff', 'framework') ,
'options' => array(
'show_input' => true,
'show_initial' => true,
'show_alpha' => true,
'show_palette' => false,
'show_palette_only' => false,
'show_selection_palette' => true,
'max_palette_size' => 10,
'allow_empty' => true,
'clickout_fires_change' => false,
'choose_text' => 'Choose',
'cancel_text' => 'Cancel',
'show_buttons' => true,
'use_extended_classes' => true,
'palette' => null, // show default
'input_text' => 'Select Color'
) ,
'default' => array(
'color' => '#ffffff',
'alpha' => 1
) ,
) ,
array(
'id' => 'main_dropdown_border',
'type' => 'border',
'title' => __('Navigation Dropdown Links Border Bottom', 'framework') ,
'subtitle' => __('Default: 1px solid #f8f7f3', 'framework') ,
'output' => array(
'.main-navigation > ul > li > ul li > a'
) ,
'top' => false,
'left' => false,
'right' => false,
'default' => array(
'border-color' => '#f8f7f3',
'border-style' => 'solid',
'border-width' => '1px',
)
) ,
array(
'id' => 'main_dropdown_typo',
'type' => 'typography',
'title' => __('Navigation Dropdown Typography', 'framework') ,
'subtitle' => __('<strong>Defaults:</strong><br>Font Family - Roboto<br>Font weight - Normal<br>Font Size - 12px<br>Line Height - 20px<br>Letter Spacing - 1px<br>Text transform - none', 'framework') ,
'google' => true,
'font-backup' => true,
'subsets' => true,
'color' => false,
'font-family' => true,
'font-style' => true,
'font-weight' => true,
'preview' => true,
'text-align' => false,
'font-size' => true,
'line-height' => true,
'text-transform' => true,
'letter-spacing' => true,
'output' => array(
'.main-navigation > ul > li > ul li > a'
) ,
'units' => 'px',
'default' => array() ,
) ,
array(
'id' => 'main_dropdown_link_color',
'type' => 'link_color',
'title' => __('Navigation Dropdown Link Color', 'framework') ,
'subtitle' => __('Default Regular: #222222<br>Hover: Your primary color<br>Active: Your primary color', 'framework') ,
'desc' => __('Set the dropdown menu links color, hover, active.', 'framework') ,
'output' => array(
'.body .main-navigation > ul > li > ul li > a'
) ,
'default' => array()
) ,
array(
'id' => 'megamenu_col_typo',
'type' => 'typography',
'title' => __('Megamenu Column Title Typography', 'framework') ,
'subtitle' => __('<strong>Defaults:</strong><br>Font Family - Roboto<br>Font weight - Normal<br>Font Size - 14px<br>Line Height - 20px<br>Letter Spacing - 0<br>Text transform - Uppercase<br>Color - #999999', 'framework') ,
'google' => true,
'font-backup' => true,
'subsets' => true,
'color' => true,
'font-family' => true,
'font-style' => true,
'font-weight' => true,
'preview' => true,
'text-align' => false,
'font-size' => true,
'line-height' => true,
'text-transform' => true,
'letter-spacing' => true,
'output' => array(
'.main-navigation .megamenu-container .megamenu-sub-title'
) ,
'units' => 'px',
'default' => array() ,
),
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-ok',
'title' => esc_html__('Mobile Menu', 'framework'),
'subsection' => true,
'fields' => array(
array(
'id' => 'mobile_menu_bg',
'type' => 'color_rgba',
'title' => __('Mobile Navigation Background', 'framework') ,
'subtitle' => __('Default: #ffffff', 'framework') ,
'options' => array(
'show_input' => true,
'show_initial' => true,
'show_alpha' => true,
'show_palette' => false,
'show_palette_only' => false,
'show_selection_palette' => true,
'max_palette_size' => 10,
'allow_empty' => true,
'clickout_fires_change' => false,
'choose_text' => 'Choose',
'cancel_text' => 'Cancel',
'show_buttons' => true,
'use_extended_classes' => true,
'palette' => null, // show default
'input_text' => 'Select Color'
) ,
) ,
array(
'id' => 'mobile_menu_color',
'type' => 'link_color',
'title' => __('Mobile Navigation Link Color', 'framework') ,
'subtitle' => __('Default Regular: #222222<br>Hover: Your primary color<br>Active: Your primary color', 'framework') ,
'default' => array()
) ,
array(
'id' => 'mobile_menu_border',
'type' => 'border',
'all' => false,
'title' => __('Mobile Navigation Dropdown Links Border Bottom', 'framework') ,
'subtitle' => __('Default: 1 solid #f8f7f3', 'framework') ,
'top' => false,
'left' => false,
'right' => false,
),
array(
'id' => 'mmenu_subm_opener_dim',
'type' => 'dimensions',
'units' => 'px',
'output' => array('.smenu-opener'),
'title' => esc_html__('Width/Height of the sub menu opener', 'framework'),
'default' => array(
'width' => '75px',
'height' => '45px'
),
),
array(
'id' => 'mmenu_subm_opener_bg',
'type' => 'background',
'background-image' => false,
'background-repeat' => false,
'background-size' => false,
'background-position' => false,
'background-attachment' => false,
'preview' => false,
'transparent' => false,
'title' => esc_html__('Background color for mobile sub menu opener', 'framework'),
'output' => array('.smenu-opener'),
),
array(
'id' => 'mmenu_subm_opener_typo',
'type' => 'typography',
'text-transform' => false,
'font-family' => false,
'font-weight' => false,
'font-style' => false,
'color' => false,
'text-align' => false,
'line-height' => false,
'preview' => false,
'title' => esc_html__('Mobile sub menu opener icon size', 'framework'),
'output' => array('.smenu-opener'),
'default' => array(
'font-size' => '16px'
)
),
array(
'id' => 'mmenu_subm_opener_color',
'type' => 'link_color',
'active' => false,
'title' => esc_html__('Mobile sub menu opener icon color', 'framework'),
'output' => array('.smenu-opener')
),
array(
'id' => 'mmenu_subsubm_opener_dim',
'type' => 'dimensions',
'units' => 'px',
'output' => array('.sf-menu ul li .smenu-opener'),
'title' => esc_html__('Width/Height of the sub sub menu opener', 'framework'),
'default' => array(
'width' => '75px',
'height' => '45px'
),
),
array(
'id' => 'mmenu_subsubm_opener_bg',
'type' => 'background',
'background-image' => false,
'background-repeat' => false,
'background-size' => false,
'background-position' => false,
'background-attachment' => false,
'preview' => false,
'transparent' => false,
'title' => esc_html__('Background color for mobile sub sub menu opener', 'framework'),
'output' => array('.sf-menu ul li .smenu-opener'),
),
array(
'id' => 'mmenu_subsubm_opener_typo',
'type' => 'typography',
'text-transform' => false,
'font-family' => false,
'font-weight' => false,
'font-style' => false,
'color' => false,
'text-align' => false,
'line-height' => false,
'preview' => false,
'title' => esc_html__('Mobile sub menu opener icon size', 'framework'),
'output' => array('.sf-menu ul li .smenu-opener'),
'default' => array(
'font-size' => '16px'
)
),
array(
'id' => 'mmenu_subsubm_opener_color',
'type' => 'link_color',
'active' => false,
'title' => esc_html__('Mobile sub sub menu opener icon color', 'framework'),
'output' => array('.sf-menu ul li .smenu-opener')
),
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-chevron-down',
'title' => __('Footer', 'framework') ,
'desc' => __('These are the options for the footer.', 'framework') ,
'fields' => array(
array(
'id' => 'footer_layout',
'type' => 'image_select',
'compiler' => true,
'title' => __('Footer Layout', 'framework') ,
'subtitle' => __('Select the footer layout', 'framework') ,
'options' => array(
'12' => array(
'title' => '',
'img' => get_template_directory_uri() . '/assets/images/footerColumns/footer-1.png'
) ,
'6' => array(
'title' => '',
'img' => get_template_directory_uri() . '/assets/images/footerColumns/footer-2.png'
) ,
'4' => array(
'title' => '',
'img' => get_template_directory_uri() . '/assets/images/footerColumns/footer-3.png'
) ,
'3' => array(
'title' => '',
'img' => get_template_directory_uri() . '/assets/images/footerColumns/footer-4.png'
) ,
'2' => array(
'title' => '',
'img' => get_template_directory_uri() . '/assets/images/footerColumns/footer-5.png'
) ,
) ,
'default' => '4'
) ,
array(
'id' => 'footer_skin',
'type' => 'image_select',
'compiler' => true,
'title' => __('Footer Style', 'framework') ,
'subtitle' => __('Select the Footer style', 'framework') ,
'options' => array(
'' => array(
'title' => '',
'img' => get_template_directory_uri() . '/assets/images/footerSkins/light.png'
) ,
'footer-dark' => array(
'title' => '',
'img' => get_template_directory_uri() . '/assets/images/footerSkins/dark.png'
) ,
) ,
'default' => ''
) ,
array(
'id' => 'footer_copyright_text',
'type' => 'text',
'title' => __('Footer Copyright Text', 'framework') ,
'subtitle' => __(' Enter Copyright Text', 'framework') ,
'default' => __('All Rights Reserved', 'framework')
) ,
array(
'id' => 'footer_infobar',
'type' => 'button_set',
'compiler' => true,
'title' => __('Footer Info Bar', 'framework') ,
'subtitle' => __('Enable/Disable Info bar in the footer just below the widgets.', 'framework') ,
'options' => array(
'1' => __('Enable', 'framework') ,
'0' => __('Disable', 'framework')
) ,
'default' => '1',
) ,
array(
'id' => 'website_info',
'type' => 'editor',
'required' => array(
'footer_infobar',
'equals',
'1'
) ,
'title' => __('Info bar content', 'framework') ,
'subtitle' => __('Insert static content or any shortcode for the Info Bar. If Social icons are enabled then it this area will be 3/4 of the full bar else will be full width.', 'framework') ,
'default' => '',
'args' => array(
'teeny' => false,
'tinymce' => true,
'textarea_rows' => 6
)
) ,
array(
'id' => 'footer_social_switch',
'type' => 'button_set',
'required' => array(
'footer_infobar',
'equals',
'1'
) ,
'compiler' => true,
'title' => __('Footer Info Bar Social Icons', 'framework') ,
'subtitle' => __('Enable/Disable Social Icons which displays in info bar.', 'framework') ,
'options' => array(
'1' => __('Enable', 'framework') ,
'0' => __('Disable', 'framework')
) ,
'default' => '1',
) ,
array(
'id' => 'footer_social_links',
'required' => array(
'footer_infobar',
'equals',
'1'
) ,
'required' => array(
'footer_social_switch',
'equals',
'1'
) ,
'type' => 'sortable',
'label' => true,
'compiler' => true,
'title' => __('Social Links', 'framework') ,
'desc' => __('Insert Social URL in their respective fields and sort as your desired order.', 'framework') ,
'options' => array(
'fa-facebook' => 'facebook',
'fa-twitter' => 'twitter',
'fa-pinterest' => 'pinterest',
'fa-google-plus' => 'gplus',
'fa-youtube' => 'youtube',
'fa-instagram' => 'instagram',
'fa-vimeo-square' => 'vimeo',
'fa-rss' => 'rss',
'fa-dribbble' => 'dribbble',
'fa-dropbox' => 'dropbox',
'fa-bitbucket' => 'bitbucket',
'fa-flickr' => 'flickr',
'fa-foursquare' => 'foursquare',
'fa-github' => 'github',
'fa-gittip' => 'gittip',
'fa-linkedin' => 'linkedin',
'fa-pagelines' => 'pagelines',
'fa-pagelines' => 'pagelines',
'fa-skype' => 'skype',
'fa-tumblr' => 'tumblr',
'fa-vk' => 'vk',
'fa-patreon' => 'patreon'
) ,
) ,
array(
'id' => 'footer_wide_width',
'type' => 'checkbox',
'compiler' => true,
'title' => __('100% Footer Width', 'framework') ,
'subtitle' => __('Check this box to set the footer to 100% of the browser width. Uncheck to follow site width. Only works with wide layout mode.', 'framework') ,
'default' => '0',
) ,
array(
'id' => 'footer_background_alpha',
'type' => 'background',
'output' => array(
'.site-footer'
) ,
'title' => __('Footer Background', 'framework') ,
'subtitle' => __('Default: #F8F8F8', 'framework') ,
'default' => array(
'background-color' => '#F8F8F8',
)
) ,
array(
'id' => 'footer_padding',
'type' => 'spacing',
'output' => array(
'.site-footer'
) ,
'mode' => 'padding',
'left' => false,
'right' => false,
'units' => array(
'px'
) ,
'title' => __('Footer Padding', 'framework') ,
'desc' => __('Enter Top and Bottom padding values for the footer area. Do not include px in the fields', 'framework') ,
'default' => array(
'padding-top' => '40px',
'padding-bottom' => '40px',
'units' => 'px',
)
) ,
array(
'id' => 'footer_border',
'type' => 'border',
'title' => __('Border Top for Footer', 'framework') ,
'subtitle' => __('Default: 1px solid #EFEFEF', 'framework') ,
'output' => array(
'.site-footer'
) ,
'top' => false,
'left' => false,
'right' => false,
'default' => array(
'border-color' => '#EFEFEF',
'border-style' => 'solid',
'border-width' => '1px',
)
) ,
array(
'id' => 'infobox_background_alpha',
'type' => 'background',
'output' => array(
'.quick-info'
) ,
'title' => __('Background for Info Bar', 'framework') ,
'subtitle' => __('Default: #FFFFFF', 'framework') ,
'default' => array(
'background-color' => '#FFFFFF',
)
) ,
array(
'id' => 'infobox_padding',
'type' => 'spacing',
'output' => array(
'.quick-info'
) ,
'mode' => 'padding',
'units' => array(
'px'
) ,
'title' => __('Padding for Info Bar', 'framework') ,
'desc' => __('Enter padding values for the footer Quick Info Bar. Do not include px in the fields', 'framework') ,
'default' => array(
'padding-top' => '25px',
'padding-bottom' => '20px',
'padding-left' => '0px',
'padding-right' => '0px',
'units' => 'px',
)
) ,
array(
'id' => 'infobox_border',
'type' => 'border',
'title' => __('Border for Info Bar', 'framework') ,
'subtitle' => __('Default: 1px solid #E4E4E3', 'framework') ,
'output' => array(
'.quick-info'
) ,
'default' => array(
'border-color' => '#E4E4E3',
'border-style' => 'solid',
'border-width' => '1px',
)
) ,
) ,
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-share',
'title' => __('Share Options', 'framework') ,
'fields' => array(
array(
'id' => 'switch_sharing',
'type' => 'switch',
'title' => __('Social Sharing', 'framework') ,
'subtitle' => __('Enable/Disable theme default social sharing buttons for posts/events/sermons single pages', 'framework') ,
"default" => 1,
) ,
array(
'id' => 'sharing_style',
'type' => 'button_set',
'compiler' => true,
'title' => __('Share Buttons Style', 'framework') ,
'subtitle' => __('Choose the style of share button icons', 'framework') ,
'options' => array(
'0' => __('Rounded', 'framework') ,
'1' => __('Squared', 'framework')
) ,
'default' => '0',
) ,
array(
'id' => 'sharing_color',
'type' => 'button_set',
'compiler' => true,
'title' => __('Share Buttons Color', 'framework') ,
'subtitle' => __('Choose the color scheme of the share button icons', 'framework') ,
'options' => array(
'0' => __('Brand Colors', 'framework') ,
'1' => __('Theme Color', 'framework') ,
'2' => __('GrayScale', 'framework')
) ,
'default' => '0',
) ,
array(
'id' => 'share_icon',
'type' => 'checkbox',
'required' => array(
'switch_sharing',
'equals',
'1'
) ,
'title' => __('Social share options', 'framework') ,
'subtitle' => __('Click on the buttons to disable/enable share buttons', 'framework') ,
'options' => array(
'1' => 'Facebook',
'2' => 'Twitter',
'3' => 'Google',
'4' => 'Tumblr',
'5' => 'Pinterest',
'6' => 'Reddit',
'7' => 'Linkedin',
'8' => 'Email',
'9' => 'VKontakte'
) ,
'default' => array(
'1' => '1',
'2' => '1',
'3' => '1',
'4' => '1',
'5' => '1',
'6' => '1',
'7' => '1',
'8' => '1',
'9' => '0'
)
) ,
array(
'id' => 'share_post_types',
'type' => 'checkbox',
'required' => array(
'switch_sharing',
'equals',
'1'
) ,
'title' => __('Select share buttons for post types', 'framework') ,
'subtitle' => __('Uncheck to disable for any type', 'framework') ,
'options' => array(
'1' => 'Posts',
'2' => 'Pages',
'3' => 'Events',
'4' => 'Sermons',
'5' => 'Staff',
) ,
'default' => array(
'1' => '1',
'2' => '1',
'3' => '1',
'4' => '1',
'5' => '1'
)
) ,
array(
'id' => 'facebook_share_alt',
'type' => 'text',
'title' => __('Tooltip text for Facebook share icon', 'framework') ,
'subtitle' => __('Text for the Facebook share icon browser tooltip.', 'framework') ,
'default' => 'Share on Facebook'
) ,
array(
'id' => 'twitter_share_alt',
'type' => 'text',
'title' => __('Tooltip text for Twitter share icon', 'framework') ,
'subtitle' => __('Text for the Twitter share icon browser tooltip.', 'framework') ,
'default' => 'Tweet'
) ,
array(
'id' => 'google_share_alt',
'type' => 'text',
'title' => __('Tooltip text for Google Plus share icon', 'framework') ,
'subtitle' => __('Text for the Google Plus share icon browser tooltip.', 'framework') ,
'default' => 'Share on Google+'
) ,
array(
'id' => 'tumblr_share_alt',
'type' => 'text',
'title' => __('Tooltip text for Tumblr share icon', 'framework') ,
'subtitle' => __('Text for the Tumblr share icon browser tooltip.', 'framework') ,
'default' => 'Post to Tumblr'
) ,
array(
'id' => 'pinterest_share_alt',
'type' => 'text',
'title' => __('Tooltip text for Pinterest share icon', 'framework') ,
'subtitle' => __('Text for the Pinterest share icon browser tooltip.', 'framework') ,
'default' => 'Pin it'
) ,
array(
'id' => 'reddit_share_alt',
'type' => 'text',
'title' => __('Tooltip text for Reddit share icon', 'framework') ,
'subtitle' => __('Text for the Reddit share icon browser tooltip.', 'framework') ,
'default' => 'Submit to Reddit'
) ,
array(
'id' => 'linkedin_share_alt',
'type' => 'text',
'title' => __('Tooltip text for Linkedin share icon', 'framework') ,
'subtitle' => __('Text for the Linkedin share icon browser tooltip.', 'framework') ,
'default' => 'Share on Linkedin'
) ,
array(
'id' => 'email_share_alt',
'type' => 'text',
'title' => __('Tooltip text for Email share icon', 'framework') ,
'subtitle' => __('Text for the Email share icon browser tooltip.', 'framework') ,
'default' => 'Email'
) ,
array(
'id' => 'vk_share_alt',
'type' => 'text',
'title' => __('Tooltip text for vk share icon', 'framework') ,
'subtitle' => __('Text for the vk share icon browser tooltip.', 'framework') ,
'default' => 'Share on vk'
) ,
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-lines',
'title' => __('Sidebars', 'framework') ,
'fields' => array(
array(
'id' => 'sidebar_position',
'type' => 'image_select',
'compiler' => true,
'title' => __('Sidebar position', 'framework') ,
'subtitle' => __('Select the Global Sidebar Position. Can be overridden by page sidebar settings.', 'framework') ,
'options' => array(
'2' => array(
'title' => 'Left',
'img' => ReduxFramework::$_url . 'assets/img/2cl.png'
) ,
'1' => array(
'title' => 'Right',
'img' => ReduxFramework::$_url . 'assets/img/2cr.png'
) ,
) ,
'default' => '1'
) ,
array(
'id' => 'posts_sidebar',
'type' => 'select',
'title' => esc_html__('Single Post', 'framework') ,
'desc' => esc_html__('Default sidebar for single post pages', 'framework') ,
'data' => 'sidebars',
'default' => '',
) ,
array(
'id' => 'pages_sidebar',
'type' => 'select',
'title' => esc_html__('Page', 'framework') ,
'desc' => esc_html__('Default sidebar for all pages', 'framework') ,
'data' => 'sidebars',
'default' => '',
) ,
array(
'id' => 'events_sidebar',
'type' => 'select',
'title' => esc_html__('Single Event', 'framework') ,
'desc' => esc_html__('Default sidebar for single event pages', 'framework') ,
'data' => 'sidebars',
'default' => '',
) ,
array(
'id' => 'sermons_sidebar',
'type' => 'select',
'title' => esc_html__('Single Sermon', 'framework') ,
'desc' => esc_html__('Default sidebar for single sermon pages', 'framework') ,
'data' => 'sidebars',
'default' => '',
) ,
array(
'id' => 'staff_sidebar',
'type' => 'select',
'title' => esc_html__('Single Staff', 'framework') ,
'desc' => esc_html__('Default sidebar for single staff pages', 'framework') ,
'data' => 'sidebars',
'default' => '',
) ,
array(
'id' => 'author_sidebar',
'type' => 'select',
'title' => __('Author Page Sidebar', 'framework') ,
'desc' => __('Select sidebar for author page.', 'framework') ,
'data' => 'sidebars',
'default' => '',
) ,
array(
'id' => 'event_term_sidebar',
'type' => 'select',
'title' => __('Event Archive Sidebar', 'framework') ,
'desc' => __('Select sidebar for archive page of Event.', 'framework') ,
'data' => 'sidebars',
'default' => '',
) ,
array(
'id' => 'sermon_term_sidebar',
'type' => 'select',
'title' => __('Sermon Archive Sidebar', 'framework') ,
'desc' => __('Select sidebar for archive page of Sermon.', 'framework') ,
'data' => 'sidebars',
'default' => '',
) ,
array(
'id' => 'archive_sidebar',
'type' => 'select',
'title' => __('Archive Page Sidebar', 'framework') ,
'desc' => __('Select sidebar for archive page which use index.php template.', 'framework') ,
'data' => 'sidebars',
'default' => '',
) ,
array(
'id' => 'search_sidebar',
'type' => 'select',
'title' => __('Search Page Sidebar', 'framework') ,
'desc' => __('Select sidebar for search page.', 'framework') ,
'data' => 'sidebars',
'default' => '',
) ,
array(
'id' => 'bbpress_sidebar',
'type' => 'select',
'title' => __('bbpress Sidebar', 'framework') ,
'desc' => __('Select default sidebar for all pages of bbpress including forums, topics, search.', 'framework') ,
'data' => 'sidebars',
'default' => '',
) ,
array(
'id' => 'shop_sidebar',
'type' => 'select',
'title' => __('Shop Sidebar', 'framework') ,
'desc' => __('Select default sidebar for all pages of Woocommerce Plugin.', 'framework') ,
'data' => 'sidebars',
'default' => '',
) ,
) ,
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-brush',
'title' => __('Color Scheme', 'framework') ,
'fields' => array(
array(
'id' => 'theme_color_type',
'type' => 'button_set',
'compiler' => true,
'title' => __('Color scheme', 'framework') ,
'subtitle' => __('Select the global color scheme type', 'framework') ,
'options' => array(
'0' => __('Pre-Defined Color Schemes', 'framework') ,
'1' => __('Custom Color', 'framework')
) ,
'default' => '0',
) ,
array(
'id' => 'theme_color_scheme',
'type' => 'select',
'required' => array(
'theme_color_type',
'equals',
'0'
) ,
'title' => __('Predefined Color Schemes', 'framework') ,
'subtitle' => __('Select your theme color scheme.', 'framework') ,
'options' => array(
'color1.css' => 'color1.css',
'color2.css' => 'color2.css',
'color3.css' => 'color3.css',
'color4.css' => 'color4.css',
'color5.css' => 'color5.css',
'color6.css' => 'color6.css',
'color7.css' => 'color7.css',
'color8.css' => 'color8.css',
'color9.css' => 'color9.css',
'color10.css' => 'color10.css',
'color11.css' => 'color11.css',
'color12.css' => 'color12.css'
) ,
'default' => 'color1.css',
) ,
array(
'id' => 'primary_theme_color',
'type' => 'color',
'required' => array(
'theme_color_type',
'equals',
'1'
) ,
'title' => __('Custom Theme Color', 'framework') ,
'subtitle' => __('Pick a global custom color for the template.', 'framework') ,
'validate' => 'color',
'transparent' => false,
) ,
) ,
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-font',
'title' => __('Typography', 'framework') ,
'subtitle' => __('Typography and other options', 'framework') ,
'fields' => array(
array(
'id' => 'body_link_color',
'type' => 'link_color',
'title' => __('Links Color for Body Content', 'framework') ,
'subtitle' => __('Default Regular: #555555<br>Hover: Your primary color<br>Active: Your primary color', 'framework') ,
'desc' => __('Set the dropdown menu links color, hover, active.', 'framework') ,
'output' => array(
'a'
) ,
'default' => array()
) ,
array(
'id' => 'body_font_typo',
'type' => 'typography',
'title' => __('Body text default typography', 'framework') ,
'subtitle' => __('<strong>Defaults:</strong><br>Font Family - Roboto<br>Font weight - Normal<br>Font Size - 14px<br>Line Height - 20px<br>Letter Spacing - 0px<br>Color - #666666<br>Text transform - none', 'framework') ,
'desc' => __('This applies to only the parts of your website where the content from page editor comes in', 'framework') ,
'google' => true,
'font-backup' => true,
'subsets' => true,
'color' => true,
'font-family' => true,
'font-style' => true,
'font-weight' => true,
'preview' => true,
'text-align' => false,
'font-size' => true,
'line-height' => true,
'letter-spacing' => true,
'text-transform' => true,
'output' => array(
'body'
) ,
'units' => 'px',
'default' => array() ,
) ,
array(
'id' => 'body_h1_font_typo',
'type' => 'typography',
'title' => __('H1 heading typography', 'framework') ,
'subtitle' => __('<strong>Defaults:</strong><br>Font Family - Roboto<br>Font weight - Normal<br>Font Size - 36px<br>Line Height - 42px<br>Letter Spacing - 0px<br>Color - #333333<br>Text transform - none', 'framework') ,
'desc' => __('This applies to only the parts of your website where the content from page editor comes in', 'framework') ,
'google' => true,
'font-backup' => true,
'subsets' => true,
'color' => true,
'font-family' => true,
'font-style' => true,
'font-weight' => true,
'preview' => true,
'text-align' => false,
'font-size' => true,
'line-height' => true,
'text-transform' => true,
'letter-spacing' => true,
'output' => array(
'h1'
) ,
'units' => 'px',
'default' => array() ,
) ,
array(
'id' => 'body_h2_font_typo',
'type' => 'typography',
'title' => __('H2 heading typography', 'framework') ,
'subtitle' => __('<strong>Defaults:</strong><br>Font Family - Roboto<br>Font weight - Normal<br>Font Size - 30px<br>Line Height - 36px<br>Letter Spacing - 0px<br>Color - #333333<br>Text transform - none', 'framework') ,
'desc' => __('This applies to only the parts of your website where the content from page editor comes in', 'framework') ,
'google' => true,
'font-backup' => true,
'subsets' => true,
'color' => true,
'font-family' => true,
'font-style' => true,
'font-weight' => true,
'preview' => true,
'text-align' => false,
'font-size' => true,
'line-height' => true,
'text-transform' => true,
'letter-spacing' => true,
'output' => array(
'h2'
) ,
'units' => 'px',
'default' => array() ,
) ,
array(
'id' => 'body_h3_font_typo',
'type' => 'typography',
'title' => __('H3 heading typography', 'framework') ,
'subtitle' => __('<strong>Defaults:</strong><br>Font Family - Roboto<br>Font weight - Normal<br>Font Size - 24px<br>Line Height - 30px<br>Letter Spacing - 0px<br>Color - #333333<br>Text transform - none', 'framework') ,
'desc' => __('This applies to only the parts of your website where the content from page editor comes in', 'framework') ,
'google' => true,
'font-backup' => true,
'subsets' => true,
'color' => true,
'font-family' => true,
'font-style' => true,
'font-weight' => true,
'preview' => true,
'text-align' => false,
'font-size' => true,
'line-height' => true,
'text-transform' => true,
'letter-spacing' => true,
'output' => array(
'h3'
) ,
'units' => 'px',
'default' => array() ,
) ,
array(
'id' => 'body_h4_font_typo',
'type' => 'typography',
'title' => __('H4 heading typography', 'framework') ,
'subtitle' => __('<strong>Defaults:</strong><br>Font Family - Roboto Condensed<br>Font weight - Bold<br>Font Size - 16px<br>Line Height - 22px<br>Letter Spacing - 2px<br>Color - #333333<br>Text transform - Uppercase', 'framework') ,
'desc' => __('This applies to only the parts of your website where the content from page editor comes in', 'framework') ,
'google' => true,
'font-backup' => true,
'subsets' => true,
'color' => true,
'font-family' => true,
'font-style' => true,
'font-weight' => true,
'preview' => true,
'text-align' => false,
'font-size' => true,
'line-height' => true,
'text-transform' => true,
'letter-spacing' => true,
'output' => array(
'h4'
) ,
'units' => 'px',
'default' => array() ,
) ,
array(
'id' => 'body_h5_font_typo',
'type' => 'typography',
'title' => __('H5 heading typography', 'framework') ,
'subtitle' => __('<strong>Defaults:</strong><br>Font Family - Roboto<br>Font weight - Bold<br>Font Size - 16px<br>Line Height - 22px<br>Letter Spacing - 0px<br>Color - #333333<br>Text transform - none', 'framework') ,
'desc' => __('This applies to only the parts of your website where the content from page editor comes in', 'framework') ,
'google' => true,
'font-backup' => true,
'subsets' => true,
'color' => true,
'font-family' => true,
'font-style' => true,
'font-weight' => true,
'preview' => true,
'text-align' => false,
'font-size' => true,
'line-height' => true,
'text-transform' => true,
'letter-spacing' => true,
'output' => array(
'h5'
) ,
'units' => 'px',
'default' => array() ,
) ,
array(
'id' => 'body_h6_font_typo',
'type' => 'typography',
'title' => __('H6 heading typography', 'framework') ,
'subtitle' => __('<strong>Defaults:</strong><br>Font Family - Roboto<br>Font weight - Normal<br>Font Size - 12px<br>Line Height - 18px<br>Letter Spacing - 0px<br>Color - #333333<br>Text transform - none', 'framework') ,
'desc' => __('This applies to only the parts of your website where the content from page editor comes in', 'framework') ,
'google' => true,
'font-backup' => true,
'subsets' => true,
'color' => true,
'font-family' => true,
'font-style' => true,
'font-weight' => true,
'preview' => true,
'text-align' => false,
'font-size' => true,
'line-height' => true,
'text-transform' => true,
'letter-spacing' => true,
'output' => array(
'h6'
) ,
'units' => 'px',
'default' => array() ,
) ,
array(
'id' => 'subpage_header_typo',
'type' => 'typography',
'title' => __('Sub Pages Header typography', 'framework') ,
'subtitle' => __('<strong>Defaults:</strong><br>Font Family - Roboto<br>Font weight - Normal<br>Font Size - 44px<br>Line Height - 66px<br>Letter Spacing - 1px<br>Color - #ffffff<br>Text transform - Uppercase', 'framework') ,
'google' => true,
'font-backup' => true,
'subsets' => true,
'color' => true,
'font-family' => true,
'font-style' => true,
'font-weight' => true,
'preview' => true,
'text-align' => false,
'font-size' => true,
'line-height' => true,
'letter-spacing' => true,
'text-transform' => true,
'output' => array(
'.page-header h2'
) ,
'units' => 'px',
'default' => array() ,
) ,
array(
'id' => 'subpage_header_desc_typo',
'type' => 'typography',
'title' => __('Sub Pages Header Description typography', 'framework') ,
'subtitle' => __('<strong>Defaults:</strong><br>Font Family - Volkhov<br>Font weight - Book<br>Font Size - 15px<br>Font Style - Italic<br>Line Height - 24px<br>Letter Spacing - px<br>Color - #ffffff<br>Text transform - None', 'framework') ,
'google' => true,
'font-backup' => true,
'subsets' => true,
'color' => true,
'font-family' => true,
'font-style' => true,
'font-weight' => true,
'preview' => true,
'text-align' => false,
'font-size' => true,
'line-height' => true,
'letter-spacing' => true,
'text-transform' => true,
'output' => array(
'.page-header .subtitle'
) ,
'units' => 'px',
'default' => array() ,
) ,
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-zoom-in',
'title' => __('Lightbox', 'framework') ,
'fields' => array(
array(
'id' => 'switch_lightbox',
'type' => 'button_set',
'title' => __('Lightbox Plugin', 'framework') ,
'subtitle' => __('Choose the plugin for the Lightbox Popup for theme.', 'framework') ,
'options' => array(
'0' => __('PrettyPhoto', 'framework') ,
'1' => __('Maginific Popup', 'framework')
) ,
"default" => 1,
) ,
array(
'id' => 'prettyphoto_theme',
'type' => 'select',
'required' => array(
'switch_lightbox',
'equals',
'0'
) ,
'title' => __('Theme Style', 'framework') ,
'desc' => __('Select style for the prettyPhoto Lightbox', 'framework') ,
'options' => array(
'pp_default' => __('Default', 'framework') ,
'light_rounded' => __('Light Rounded', 'framework') ,
'dark_rounded' => __('Dark Rounded', 'framework') ,
'light_square' => __('Light Square', 'framework') ,
'dark_square' => __('Dark Square', 'framework') ,
'facebook' => __('Facebook', 'framework') ,
) ,
'default' => 'pp_default',
) ,
array(
'id' => 'prettyphoto_opacity',
'required' => array(
'switch_lightbox',
'equals',
'0'
) ,
'type' => 'slider',
'title' => __('Overlay Opacity', 'framework') ,
'desc' => __('Enter values between 0.1 to 1. Default is 0.5', 'framework') ,
"default" => .5,
"min" => 0,
"step" => .1,
"max" => 1,
'resolution' => 0.1,
'display_value' => 'text'
) ,
array(
'id' => 'prettyphoto_title',
'required' => array(
'switch_lightbox',
'equals',
'0'
) ,
'type' => 'button_set',
'title' => __('Show Image Title', 'framework') ,
'options' => array(
'0' => __('Yes', 'framework') ,
'1' => __('No', 'framework')
) ,
"default" => 0,
) ,
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-screen',
'title' => __('Flex Slider', 'framework') ,
'fields' => array(
array(
'id' => 'flex_caption_width',
'type' => 'text',
'title' => __('Enter width of flexslider caption. Default is 500', 'framework') ,
'description' => __('DO NOT PUT px HERE', 'framework') ,
) ,
array(
'id' => 'flex_caption_side',
'type' => 'text',
'title' => __('Enter percentage value for caption left position. Default is 50% from left.', 'framework') ,
'description' => __('DO NOT PUT % HERE', 'framework') ,
) ,
array(
'id' => 'flex_caption_top',
'type' => 'text',
'title' => __('Enter percentage value for caption top position. Default is 32% from top.', 'framework') ,
'description' => __('DO NOT PUT % HERE', 'framework') ,
) ,
array(
'id' => 'flex_caption_title',
'type' => 'typography',
'title' => __('Flex Caption Title', 'framework') ,
'google' => true,
'font-backup' => true,
'subsets' => true,
'color' => true,
'font-family' => true,
'font-style' => true,
'font-weight' => true,
'preview' => true,
'text-align' => true,
'font-size' => true,
'line-height' => true,
'text-transform' => true,
'letter-spacing' => true,
'output' => array(
'.flex-caption strong'
) ,
'units' => 'px',
'default' => array() ,
) ,
array(
'id' => 'flex_caption_description',
'type' => 'typography',
'title' => __('Flex Caption Text', 'framework') ,
'google' => true,
'font-backup' => true,
'subsets' => true,
'color' => true,
'font-family' => true,
'font-style' => true,
'font-weight' => true,
'preview' => true,
'text-align' => true,
'font-size' => true,
'line-height' => true,
'text-transform' => true,
'letter-spacing' => true,
'output' => array(
'.flex-caption p'
) ,
'units' => 'px',
'default' => array() ,
) ,
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-podcast',
'title' => __('Podcast', 'framework'),
'desc' => __('These settings are used only when theme\'s built sermons feature is enabled at Theme Options => Sermons', 'framework'),
'fields' => array(
array(
'id' => 'podcast_title',
'type' => 'text',
'title' => __('Podcast Title', 'framework') ,
'placeholder' => 'e.g. ' . get_bloginfo('name') . ''
) ,
array(
'id' => 'podcast_description',
'type' => 'text',
'title' => __('Podcast Description', 'framework') ,
'placeholder' => 'e.g. ' . get_bloginfo('description') . ''
) ,
array(
'id' => 'podcast_website_url',
'type' => 'text',
'title' => __('Website Link', 'framework') ,
'placeholder' => 'e.g. ' . home_url() . ''
) ,
array(
'id' => 'podcast_language',
'type' => 'text',
'title' => __('Language', 'framework') ,
'placeholder' => 'e.g. ' . get_bloginfo('language') . ''
) ,
array(
'id' => 'podcast_copyright',
'type' => 'text',
'title' => __('Copyright', 'framework') ,
'desc' => __('Copy "©" to put a copyright symbol.', 'framework') ,
'placeholder' => 'e.g. Copyright © ' . get_bloginfo('name') . ''
) ,
array(
'id' => 'podcast_webmaster_name',
'type' => 'text',
'title' => __('Webmaster Name', 'framework') ,
'placeholder' => 'e.g. Your name'
) ,
array(
'id' => 'podcast_webmaster_email',
'type' => 'text',
'title' => __('Webmaster Email', 'framework') ,
'placeholder' => 'e.g. ' . get_bloginfo('admin_email') . ''
) ,
array(
'id' => 'podcast_itunes_author',
'type' => 'text',
'title' => __('Author', 'framework') ,
'desc' => __('This will display at the "Artist" in the iTunes Store.', 'framework') ,
'placeholder' => 'e.g. Primary Speaker or Church Name'
) ,
array(
'id' => 'podcast_itunes_subtitle',
'type' => 'text',
'title' => __('Subtitle', 'framework') ,
'desc' => __('Your subtitle should briefly tell the listener what they can expect to hear.', 'framework') ,
'placeholder' => 'e.g. Preaching and teaching audio from'
) ,
array(
'id' => 'podcast_itunes_summary',
'type' => 'textarea',
'title' => __('Summary', 'framework') ,
'desc' => __('Keep your Podcast Summary short, sweet and informative. Be sure to include a brief statement about your mission and in what region your audio content originates.', 'framework') ,
'placeholder' => 'e.g. Weekly teaching audio brought to you by'
) ,
array(
'id' => 'podcast_itunes_owner_name',
'type' => 'text',
'title' => __('Owner Name', 'framework') ,
'desc' => __('This should typically be the name of your Church.', 'framework') ,
'placeholder' => 'e.g. ' . get_bloginfo('name') . ''
) ,
array(
'id' => 'podcast_itunes_owner_email',
'type' => 'text',
'title' => __('Owner Email', 'framework') ,
'desc' => __('Use an email address that you dont mind being made public. If someone wants to contact you regarding your Podcast this is the address they will use.', 'framework') ,
'placeholder' => 'e.g. ' . get_bloginfo('admin_email') . ''
) ,
array(
'id' => 'podcast_itunes_cover_image',
'type' => 'media',
'url' => true,
'title' => __('Cover Image', 'framework') ,
'desc' => __('This JPG will serve as the Podcast artwork in the iTunes Store. The image should be 1400px by 1400px', 'framework') ,
'default' => array(
'url' => $default_podcast_image
) ,
) ,
array(
'id' => 'podcast_itunes_top_category',
'type' => 'text',
'title' => __('Top Category', 'framework') ,
'desc' => __('Choose the appropriate top-level category for your Podcast listing in iTunes. <a href="http://www.apple.com/itunes/podcasts/specs.html#submitting" target="_blank">Reference</a>', 'framework') ,
'default' => 'Religion & Spirituality'
) ,
array(
'id' => 'podcast_itunes_sub_category',
'type' => 'text',
'title' => __('Sub Category', 'framework') ,
'desc' => __('Choose the appropriate sub category for your Podcast listing in iTunes. <a href="http://www.apple.com/itunes/podcasts/specs.html#submitting" target="_blank">Reference</a>', 'framework') ,
'default' => 'Christianity'
) ,
array(
'id' => 'podcast_itunes_feed_url',
'type' => 'text',
'title' => __('Feed URL', 'framework') ,
'desc' => __('This is your Feed URL to submit to iTunes', 'framework') ,
'default' => home_url("/") . 'feed/?post_type=sermon',
'readonly' => true
) ,
array(
'id' => 'info_normal',
'type' => 'info',
'desc' => 'Use the <a href="http://www.feedvalidator.org/check.cgi?url=' . home_url('/') . 'feed/?post_type=sermons" target="_blank">Feed Validator</a> to diagnose and fix any problems before submitting your Podcast to iTunes.
<p>Once your Podcast Settings are complete and your Sermons are ready, its time to <a href="https://podcastsconnect.apple.com" target="_blank">Submit Your Podcast</a> to the iTunes Store! Check <a href="http://www.apple.com/itunes/podcasts/specs.html#submitting" target="_blabk">how to submit your podcast</a></p>
<p>Alternatively, if you want to track your Podcast subscribers, simply pass the Podcast Feed URL above through <a href="http://feedburner.google.com/" target="_blank">FeedBurner</a>. FeedBurner will then give you a new URL to submit to iTunes instead.</p>
<p>Please read the <a href="http://www.apple.com/itunes/podcasts/creatorfaq.html" target="_blank">iTunes FAQ for Podcast Makers</a> for more information.</p>'
)
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-speaker',
'title' => __('Events', 'framework') ,
'fields' => array(
array(
'id' => 'enable_event_feature',
'type' => 'button_set',
'compiler' => true,
'title' => esc_html__('Enable Event', 'framework'),
'subtitle' => esc_html__('Enable or disable built in event functionality of the theme.', 'framework'),
'options' => array(
'1' => esc_html__('Enable', 'framework'),
'0' => esc_html__('Disable', 'framework'),
),
'default' => '1',
),
array(
'id' => 'event_contact_msg',
'type' => 'textarea',
'title' => __('Event Contact Form Message', 'framework') ,
'subtitle' => __('Enter message for Event contact form footer.', 'framework') ,
'default' => ''
) ,
array(
'id' => 'event_countdown_position',
'type' => 'select',
'title' => __('Show Event', 'framework') ,
'subtitle' => __('Show event on website until which time of event.', 'framework') ,
'options' => array(
'0' => 'End Time',
'1' => 'Start Time'
) ,
'default' => '0',
) ,
array(
'id' => 'event_time_view',
'type' => 'select',
'title' => __('Show Event Time', 'framework') ,
'subtitle' => __('Show event time start time only or start and end time both.', 'framework') ,
'options' => array(
'0' => 'Start - End Time',
'1' => 'Start Time'
) ,
'default' => '0',
) ,
array(
'id' => 'add_to_calendar_text',
'type' => 'text',
'title' => __('Add to calendar button', 'framework') ,
'desc' => __('Enter text to use as "Add to Calendar" button on single event pages.', 'framework') ,
'default' => '',
) ,
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-credit-card',
'icon_class' => 'icon-large',
'title' => __('Paypal Configuration', 'framework') ,
'desc' => esc_html__('These settings are for the events ticket payment. These settings are used only when theme\'s built event feature is enabled at Theme Options => Events', 'framework'),
'fields' => array(
array(
'id' => 'paypal_email',
'type' => 'text',
'title' => __('Paypal Email Address', 'framework') ,
'desc' => __('Enter Paypal Business Email Address.', 'framework') ,
'default' => '',
) ,
array(
'id' => 'paypal_message',
'type' => 'text',
'title' => __('Message to show near PayPal Payment button', 'framework') ,
'default' => '',
) ,
array(
'id' => 'paypal_site',
'type' => 'select',
'title' => __('Paypal Site', 'framework') ,
'subtitle' => __('Select paypal site.', 'framework') ,
'options' => array(
'0' => 'Sandbox',
'1' => 'Live'
) ,
'default' => '1',
) ,
array(
'id' => 'paypal_currency',
'type' => 'select',
'title' => __('Payment Currency', 'framework') ,
'subtitle' => __('Select payment currency.', 'framework') ,
'options' => array(
'USD' => 'U.S. Dollar',
'AUD' => 'Australian Dollar',
'BRL' => 'Brazilian Real',
'CAD' => 'Canadian Dollar',
'CZK' => 'Czech Koruna',
'DKK' => 'Danish Krone',
'EUR' => 'Euro',
'HKD' => 'Hong Kong Dollar',
'HUF' => 'Hungarian Forint',
'ILS' => 'Israeli New Sheqel',
'JPY' => 'Japanese Yen',
'MYR' => 'Malaysian Ringgit',
'MXN' => 'Mexican Peso',
'NOK' => 'Norwegian Krone',
'NZD' => 'New Zealand Dollar',
'PHP' => 'Philippine Peso',
'PLN' => 'Polish Zloty',
'GBP' => 'Pound Sterling',
'SGD' => 'Singapore Dollar',
'SEK' => 'Swedish Krona',
'CHF' => 'Swiss Franc',
'TWD' => 'Taiwan New Dollar',
'THB' => 'Thai Baht',
'TRY' => 'Turkish Lira'
) ,
'default' => 'USD',
) ,
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-calendar',
'title' => __('Calendar', 'framework'),
'desc' => __('These settings are used only when theme\'s built event feature is enabled at Theme Options => Events', 'framework'),
'fields' => array(
array(
'id' => 'calendar_header_view',
'type' => 'image_select',
'compiler' => true,
'title' => __('Calendar Header View', 'framework') ,
'subtitle' => __('Select the view for your calendar header', 'framework') ,
'options' => array(
1 => array(
'title' => '',
'img' => get_template_directory_uri() . '/assets/images/calendarheaderLayout/header-1.jpg'
) ,
2 => array(
'title' => '',
'img' => get_template_directory_uri() . '/assets/images/calendarheaderLayout/header-2.jpg'
) ,
) ,
'default' => 1
) ,
array(
'id' => 'calendar_event_limit',
'type' => 'text',
'title' => __('Limit of Events', 'framework') ,
'desc' => __('Enter a number to limit number of events to show maximum in a single day block of calendar and remaining in a small popover(Default is 4)', 'framework') ,
'default' => '4',
) ,
array(
'id' => 'calendar_month_name',
'type' => 'textarea',
'rows' => 2,
'title' => __('Calendar Month Name', 'framework') ,
'desc' => __('Insert month name in local language by comma seperated to display on event calender like: January,February,March,April,May,June,July,August,September,October,November,December', 'framework') ,
'default' => 'January,February,March,April,May,June,July,August,September,October,November,December',
) ,
array(
'id' => 'calendar_month_name_short',
'type' => 'textarea',
'rows' => 2,
'title' => __('Calendar Month Name Short', 'framework') ,
'desc' => __('Insert month name short in local language by comma seperated to display on event calender like: Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec', 'framework') ,
'default' => 'Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec',
) ,
array(
'id' => 'calendar_day_name',
'type' => 'textarea',
'rows' => 2,
'title' => __('Calendar Day Name', 'framework') ,
'desc' => __('Insert day name in local language by comma seperated to display on event calender like: Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday', 'framework') ,
'default' => 'Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday',
) ,
array(
'id' => 'calendar_day_name_short',
'type' => 'textarea',
'rows' => 2,
'title' => __('Calendar Day Name Short', 'framework') ,
'desc' => __('Insert day name short in local language by comma seperated to display on event calender like: Sun,Mon,Tue,Wed,Thu,Fri,Sat', 'framework') ,
'default' => 'Sun,Mon,Tue,Wed,Thu,Fri,Sat',
) ,
array(
'id' => 'calendar_today',
'type' => 'text',
'title' => __('Heading Today', 'framework') ,
'desc' => __('Translate Calendar Heading for Today Button', 'framework') ,
'default' => 'Today',
) ,
array(
'id' => 'calendar_month',
'type' => 'text',
'title' => __('Heading Month', 'framework') ,
'desc' => __('Translate Calendar Heading for Month Button', 'framework') ,
'default' => 'Month',
) ,
array(
'id' => 'calendar_week',
'type' => 'text',
'title' => __('Heading Week', 'framework') ,
'desc' => __('Translate Calendar Heading for Week Button', 'framework') ,
'default' => 'Week',
) ,
array(
'id' => 'calendar_day',
'type' => 'text',
'title' => __('Heading Day', 'framework') ,
'desc' => __('Translate Calendar Heading for Day Button', 'framework') ,
'default' => 'Day',
) ,
array(
'id' => 'event_feeds',
'type' => 'checkbox',
'title' => __('Show WP Events', 'framework') ,
'desc' => __('Check if you wants to show WP Events in Calendar.', 'framework') ,
'default' => '1'
// 1 = on | 0 = off
) ,
array(
'id' => 'google_feed_key',
'type' => 'text',
'title' => __('Google Calendar API Key', 'framework') ,
'desc' => __('Enter Google Calendar Feed API Key. <a href="https://support.imithemes.com/knowledgebase/get-google-calendar-api/" target="_blank">See Instructions</a>', 'framework') ,
'default' => '',
) ,
array(
'id' => 'google_feed_id',
'type' => 'text',
'title' => __('Google Calendar ID', 'framework') ,
'desc' => __('Enter Google Calendar ID. <a href="https://support.imithemes.com/knowledgebase/get-google-calendar-api/" target="_blank">See Instructions</a>', 'framework') ,
'subtitle' => __('You can specify individual calendar IDs for each calendar using the calendar shortcode.', 'framework') ,
'default' => '',
) ,
array(
'id' => 'event_default_color',
'type' => 'color',
'title' => __('Event Color', 'framework') ,
'subtitle' => __('Pick a default color for Events.', 'framework') ,
'validate' => 'color',
'transparent' => false,
'default' => ''
) ,
array(
'id' => 'recurring_event_color',
'type' => 'color',
'title' => __('Recurring Event Color', 'framework') ,
'subtitle' => __('Pick a color for recurring Events.', 'framework') ,
'validate' => 'color',
'transparent' => false,
'default' => ''
) ,
) ,
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-website',
'title' => __('Blog', 'framework') ,
'fields' => array(
array(
'id' => 'use_grid_layout',
'type' => 'checkbox',
'title' => __('Grid Blog', 'framework') ,
'subtitle' => __('Check to use grid layout for the posts page(Set at Settings => Reading) and for the catgeory/tag archive pages.', 'framework') ,
'default' => 0,
),
array(
'id' => 'use_grid_column',
'type' => 'select',
'title' => __('Grid Column', 'framework') ,
'subtitle' => __('Select grid column to use.', 'framework') ,
'options' => array(
'3' => 'Four Columns',
'4' => 'Three Columns',
'6' => 'Two Columns'
) ,
'required' => array(
'use_grid_layout',
'equals',
'1'
) ,
'default' => '4',
),
array(
'id' => 'posts_excerpt_length',
'type' => 'text',
'title' => __('Insert the number of words you want to show in the post excerpts.', 'framework') ,
'subtitle' => __('This will be used for all the blog page template, posts page and category/tag archive pages.', 'framework') ,
'default' => 30,
),
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-ok',
'title' => __('Single Post', 'framework') ,
'subsection' => true,
'fields' => array(
array(
'id' => 'hide_featured_image',
'type' => 'checkbox',
'title' => __('Hide featured image', 'framework') ,
'subtitle' => __('Check to hide featured image from single post pages.', 'framework') ,
'default' => 0,
) ,
array(
'id' => 'hide_meta_data',
'type' => 'checkbox',
'title' => __('Hide meta information', 'framework') ,
'subtitle' => __('Check to hide meta information like date, category from single post pages.', 'framework') ,
'default' => 0,
) ,
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-user',
'id' => 'Staff_Options',
'title' => __('Staff', 'framework') ,
'sub-title' => __('These options are for the staff shortcode. Page builder widget has its own specific options.', 'framework') ,
'fields' => array(
array(
'id' => 'staff_details_link',
'type' => 'checkbox',
'title' => __('Link staff posts', 'framework') ,
'subtitle' => __('Check if you wish to link staff title and thumbnail to its details.', 'framework') ,
'default' => 1,
) ,
array(
'id' => 'staff_details_link_type',
'type' => 'button_set',
'compiler' => true,
'title' => __('Link type', 'framework') ,
'subtitle' => __('Select from modal window or single page for the staff posts title/thumb.', 'framework') ,
'options' => array(
'0' => __('Details in PopUp', 'framework') ,
'1' => __('Single staff page', 'framework')
) ,
'default' => '0',
) ,
array(
'id' => 'staff_thumb_link',
'type' => 'checkbox',
'title' => __('Staff thumbnail link', 'framework') ,
'subtitle' => __('Check if you wish to link staff post thumbnail to big image in popup.', 'framework') ,
'default' => 0,
) ,
array(
'id' => 'staff_show_position',
'type' => 'checkbox',
'title' => __('Show staff job title/position', 'framework') ,
'subtitle' => __('Check if you wish to show job title or position in the staff posts list.', 'framework') ,
'default' => 1,
) ,
array(
'id' => 'staff_show_post_excerpt',
'type' => 'checkbox',
'title' => __('Check to display post excerpt on staff posts', 'framework') ,
'subtitle' => __('This will not work for staff shortcode Type 1', 'framework') ,
'default' => 1,
) ,
array(
'id' => 'staff_excerpt_strip_html',
'type' => 'checkbox',
'title' => __('Check to strip html from excerpt on staff posts', 'framework') ,
'subtitle' => __('This will not work for staff shortcode Type 1', 'framework') ,
'default' => 1,
) ,
array(
'id' => 'staff_show_post_content_length',
'type' => 'text',
'title' => __('Insert the number of words you want to show in the post excerpts.', 'framework') ,
'subtitle' => __('This will not work for staff shortcode Type 1', 'framework') ,
'default' => 10,
) ,
array(
'id' => 'staff_show_post_readmore',
'type' => 'checkbox',
'title' => __('Check to display read more button on staff posts', 'framework') ,
'subtitle' => __('This will not work for staff shortcode Type 1', 'framework') ,
'default' => 0,
) ,
array(
'id' => 'staff_show_post_readmore_label',
'type' => 'text',
'required' => array(
'staff_show_post_readmore',
'equals',
1
) ,
'title' => __('Enter button text for staff posts read more link', 'framework') ,
'default' => 'Read more',
) ,
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-website',
'desc' => __('These settings are used only when theme\'s built sermons feature is enabled at Theme Options => Sermons', 'framework'),
'title' => __('Sermons', 'framework') ,
'fields' => array(
array(
'id' => 'enable_sermon_feature',
'type' => 'button_set',
'compiler' => true,
'title' => esc_html__('Enable Sermons', 'framework'),
'subtitle' => esc_html__('Enable or disable built in sermons functionality of the theme.', 'framework'),
'options' => array(
'1' => esc_html__('Enable', 'framework'),
'0' => esc_html__('Disable', 'framework'),
),
'default' => '1',
),
array(
'id' => 'sermon_series_label',
'type' => 'text',
'title' => __('Sermon Series label', 'framework') ,
'desc' => __('Change label for sermon series, Ex- Watch Sermon.', 'framework') ,
'default' => __('Watch Sermon', 'framework') ,
) ,
array(
'id' => 'sermons_sorting',
'type' => 'button_set',
'compiler' => true,
'title' => __('Sermons sorting', 'framework') ,
'subtitle' => __('Sort sermons by sermon date instead of post date on sermon category/tag pages. Sermon date field is available while creating or editing sermon posts.', 'framework') ,
'options' => array(
'0' => __('No', 'framework') ,
'1' => __('Yes', 'framework')
) ,
'default' => '0',
) ,
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-map-marker',
'title' => __('Map API', 'framework') ,
'fields' => array(
array(
'id' => 'google_map_api',
'type' => 'text',
'title' => __('Google Maps API Key', 'framework') ,
'desc' => __('Enter your Google Maps API key in here. This will be used for all maps in the theme i.e. Map banner, Event maps. <a href="https://support.imithemes.com/knowledgebase/get-google-maps-api/" target="_blank">See Guide about how to get your API Key</a>', 'framework') ,
) ,
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-folder',
'id' => 'post-types',
'title' => esc_html__('Custom Post Types', 'framework'),
'fields' => array(
array(
'id' => 'info_post_types',
'type' => 'info',
'title' => esc_html__('Sub sections here for each post type will let you change the permalinks slug for each post type. Also would be able to change the Title, Category, Tag title for menu on the left sidebar of WP Dashboard.', 'framework'),
'style' => 'warning',
'desc' => esc_html__('Make sure you go to Settings > Permalinks page once you make any change to any post type here to flush the permalinks structure cache. You just need to go to that permalinks page, no need to save the options.', 'framework')
),
array(
'id' => 'info_post_types_slug',
'type' => 'info',
'title' => esc_html__('If the slug is identical to an existing page WP will display the cpt posts as blog posts, not with their own style. (unless you can work your php magic and get over this issue).', 'framework'),
'style' => 'critical',
),
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-ok',
'subsection' => true,
'title' => esc_html__('Event', 'framework'),
'desc' => esc_html__('From here you can change the slug for event post types, along with title of the post types, taxonomies that displays on the left sidebar of WP Dashboard', 'framework'),
'fields' => array(
array(
'id' => 'info_post_event',
'type' => 'info',
'title' => esc_html__('Make sure you go to Settings > Permalinks page once you make any change here in order to flush the permalinks structure cache. You just need to go to that permalinks page, no need to save the options.', 'framework'),
'style' => 'warning',
),
array(
'id' => 'event_post_slug',
'type' => 'text',
'title' => esc_html__('Events permalink slug', 'framework'),
'desc' => esc_html__('All lowercase, no spaces in between words.', 'framework'),
'default' => 'event'
),
array(
'id' => 'event_post_title',
'type' => 'text',
'title' => esc_html__('Events menu name', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu', 'framework'),
'default' => 'Events'
),
array(
'id' => 'event_post_singular',
'type' => 'text',
'title' => esc_html__('Events post singular item title', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu', 'framework'),
'default' => 'Event'
),
array(
'id' => 'event_post_categories',
'type' => 'text',
'title' => esc_html__('Events categories title', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu', 'framework'),
'default' => 'Event Categories'
),
array(
'id' => 'event_category_slug',
'type' => 'text',
'title' => esc_html__('Event Category permalink slug', 'framework'),
'desc' => esc_html__('All lowercase, no spaces in between words.', 'framework'),
'default' => 'event-category'
),
array(
'id' => 'event_post_payment',
'type' => 'text',
'title' => esc_html__('Events payments title', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu', 'framework'),
'default' => 'Event Registrants'
),
array(
'id' => 'event_post_icon',
'type' => 'text',
'title' => esc_html__('Events menu icon', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu. Choose icon class name from here: ', 'framework').'<a href="https://aalmiray.github.io/ikonli/cheat-sheet-dashicons.html" target="_blank">https://aalmiray.github.io/ikonli/cheat-sheet-dashicons.html</a>',
'default' => 'dashicons-calendar'
),
array(
'id' => 'disable_event_archive',
'type' => 'checkbox',
'title' => esc_html__('Disable Event post type archive page.', 'framework'),
'desc' => esc_html__('By default WordPress create a page for all post types which makes it impossible for you to create a new page with the same slug as of custom post type. Check this to disable the default cpt page.', 'framework'),
'default' => 0
),
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-ok',
'subsection' => true,
'title' => esc_html__('Sermon', 'framework'),
'desc' => esc_html__('From here you can change the slug for sermon post types, along with title of the post types, taxonomies that displays on the left sidebar of WP Dashboard', 'framework'),
'fields' => array(
array(
'id' => 'info_post_sermon',
'type' => 'info',
'title' => esc_html__('Make sure you go to Settings > Permalinks page once you make any change here in order to flush the permalinks structure cache. You just need to go to that permalinks page, no need to save the options.', 'framework'),
'style' => 'warning',
),
array(
'id' => 'sermon_post_slug',
'type' => 'text',
'title' => esc_html__('Sermons permalink slug', 'framework'),
'desc' => esc_html__('All lowercase, no spaces in between words.', 'framework'),
'default' => 'sermon'
),
array(
'id' => 'sermon_post_title',
'type' => 'text',
'title' => esc_html__('Sermons menu name', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu', 'framework'),
'default' => 'Sermons'
),
array(
'id' => 'sermon_post_singular',
'type' => 'text',
'title' => esc_html__('Sermons post singular item title', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu', 'framework'),
'default' => 'Sermon'
),
array(
'id' => 'sermon_post_categories',
'type' => 'text',
'title' => esc_html__('Sermons categories title', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu', 'framework'),
'default' => 'Sermons Categories'
),
array(
'id' => 'sermon_category_slug',
'type' => 'text',
'title' => esc_html__('Sermon Category permalink slug', 'framework'),
'desc' => esc_html__('All lowercase, no spaces in between words.', 'framework'),
'default' => 'sermons-category'
),
array(
'id' => 'sermon_post_tags',
'type' => 'text',
'title' => esc_html__('Sermons tags title', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu', 'framework'),
'default' => 'Sermons Tag'
),
array(
'id' => 'sermon_tag_slug',
'type' => 'text',
'title' => esc_html__('Sermons Tag permalink slug', 'framework'),
'desc' => esc_html__('All lowercase, no spaces in between words.', 'framework'),
'default' => 'sermons-tag'
),
array(
'id' => 'sermon_post_speaker',
'type' => 'text',
'title' => esc_html__('Sermons Speakers title', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu', 'framework'),
'default' => 'Sermons Speakers'
),
array(
'id' => 'sermon_speaker_slug',
'type' => 'text',
'title' => esc_html__('Sermons Speakers permalink slug', 'framework'),
'desc' => esc_html__('All lowercase, no spaces in between words.', 'framework'),
'default' => 'sermons-speakers'
),
array(
'id' => 'sermon_post_icon',
'type' => 'text',
'title' => esc_html__('Sermons menu icon', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu. Choose icon class name from here: ', 'framework').'<a href="https://aalmiray.github.io/ikonli/cheat-sheet-dashicons.html" target="_blank">https://aalmiray.github.io/ikonli/cheat-sheet-dashicons.html</a>',
'default' => 'dashicons-controls-volumeon'
),
array(
'id' => 'disable_sermon_archive',
'type' => 'checkbox',
'title' => esc_html__('Disable Sermons post type archive page.', 'framework'),
'desc' => esc_html__('By default WordPress create a page for all post types which makes it impossible for you to create a new page with the same slug as of custom post type. Check this to disable the default cpt page.', 'framework'),
'default' => 1
),
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-ok',
'subsection' => true,
'title' => esc_html__('Staff', 'framework'),
'desc' => esc_html__('From here you can change the slug for staff post types, along with title of the post types, taxonomies that displays on the left sidebar of WP Dashboard', 'framework'),
'fields' => array(
array(
'id' => 'info_post_staff',
'type' => 'info',
'title' => esc_html__('Make sure you go to Settings > Permalinks page once you make any change here in order to flush the permalinks structure cache. You just need to go to that permalinks page, no need to save the options.', 'framework'),
'style' => 'warning',
),
array(
'id' => 'staff_post_slug',
'type' => 'text',
'title' => esc_html__('Staff permalink slug', 'framework'),
'desc' => esc_html__('All lowercase, no spaces in between words.', 'framework'),
'default' => 'speaker'
),
array(
'id' => 'staff_post_title',
'type' => 'text',
'title' => esc_html__('Staff menu name', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu', 'framework'),
'default' => 'Staff'
),
array(
'id' => 'staff_post_singular',
'type' => 'text',
'title' => esc_html__('Staff post singular item title', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu', 'framework'),
'default' => 'Speaker'
),
array(
'id' => 'staff_post_categories',
'type' => 'text',
'title' => esc_html__('Staff categories title', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu', 'framework'),
'default' => 'Staff Categories'
),
array(
'id' => 'staff_category_slug',
'type' => 'text',
'title' => esc_html__('Staff Category permalink slug', 'framework'),
'desc' => esc_html__('All lowercase, no spaces in between words.', 'framework'),
'default' => 'staff-category'
),
array(
'id' => 'staff_post_icon',
'type' => 'text',
'title' => esc_html__('Staff menu icon', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu. Choose icon class name from here: ', 'framework').'<a href="https://aalmiray.github.io/ikonli/cheat-sheet-dashicons.html" target="_blank">https://aalmiray.github.io/ikonli/cheat-sheet-dashicons.html</a>',
'default' => 'dashicons-businessman'
),
array(
'id' => 'disable_staff_archive',
'type' => 'checkbox',
'title' => esc_html__('Disable Staff post type archive page.', 'framework'),
'desc' => esc_html__('By default WordPress create a page for all post types which makes it impossible for you to create a new page with the same slug as of custom post type. Check this to disable the default cpt page.', 'framework'),
'default' => 0
),
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-ok',
'subsection' => true,
'title' => esc_html__('Gallery', 'framework'),
'desc' => esc_html__('From here you can change the slug for gallery post types, along with title of the post types, taxonomies that displays on the left sidebar of WP Dashboard', 'framework'),
'fields' => array(
array(
'id' => 'info_post_gallery',
'type' => 'info',
'title' => esc_html__('Make sure you go to Settings > Permalinks page once you make any change here in order to flush the permalinks structure cache. You just need to go to that permalinks page, no need to save the options.', 'framework'),
'style' => 'warning',
),
array(
'id' => 'gallery_post_slug',
'type' => 'text',
'title' => esc_html__('Gallery permalink slug', 'framework'),
'desc' => esc_html__('All lowercase, no spaces in between words.', 'framework'),
'default' => 'gallery'
),
array(
'id' => 'gallery_post_title',
'type' => 'text',
'title' => esc_html__('Gallery menu name', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu', 'framework'),
'default' => 'Gallery'
),
array(
'id' => 'gallery_post_singular',
'type' => 'text',
'title' => esc_html__('Gallery post singular item title', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu', 'framework'),
'default' => 'Gallery Item'
),
array(
'id' => 'gallery_post_categories',
'type' => 'text',
'title' => esc_html__('Gallery categories title', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu', 'framework'),
'default' => 'Gallery Categories'
),
array(
'id' => 'gallery_category_slug',
'type' => 'text',
'title' => esc_html__('Gallery Category permalink slug', 'framework'),
'desc' => esc_html__('All lowercase, no spaces in between words.', 'framework'),
'default' => 'gallery-category'
),
array(
'id' => 'gallery_post_icon',
'type' => 'text',
'title' => esc_html__('Gallery menu icon', 'framework'),
'desc' => esc_html__('For the WP Dashboard menu. Choose icon class name from here: ', 'framework').'<a href="https://aalmiray.github.io/ikonli/cheat-sheet-dashicons.html" target="_blank">https://aalmiray.github.io/ikonli/cheat-sheet-dashicons.html</a>',
'default' => 'dashicons-format-gallery'
),
array(
'id' => 'disable_gallery_archive',
'type' => 'checkbox',
'title' => esc_html__('Disable Gallery post type archive page.', 'framework'),
'desc' => esc_html__('By default WordPress create a page for all post types which makes it impossible for you to create a new page with the same slug as of custom post type. Check this to disable the default cpt page.', 'framework'),
'default' => 0
),
)
));
Redux::setSection($opt_name, array(
'icon' => 'el-icon-css',
'title' => __('Custom CSS/JS', 'framework') ,
'fields' => array(
array(
'id' => 'custom_css',
'type' => 'ace_editor',
'title' => __('CSS Code', 'framework') ,
'subtitle' => __('Paste your CSS code here.', 'framework') ,
'mode' => 'css',
'theme' => 'monokai',
'desc' => '',
'default' => "#header{\nmargin: 0 auto;\n}"
) ,
array(
'id' => 'custom_js',
'type' => 'ace_editor',
'title' => __('JS Code', 'framework') ,
'subtitle' => __('Paste your JS code here.', 'framework') ,
'mode' => 'javascript',
'theme' => 'chrome',
'desc' => '',
'default' => "jQuery(document).ready(function(){\n\n});"
)
) ,
));
Redux::setSection($opt_name, array(
'title' => __('Import / Export', 'framework') ,
'desc' => __('Import and Export your Theme Framework settings from file, text or URL.', 'framework') ,
'icon' => 'el-icon-refresh',
'fields' => array(
array(
'id' => 'opt-import-export',
'type' => 'import_export',
'title' => __('Import Export', 'framework') ,
'subtitle' => __('Save and restore your Theme options', 'framework') ,
'full_width' => false,
) ,
) ,
));
/*
* <--- END SECTIONS
*/
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists