%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/gachan/www/wp-content/themes/jekas/inc/redux/options/
Upload File :
Create Path :
Current File : /home/gachan/www/wp-content/themes/jekas/inc/redux/options/option-index.php

<?php
    $this->sections[] = array(
        'title'  => esc_html__( 'Page Home', 'jekas' ),
        'desc'   => esc_html__('Home Configuration Page','jekas'),
        'icon'   => 'el-icon-error',
        'fields' => array(
            //----HEADER OPTIONS--------------------------------//                      
            
                array(
                    'id'       => 'index_htitle',
                    'type'     => 'text',
                    'title'    => esc_html__( 'Header Title', 'jekas' ),
                    'subtitle' => esc_html__( '', 'jekas' ),
                    'desc'     => '',
                ),
                array(
                    'id'       => 'index_hdesc',
                    'type'     => 'textarea',
                    'title'    => esc_html__( 'Header Description', 'jekas' ),
                    'subtitle' => esc_html__( '', 'jekas' ),
                    'desc'     => '',
                ),
                array(
                    'id'       => 'index_header',
                    'type'     => 'select',
                    'title'    => esc_html__( 'Home header style', 'redux-framework-demo' ),
                    'subtitle' => esc_html__( '', 'jekas' ),
                    'desc'     => '',
                    'options'  => array(
                        'section_title' 	=> esc_html__( 'Default', 'jekas' ),
                        'section_title-02' 	=> esc_html__( 'Image Background', 'jekas' ),
                        'section_title-03' 	=> esc_html__( 'Parallax', 'jekas' ),
                        'none' => 'None',
                    ),
                    'default'  => 'section_title'
                ),
               array(
                    'id'       => 'index_bg_color',
                    'type'     => 'color_rgba',
                    'title'    => esc_html__( 'Background Color', 'jekas' ),
                    'subtitle' => esc_html__( 'Color background is active for Image Background option.', 'jekas' ),
                    'default'  => array( 
                        'color' => '#7e33dd', 
                        'alpha' => '.8' 
                    ),
                    'output'   => '',
                    'mode'     => 'background',
                    'validate' => 'colorrgba',
                    'required' => array( 'index_header', '=', array('section_title-02','section_title-03') ),
                ),
                array(
                    'id'       => 'index_bg_image',
                    'type'     => 'media',
                    'title'    => esc_html__( 'Banner Image', 'jekas' ),
                    'compiler' => 'true',
                    'mode'     => false,                
                    'desc'     => '',
                    'subtitle' => esc_html__( '', 'jekas' ),
                    'required' => array( 'index_header', '=', array('section_title-02','section_title-03') ),
                ),
            array(
                'id'      => 'home_sidebar_position',
                'type'    => 'button_set',
                'title'   => esc_html__('Home Sidebar position','jekas'),
                'options' => array(
                    'left'  => esc_html__('Left','jekas'),
                    'right' => esc_html__('Right','jekas'),
                    'none'  => esc_html__('None','jekas'),
                ),
                'default' => 'right',
            ),
            array(
                'id'      => 'home_sidebar_widget',
                'type'    => 'select',
                'title'   => esc_html__('Archive Sidebar Widget','jekas'),
                'options' => $sidebar_opts,
                'default' => key($sidebar_opts),
                'required' => array('archive_sidebar_position','!=','none'),
            ),
            array(
                'id'      => 'home_footer',
                'type'    => 'select',
                'title'   => esc_html__('Home Page Footer','jekas'),
                'options' => $jekas_footers,
            ),
        ),
    );    

Zerion Mini Shell 1.0