%k25u25%fgd5n!
<?php if ( ! defined( 'FW' ) ) {
die( 'Forbidden' );
}
$windazo_choices = array();
$windazo_choices['default'] = esc_html__( 'Default', 'windazo' );
$windazo_color_schemes = fw_get_db_settings_option( 'items' );
if ( !empty($windazo_color_schemes) ) {
foreach ($windazo_color_schemes as $v) {
$windazo_choices[$v['slug']] = esc_html( $v['name'] );
}
}
$windazo_theme_config = windazo_theme_config();
$windazo_sections_list = windazo_get_sections();
$options = array(
'general' => array(
'title' => esc_html__( 'Page settings', 'windazo' ),
'type' => 'box',
'options' => array(
'general-box' => array(
'title' => __( 'General Settings', 'windazo' ),
'type' => 'tab',
'options' => array(
'margin-layout' => array(
'label' => esc_html__( 'Content Margin', 'windazo' ),
'type' => 'select',
'desc' => esc_html__( 'Margins control for content', 'windazo' ),
'choices' => array(
'default' => esc_html__( 'Top And Bottom', 'windazo' ),
'top' => esc_html__( 'Top Only', 'windazo' ),
'bottom' => esc_html__( 'Bottom Only', 'windazo' ),
'disabled' => esc_html__( 'Margin Removed', 'windazo' ),
),
'value' => 'default',
),
'topbar-layout' => array(
'label' => esc_html__( 'Topbar section', 'windazo' ),
'desc' => esc_html__( 'You can edit it in Sections menu of dashboard.', 'windazo' ),
'type' => 'select',
'choices' => array('default' => 'Default') + array('hidden' => 'Hidden') + $windazo_sections_list['top_bar'],
'value' => 'default',
),
'navbar-layout' => array(
'label' => esc_html__( 'Navbar', 'windazo' ),
'type' => 'select',
'choices' => $windazo_theme_config['navbar'] + array( 'disabled' => esc_html__( 'Hidden', 'windazo' ) ),
'value' => $windazo_theme_config['navbar-default'],
),
'header-layout' => array(
'label' => esc_html__( 'Page Header', 'windazo' ),
'type' => 'select',
'choices' => array(
'default' => esc_html__( 'Default', 'windazo' ),
'disabled' => esc_html__( 'Hidden', 'windazo' ),
),
'value' => 'default',
),
'subscribe-layout' => array(
'label' => esc_html__( 'Subscribe Block', 'windazo' ),
'type' => 'select',
'desc' => esc_html__( 'Subscribe block before footer. Can be edited from Sections Menu.', 'windazo' ),
'choices' => array(
'default' => esc_html__( 'Default', 'windazo' ),
'disabled' => esc_html__( 'Hidden', 'windazo' ),
),
'value' => 'default',
),
'before-footer-layout' => array(
'label' => esc_html__( 'Before Footer', 'windazo' ),
'type' => 'select',
'desc' => esc_html__( 'Before footer sections. Edited in Sections menu.', 'windazo' ),
'choices' => array(
'default' => esc_html__( 'Default', 'windazo' ),
'disabled' => esc_html__( 'Hidden', 'windazo' ),
),
'value' => 'default',
),
'footer-layout' => array(
'label' => esc_html__( 'Footer', 'windazo' ),
'type' => 'select',
'desc' => esc_html__( 'Footer block before footer. Edited in Widgets menu.', 'windazo' ),
'choices' => $windazo_theme_config['footer'] + array( 'disabled' => esc_html__( 'Hidden', 'windazo' ) ),
'value' => $windazo_theme_config['footer-default'],
),
'footer-parallax' => array(
'label' => esc_html__( 'Footer Parallax', 'windazo' ),
'type' => 'select',
'desc' => esc_html__( 'Footer block parallax effect.', 'windazo' ),
'choices' => array(
'default' => esc_html__( 'Default', 'windazo' ),
'disabled' => esc_html__( 'Disabled', 'windazo' ),
),
'value' => 'default',
),
'color-scheme' => array(
'label' => esc_html__( 'Color Scheme', 'windazo' ),
'type' => 'select',
'choices' => $windazo_choices,
'value' => 'default',
),
'body-bg' => array(
'label' => esc_html__( 'Background Scheme', 'windazo' ),
'type' => 'select',
'choices' => array(
'default' => esc_html__( 'White', 'windazo' ),
'black' => esc_html__( 'Black', 'windazo' ),
),
'value' => 'default',
),
'background-image' => array(
'label' => esc_html__( 'Background Image', 'windazo' ),
'type' => 'upload',
'desc' => esc_html__( 'Will be used to fill whole page', 'windazo' ),
),
),
),
'cpt' => array(
'title' => esc_html__( 'Blog / Gallery', 'windazo' ),
'type' => 'tab',
'options' => array(
'sidebar-layout' => array(
'label' => esc_html__( 'Blog Sidebar', 'windazo' ),
'type' => 'select',
'choices' => array(
'hidden' => esc_html__( 'Hidden', 'windazo' ),
'left' => esc_html__( 'Sidebar Left', 'windazo' ),
'right' => esc_html__( 'Sidebar Right', 'windazo' ),
),
'value' => 'hidden',
),
'blog-layout' => array(
'label' => esc_html__( 'Blog Layout', 'windazo' ),
'description' => esc_html__( 'Used only for blog pages.', 'windazo' ),
'type' => 'select',
'choices' => array(
'default' => esc_html__( 'Default', 'windazo' ),
'classic' => esc_html__( 'One Column', 'windazo' ),
'two-cols' => esc_html__( 'Two Columns', 'windazo' ),
'three-cols' => esc_html__( 'Three Columns', 'windazo' ),
),
'value' => 'default',
),
'gallery-layout' => array(
'label' => esc_html__( 'Gallery Layout', 'windazo' ),
'description' => esc_html__( 'Used only for gallery pages.', 'windazo' ),
'type' => 'select',
'choices' => array(
'default' => esc_html__( 'Default', 'windazo' ),
'col-2' => esc_html__( 'Two Columns', 'windazo' ),
'col-3' => esc_html__( 'Three Columns', 'windazo' ),
'col-4' => esc_html__( 'Four Columns', 'windazo' ),
),
'value' => 'default',
),
)
)
)
),
);
unset($options['general']['options']['general-box']['options']['topbar-layout']);
unset($options['general']['options']['general-box']['options']['footer-parallax']);