%PDF- %PDF-
| Direktori : /home/gachan/www/wp-content/themes/jekas/inc/redux/options/ |
| Current File : /home/gachan/www/wp-content/themes/jekas/inc/redux/options/option-general.php |
<?php
$this->sections[] = array(
'title' => esc_html__( 'General', 'jekas' ),
'desc' => esc_html__('General Configuration of Theme','jekas'),
'icon' => 'el-icon-cogs',
// 'submenu' => false, // Setting submenu to false on a given section will hide it from the WordPress sidebar menu!
'fields' => array(
array(
'id' => 'style_logo',
'type' => 'select',
'title' => esc_html__( 'Style of logo', 'jekas' ),
'subtitle' => esc_html__( 'Choose logo style', 'jekas' ),
'desc' => '',
'options' => array(
1 => esc_html__( 'Logo Text Style', 'jekas' ),
2 => esc_html__( 'Logo Image Style', 'jekas' ),
),
'default' => 1
),
//TEXT LOGO OPTION
array(
'id' => 'logo_text',
'type' => 'text',
'title' => '',
'subtitle' => esc_html__( 'Logo Text', 'jekas' ),
'desc' => '',
'required' => array( 'style_logo', '=', 1 ),
),
array(
'id' => 'logo_font',
'type' => 'typography',
'title' => '',
'subtitle' => esc_html__( 'Specify the logo font properties.', 'jekas' ),
'google' => true,
'default' => array(
'color' => '#dd9933',
'font-size' => '30px',
'font-family' => 'Arial,Helvetica,sans-serif',
'font-weight' => 'normal',
),
'required' => array( 'style_logo', '=', 1 ),
),
//IMAGE LOGO OPTION
array(
'id' => 'logo_img',
'type' => 'media',
'title' => '',
'compiler' => 'true',
'mode' => false,
'desc' => esc_html__( 'Logo Image', 'jekas' ),
'subtitle' => '',
'required' => array( 'style_logo', '=', 2 ),
),
//LOGIN OPTION
array(
'id' => 'login',
'type' => 'media',
'title' => esc_html__( 'Logo Image', 'jekas' ),
'compiler' => 'true',
'mode' => false,
'desc' => esc_html__( 'This is our option for login logo', 'jekas' ),
'subtitle' => '',
),
//DEFAULT FOOTER
array(
'id' => 'default_footer',
'title' => esc_html__('Default footer','jekas'),
'type' => 'select',
'options' => $jekas_footers,
),
//COPYRIGHT
array(
'id' => 'copyright_title',
'type' => 'text',
'title' => esc_html__( 'Copyright Text', 'jekas' ),
'subtitle' => esc_html__( 'Configuration of copyright text and link', 'jekas' ),
'desc' => esc_html__( 'Copyright Text', 'jekas' ),
),
array(
'id' => 'copyright_link',
'type' => 'text',
'validate' => 'url',
'default' => esc_url(home_url('/')),
'title' => '',
'subtitle' => '',
'desc' => esc_html__( 'Copyright Link', 'jekas' ),
),
//SHOW CRUMBS
array(
'id' => 'page_crumbs',
'type' => 'switch',
'title' => esc_html__( 'Show Crumbs', 'jekas' ),
'subtitle' => esc_html__( 'Active crumbs', 'jekas' ),
'default' => 0,
'on' => 'On',
'off' => 'Off',
),
),
);