Singe Page -> Page Top Banner settings. * * @package Bizness */ $fields = [ 'single_page_top_banner_group_fields' => [ 'type' => 'group-field', 'section' => 'single_page_top_banner_section', 'priority' => 5, 'tabs' => [ 'desktop' => [ 'nicename' => esc_html__( '> 1200px', 'bizness' ), 'preview' => 'desktop', 'active_tab' => true, 'controls' => [ 'single_page_top_banner_enable', 'single_page_top_banner_elements', 'single_page_top_banner_elements_gap', 'single_page_top_banner_sep_1', 'single_page_top_banner_background', 'single_page_top_banner_overlay_background', 'single_page_top_banner_padding' ] ], 'tablet' => [ 'nicename' => esc_html__( '> 768px', 'bizness' ), 'preview' => 'tablet', 'active_tab' => false, 'controls' => [ 'single_page_top_banner_md_elements_gap', 'single_page_top_banner_sep_1', 'single_page_top_banner_md_padding' ] ], 'mobile' => [ 'nicename' => esc_html__( '< 576px', 'bizness' ), 'preview' => 'mobile', 'active_tab' => false, 'controls' => [ 'single_page_top_banner_sm_elements_gap', 'single_page_top_banner_sep_1', 'single_page_top_banner_sm_padding' ] ] ], ], 'single_page_top_banner_enable' => [ 'type' => 'toggle', 'label' => esc_html__( 'Enable', 'bizness' ), 'description' => esc_html__( 'Toggle to enable/disable page top banner section.', 'bizness' ), 'section' => 'single_page_top_banner_section', 'default' => '', 'priority' => 10, ], 'single_page_top_banner_elements' => [ 'type' => 'sortable', 'label' => esc_html__( 'Elements', 'bizness' ), 'description' => esc_html__( 'Toggle to enable/disable page top banner elements and re-arrange their orders by sorting them.', 'bizness' ), 'section' => 'single_page_top_banner_section', 'default' => [ 'post-title', 'breadcrumb' ], 'choices' => [ 'breadcrumb' => esc_html__( 'Breadcrumb', 'bizness' ), 'post-title' => esc_html__( 'Post Title', 'bizness' ), 'post-excerpt' => esc_html__( 'Post Excerpt', 'bizness' ) ], 'priority' => 10, ], 'single_page_top_banner_elements_gap' => [ 'type' => 'slider', 'label' => esc_html__( 'Elements Gap', 'bizness' ), 'description' => esc_html__( 'Set gap between each elements of page top banner section.', 'bizness' ), 'section' => 'single_page_top_banner_section', 'default' => 15, 'choices' => [ 'min' => 0, 'max' => 100, 'step' => 1, 'suffix' => 'px' ], 'priority' => 10, 'transport' => 'auto', 'output' => [ [ 'element' => '.page .page-top-banner header >*:not(:last-child)', 'property' => 'margin-bottom', 'suffix' => 'px' ], ], ], 'single_page_top_banner_md_elements_gap' => [ 'type' => 'slider', 'label' => esc_html__( 'Elements Gap', 'bizness' ), 'description' => esc_html__( 'Set gap between each elements of of page top banner section only for the tablet device only.', 'bizness' ), 'section' => 'single_page_top_banner_section', 'default' => 15, 'choices' => [ 'min' => 0, 'max' => 100, 'step' => 1, 'suffix' => 'px' ], 'priority' => 10, 'transport' => 'auto', 'output' => [ [ 'media_query' => '@media (max-width: 768px)', 'element' => '.page .page-top-banner header >*:not(:last-child)', 'property' => 'margin-bottom', 'suffix' => 'px' ], ], ], 'single_page_top_banner_sm_elements_gap' => [ 'type' => 'slider', 'label' => esc_html__( 'Elements Gap', 'bizness' ), 'description' => esc_html__( 'Set gap between each elements of of page top banner section only for the mobile device only.', 'bizness' ), 'section' => 'single_page_top_banner_section', 'default' => 15, 'choices' => [ 'min' => 0, 'max' => 100, 'step' => 1, 'suffix' => 'px' ], 'priority' => 10, 'transport' => 'auto', 'output' => [ [ 'media_query' => '@media (max-width: 576px)', 'element' => '.page .page-top-banner header >*:not(:last-child)', 'property' => 'margin-bottom', 'suffix' => 'px' ], ], ], 'single_page_top_banner_sep_1' => [ 'type' => 'custom', 'section' => 'single_page_top_banner_section', 'default' => '