esc_html__( 'Settings', 'bizmax' ), 'post_type' => array( 'page', 'post','bizmax_team','bizmax_service','bizmax_project','product' ), 'data_type' => 'serialize', ) ); // Create layout section CSF::createSection( $bizmax_common_meta, array( 'title' => esc_html__( 'Layout Settings ', 'bizmax' ), 'icon' => 'fa fa-calculator', 'fields' => array( array( 'id' => 'layout_meta', 'type' => 'select', 'title' => esc_html__( 'Layout', 'bizmax' ), 'options' => array( 'default' => esc_html__( 'Default', 'bizmax' ), 'left-sidebar' => esc_html__( 'Left Sidebar', 'bizmax' ), 'full-width' => esc_html__( 'Full Width', 'bizmax' ), 'right-sidebar' => esc_html__( 'Right Sidebar', 'bizmax' ), ), 'default' => 'default', 'desc' => esc_html__( 'Select layout', 'bizmax' ), ), array( 'id' => 'sidebar_meta', 'type' => 'select', 'title' => esc_html__( 'Sidebar', 'bizmax' ), 'options' => 'bizmax_sidebars', 'dependency' => array( 'layout_meta', '!=', 'full-width' ), 'desc' => esc_html__( 'Select sidebar you want to show with this page.', 'bizmax' ), ), ) ) ); // Create layout section CSF::createSection( $bizmax_common_meta, array( 'title' => esc_html__( 'Header Settings ', 'bizmax' ), 'icon' => 'fa fa-header', 'fields' => array( array( 'id' => 'header_meta', 'type' => 'select', 'title' => esc_html__('Header Style', 'bizmax'), 'options' => array( 'default' => esc_html__('Default', 'bizmax'), 'header-style-one' => esc_html__('Header Style One', 'bizmax'), 'header-style-two' => esc_html__('Header Style Two', 'bizmax'), ), 'default' => 'default', 'desc' => esc_html__('Select header style', 'bizmax'), ), array( 'id' => 'header_logo_meta', 'type' => 'media', 'title' => esc_html__( 'Header Logo', 'bizmax' ), 'library' => 'image', 'url' => false, 'button_title' => esc_html__( 'Upload Logo', 'bizmax' ), 'desc' => esc_html__( 'Upload logo image', 'bizmax' ), ), array( 'id' => 'main_menu_meta', 'type' => 'select', 'title' => esc_html__( 'Header Menu', 'bizmax' ), 'options' => 'menus', 'placeholder' => esc_html__( 'Default', 'bizmax' ), 'desc' => esc_html__( 'You can select a different menu for this page from here.', 'bizmax' ), ), ) ) ); // Create a section CSF::createSection( $bizmax_common_meta, array( 'title' => esc_html__( 'Banner Settings', 'bizmax' ), 'icon' => 'fa fa-flag-o', 'fields' => array( array( 'id' => 'enable_banner', 'type' => 'switcher', 'title' => esc_html__( 'Enable Banner', 'bizmax' ), 'default' => true, 'text_on' => esc_html__( 'Yes', 'bizmax' ), 'text_off' => esc_html__( 'No', 'bizmax' ), 'desc' => esc_html__( 'Enable or disable banner.', 'bizmax' ), ), array( 'id' => 'banner_background_meta', 'type' => 'background', 'title' => esc_html__( 'Banner Background', 'bizmax' ), 'background_gradient' => true, 'background_origin' => false, 'background_clip' => false, 'background_blend-mode' => false, 'background_attachment' => false, 'background_size' => false, 'background_position' => false, 'background_repeat' => false, 'dependency' => array( 'enable_banner', '==', true ), 'output' => '.banner-area.post-banner,.banner-area.page-banner,.banner-area.service-banner,.banner-area.team-banner,.banner-area.project-banner,.banner-area.job-banner', 'desc' => esc_html__( 'Select banner background color and image', 'bizmax' ), ), array( 'id' => 'hide_banner_title_meta', 'type' => 'button_set', 'title' => esc_html__( 'Hide Title', 'bizmax' ), 'options' => array( 'default' => esc_html__( 'Default', 'bizmax' ), 'yes' => esc_html__( 'Yes', 'bizmax' ), 'no' => esc_html__( 'No', 'bizmax' ), ), 'default' => 'default', 'desc' => esc_html__( 'Hide or show banner title.', 'bizmax' ), 'dependency' => array( 'enable_banner', '==', true ), ), array( 'id' => 'custom_title', 'type' => 'text', 'title' => esc_html__( 'Banner Custom Title', 'bizmax' ), 'dependency' => array( 'enable_banner|hide_banner_title_meta', '==|!=', 'true|yes' ), 'desc' => esc_html__( 'If you want to use custom title write title here.If you don\'t, leave it empty.', 'bizmax' ) ), array( 'id' => 'hide_banner_breadcrumb_meta', 'type' => 'button_set', 'title' => esc_html__( 'Hide Breadcrumb', 'bizmax' ), 'options' => array( 'default' => esc_html__( 'Default', 'bizmax' ), 'yes' => esc_html__( 'Yes', 'bizmax' ), 'no' => esc_html__( 'No', 'bizmax' ), ), 'default' => 'default', 'desc' => esc_html__( 'Hide or show banner breadcrumb.', 'bizmax' ), 'dependency' => array( 'enable_banner', '==', true ), ), array( 'id' => 'banner_text_align_meta', 'type' => 'button_set', 'title' => esc_html__( 'Banner Text Align', 'bizmax' ), 'options' => array( 'default' => esc_html__( 'Default', 'bizmax' ), 'start' => esc_html__( 'Left', 'bizmax' ), 'center' => esc_html__( 'Center', 'bizmax' ), 'end' => esc_html__( 'Right', 'bizmax' ), ), 'default' => 'default', 'dependency' => array( 'enable_banner', '==', true ), 'desc' => esc_html__( 'Select page banner text align.', 'bizmax' ), ), array( 'id' => 'banner_height_meta', 'type' => 'dimensions', 'title' => esc_html__( 'Banner Height', 'bizmax' ), 'output' => '.banner-area.post-banner,.banner-area.page-banner,.banner-area.service-banner,.banner-area.team-banner,.banner-area.project-banner,.banner-area.job-banner', 'width' => false, 'height' => true, 'desc' => esc_html__( 'Select banner height.', 'bizmax' ), 'dependency' => array( 'enable_banner', '==', true ), ), ) ) ); // Create Footer section CSF::createSection( $bizmax_common_meta, array( 'title' => esc_html__( 'Footer Settings ', 'bizmax' ), 'icon' => 'fa fa-wordpress', 'fields' => array( array( 'id' => 'footer_style_meta', 'type' => 'select', 'title' => esc_html__( 'Select Footer Style', 'bizmax' ), 'options' => array( 'default' => esc_html__( 'Default', 'bizmax' ), 'footer-style-one' => esc_html__( 'Footer Style One', 'bizmax' ), 'footer-style-two' => esc_html__( 'Footer Style Two', 'bizmax' ), ), 'default' => 'default', 'desc' => esc_html__( 'Select Footer Style', 'bizmax' ), ), ), ) );