File: /home/slyfwmm/studiomilighetti/wp-content/themes/domik/includes/redux-sections/general.php
<?php
/* banner-php */
Redux::setSection( $opt_name, array(
'title' => __('General Settings', 'domik'),
'id' => 'general-settings',
'subsection' => false,
//'desc' => __( 'For full documentation on this field, visit: ', 'redux-framework-demo' ) . '<a href="http://docs.reduxframework.com/core/fields/checkbox/" target="_blank">http://docs.reduxframework.com/core/fields/checkbox/</a>',
'icon' => 'el-icon-cogs',
'fields' => array(
// array(
// 'id' => 'favicon',
// 'type' => 'media',
// 'url' => true,
// 'title' => __('Custom Favicon', 'domik'),
// //'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 your Favicon.', 'domik'),
// // 'subtitle' => __('', 'domik'),
// 'default' => array('url' => get_template_directory_uri().'/assets/images/favicon.png'),
// ),
// array(
// 'id' => 'logo',
// 'type' => 'media',
// 'url' => true,
// 'title' => __('Logo', 'domik'),
// //'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 your logo.', 'domik'),
// // 'subtitle' => __('', 'domik'),
// 'default' => array('url' => get_template_directory_uri().'/assets/images/logo.png'),
// ),
// array(
// 'id' => 'logo_size_width',
// 'type' => 'text',
// 'title' => esc_html__('Logo Size Width', 'domik'),
// // 'subtitle' => esc_html__('', 'domik'),
// // 'desc' => esc_html__('', 'domik'),
// 'default' => '37'
// ),
// array(
// 'id' => 'logo_size_height',
// 'type' => 'text',
// 'title' => esc_html__('Logo Size Height', 'domik'),
// // 'subtitle' => esc_html__('', 'domik'),
// // 'desc' => esc_html__('', 'domik'),
// 'default' => '30'
// ),
// array(
// 'id' => 'logo_text',
// 'type' => 'text',
// 'title' => esc_html__('Logo Text', 'domik'),
// // 'subtitle' => esc_html__('', 'domik'),
// // 'desc' => esc_html__('', 'domik'),
// 'default' => ''
// ),
// array(
// 'id' => 'slogan',
// 'type' => 'text',
// 'title' => esc_html__('Slogan (Sub Logo Text)', 'domik'),
// // 'subtitle' => esc_html__('', 'domik'),
// // 'desc' => esc_html__('', 'domik'),
// 'default' => ''
// ),
array(
'id' => 'disable_ajax_transition',
'type' => 'switch',
'on'=> esc_html__('Yes', 'domik' ),
'off'=> esc_html__('No', 'domik' ),
'title' => __('Disable Ajax Page Transition', 'domik'),
//'subtitle' => esc_html__('Show animation loader', 'alexon'),
'desc' => '',
//'options' => array('no' => 'No', 'yes' => 'Yes'), //Must provide key => value pairs for select options
'default' => false
),
array(
'id' => 'show_loader',
'type' => 'switch',
'on'=> esc_html__('Yes', 'domik' ),
'off'=> esc_html__('No', 'domik' ),
'title' => __('Show animation loadder', 'domik'),
'default' => true
),
array(
'id' => 'loader_icon',
'type' => 'text',
'title' => __('Loader Icon', 'domik'),
// 'subtitle' => __('', 'domik'),
// 'desc' => __('', 'domik'),
'default' => '<i class="fa fa-refresh fa-spin"></i>'
),
array(
'id' => 'show_to_top',
'type' => 'switch',
'on'=> esc_html__('Yes', 'domik' ),
'off'=> esc_html__('No', 'domik' ),
'title' => __( 'Show TO TOP Button', 'domik' ),
'subtitle' => __( 'Set this to Yes if you want to show TO TOP arrow button at the footer right.', 'domik' ),
'default' => true,
),
array(
'id' => 'to_top_icon',
'type' => 'text',
'title' => __('TO TOP Icon', 'domik'),
// 'subtitle' => __('', 'domik'),
// 'desc' => __('', 'domik'),
'default' => '<i class="fa fa-long-arrow-up"></i>'
),
array(
'id' => 'right_parallax_bg',
'type' => 'media',
'url' => true,
'title' => __('Right Parallax Background', 'domik'),
//'compiler' => 'true',
//'mode' => false, // Can be set to false to allow any media type, or can also be set to any mime type.
'desc' => __('Select Right Parallax Background image.', 'domik'),
// 'subtitle' => __('', 'domik'),
'default' => array('url' => get_template_directory_uri().'/assets/images/bg/long/7.jpg'),
),
array(
'id' => 'rotate_bg',
'type' => 'media',
'url' => true,
'title' => __('Rotate Background', 'domik'),
//'compiler' => 'true',
//'mode' => false, // Can be set to false to allow any media type, or can also be set to any mime type.
'desc' => __('Rotate background on your page footer', 'domik'),
// 'subtitle' => __('', 'domik'),
'default' => array('url' => get_template_directory_uri().'/assets/images/body-bg.png'),
),
array(
'id' => 'rotate_on',
'type' => 'switch',
'on'=> esc_html__('Yes', 'domik' ),
'off'=> esc_html__('No', 'domik' ),
'title' => __( 'Switch Rotate Off', 'domik' ),
'subtitle' => __( 'Set this to Yes if you don\'t want ratation effect on image background above', 'domik' ),
'default' => false,
),
array(
'id' => 'fullwidth_layout',
'type' => 'switch',
'on'=> esc_html__('Yes', 'domik' ),
'off'=> esc_html__('No', 'domik' ),
'title' => __( 'Use Centered Layout', 'domik' ),
'subtitle' => __( 'Set this to Yes if you want to use content fullwidth centered layout instead of 70% width in left side.', 'domik' ),
'default' => false,
),
array(
'id' => 'show_page_title',
'type' => 'switch',
'on'=> esc_html__('Yes', 'domik' ),
'off'=> esc_html__('No', 'domik' ),
'title' => __( 'Show Page Title', 'domik' ),
'subtitle' => __( 'Allow you show or hide page title on Default, Page Left Sidebar, Page Right Sidebar and Page No Sidebar page templates.', 'domik' ),
'default' => true,
),
// array(
// 'id' => 'seo_des',
// 'type' => 'textarea',
// 'title' => __('SEO Description', 'domik'),
// 'subtitle' => __('', 'domik'),
// 'desc' => __('', 'domik'),
// 'default' => ''
// ),
// array(
// 'id' => 'seo_key',
// 'type' => 'textarea',
// 'title' => __('SEO Keywords', 'domik'),
// 'subtitle' => __('', 'domik'),
// 'desc' => __('', 'domik'),
// 'default' => ''
// ),
// array(
// 'id' => 'footer-text',
// 'type' => 'editor',
// 'title' => __('Footer Text', 'domik'),
// 'subtitle' => __('Copyright Text', 'domik'),
// 'default' => 'Copyright © 2014 <a class="copyrights" href="http://themeforest.net/user/cththemes">Cththemes</a>. All Rights Reserved.',
// ),
array(
'id' => 'gmap_api_key',
'type' => 'text',
// 'url' => true,
'title' => esc_html__('Google Map API Key', 'domik'),
// 'subtitle' => esc_html__('', 'domik'),
'desc' => '<a href="https://developers.google.com/maps/documentation/javascript/get-api-key" target="_blank">Get a key</a>.',
// 'default' => '',
),
),
) );