%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-fonts.php |
<?php
$opt = array(
'title' => esc_html__( 'Fonts', 'jekas' ),
'desc' => esc_html__('Optional Fonts Configuration','jekas'),
'icon' => 'el-icon-path',
'fields' => array(),
);
$jekas_options = array(
'h1' => 'H1',
'h2' => 'H2',
'h3' => 'H3',
'h4' => 'H4',
'h5' => 'H5',
'h6' => 'H6',
'small' => esc_html__( 'Small', 'jekas' ),
'span' => esc_html__( 'Span', 'jekas' ),
'a' => 'A',
'p' => 'P',
);
foreach($jekas_options as $jekas_k => $jekas_i){
$opt['fields'][] = array(
'id' => 'fonts_'.$jekas_k,
'type' => 'info',
'style' => 'info',
'notice' => true,
'title' =>$jekas_i. esc_html__(' Font Style', 'jekas' ),
'desc' => ''
);
$opt['fields'][] = array(
'id' => 'fonts_'.$jekas_k.'_ch',
'type' => 'switch',
'title' => esc_html__( 'Active option', 'jekas' ),
'subtitle' => esc_html__( 'Background option active', 'jekas' ),
'default' => 0,
'on' => 'On',
'off' => 'Off',
);
$opt['fields'][] = array(
'id' => 'fonts_'.$jekas_k.'_c',
'type' => 'typography',
'title' => '',
'subtitle' => esc_html__( 'Specify the font properties.', 'jekas' ),
'google' => true,
'default' => array(
'color' => '#dd9933',
'font-size' => '30px',
'font-family' => 'Arial,Helvetica,sans-serif',
'font-weight' => esc_html__('Normal','jekas'),
),
'required' => array( 'fonts_'.$jekas_k.'_ch', '=', 1 ),
);
}
$this->sections[] = $opt;