Current Path : /var/www/mainsite/wp-content/themes/maxcoach/customizer/title-bar/ |
Current File : /var/www/mainsite/wp-content/themes/maxcoach/customizer/title-bar/style-03.php |
<?php $section = 'title_bar_03'; $priority = 1; $prefix = 'title_bar_03_'; Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'color-alpha', 'settings' => $prefix . 'bg_overlay_color', 'label' => esc_html__( 'Background Overlay Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the background overlay color of title bar.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'default' => 'rgba(0, 0, 0, 0.4)', 'output' => array( array( 'element' => '.page-title-bar-03 .page-title-bar-bg:before', 'property' => 'background-color', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'slider', 'settings' => $prefix . 'border_width', 'label' => esc_html__( 'Border Bottom Width', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => 0, 'transport' => 'auto', 'choices' => array( 'min' => 0, 'max' => 50, 'step' => 1, ), 'output' => array( array( 'element' => '.page-title-bar-03 .page-title-bar-inner', 'property' => 'border-bottom-width', 'units' => 'px', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'color-alpha', 'settings' => $prefix . 'border_color', 'label' => esc_html__( 'Border Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the border bottom color of the page title bar.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'default' => 'rgba(0, 0, 0, 0)', 'output' => array( array( 'element' => '.page-title-bar-03 .page-title-bar-inner', 'property' => 'border-bottom-color', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'slider', 'settings' => $prefix . 'padding_top', 'label' => esc_html__( 'Padding Bottom', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => 124, 'transport' => 'auto', 'choices' => array( 'min' => 50, 'max' => 500, 'step' => 1, ), 'output' => array( array( 'element' => '.page-title-bar-03 .page-title-bar-inner', 'property' => 'padding-top', 'units' => 'px', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'slider', 'settings' => $prefix . 'padding_bottom', 'label' => esc_html__( 'Padding Bottom', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => 101, 'transport' => 'auto', 'choices' => array( 'min' => 50, 'max' => 500, 'step' => 1, ), 'output' => array( array( 'element' => '.page-title-bar-03 .page-title-bar-inner', 'property' => 'padding-bottom', 'units' => 'px', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'slider', 'settings' => $prefix . 'margin_bottom', 'label' => esc_html__( 'Margin Bottom', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'min' => 0, 'max' => 500, 'step' => 1, ), 'default' => 57, 'output' => array( array( 'element' => '.page-title-bar-03', 'property' => 'margin-bottom', 'units' => 'px', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="big_title">' . esc_html__( 'Heading', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'kirki_typography', 'settings' => $prefix . 'heading_typography', 'label' => esc_html__( 'Font Family', 'maxcoach' ), 'description' => esc_html__( 'Controls the font family for the page title heading.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'default' => array( 'font-family' => '', 'variant' => '700', 'font-size' => '48px', 'line-height' => '1.17', 'letter-spacing' => '', 'text-transform' => '', 'color' => '#fff', ), 'output' => array( array( 'element' => '.page-title-bar-03 .heading', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="big_title">' . esc_html__( 'Meta', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'kirki_typography', 'settings' => $prefix . 'meta_typography', 'label' => esc_html__( 'Typography', 'maxcoach' ), 'description' => esc_html__( 'Controls the typography for the meta text.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'default' => array( 'font-family' => '', 'variant' => '400', 'line-height' => '1.67', 'letter-spacing' => '', 'text-transform' => 'capitalize', 'font-size' => '14px', ), 'output' => array( array( 'element' => '.page-title-bar-03 .page-title-bar-meta', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'color-alpha', 'settings' => $prefix . 'meta_text_color', 'label' => esc_html__( 'Text Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the color of text of meta', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'default' => '#fff', 'output' => array( array( 'element' => '.page-title-bar-03 .page-title-bar-meta', 'property' => 'color', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'multicolor', 'settings' => $prefix . 'meta_link_color', 'label' => esc_html__( 'Link Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the color of links of meta.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'normal' => esc_attr__( 'Normal', 'maxcoach' ), 'hover' => esc_attr__( 'Hover', 'maxcoach' ), ), 'default' => array( 'normal' => '#fff', 'hover' => '#fff', ), 'output' => array( array( 'choice' => 'normal', 'element' => '.page-title-bar-03 .page-title-bar-meta a', 'property' => 'color', ), array( 'choice' => 'hover', 'element' => '.page-title-bar-03 .page-title-bar-meta a:hover', 'property' => 'color', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="big_title">' . esc_html__( 'Breadcrumb', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'kirki_typography', 'settings' => $prefix . 'breadcrumb_typography', 'label' => esc_html__( 'Typography', 'maxcoach' ), 'description' => esc_html__( 'Controls the typography for the breadcrumb text.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'default' => array( 'font-family' => '', 'variant' => '400', 'line-height' => '1.67', 'letter-spacing' => '', 'text-transform' => '', 'font-size' => '14px', ), 'output' => array( array( 'element' => '.page-title-bar-03 .insight_core_breadcrumb li, .page-title-bar-03 .insight_core_breadcrumb li a', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'color-alpha', 'settings' => $prefix . 'breadcrumb_text_color', 'label' => esc_html__( 'Text Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the color of text on breadcrumb.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'default' => Maxcoach::HEADING_COLOR, 'output' => array( array( 'element' => '.page-title-bar-03 .insight_core_breadcrumb li', 'property' => 'color', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'multicolor', 'settings' => $prefix . 'breadcrumb_link_color', 'label' => esc_html__( 'Link Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the color of links on breadcrumb.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'normal' => esc_attr__( 'Normal', 'maxcoach' ), 'hover' => esc_attr__( 'Hover', 'maxcoach' ), ), 'default' => array( 'normal' => Maxcoach::TEXT_COLOR, 'hover' => Maxcoach::HEADING_COLOR, ), 'output' => array( array( 'choice' => 'normal', 'element' => '.page-title-bar-03 .insight_core_breadcrumb a', 'property' => 'color', ), array( 'choice' => 'hover', 'element' => '.page-title-bar-03 .insight_core_breadcrumb a:hover', 'property' => 'color', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'color-alpha', 'settings' => $prefix . 'breadcrumb_separator_color', 'label' => esc_html__( 'Separator Color', 'maxcoach' ), 'description' => esc_html__( 'Controls the color of separator on breadcrumb.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => Maxcoach::TEXT_COLOR, 'transport' => 'auto', 'output' => array( array( 'element' => '.page-title-bar-03 .insight_core_breadcrumb li + li:before', 'property' => 'color', ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="big_title">' . esc_html__( 'Responsive Options', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="group_title">' . esc_html__( 'Medium Device', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'slider', 'settings' => $prefix . 'md_padding_top', 'label' => esc_html__( 'Padding Bottom', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'min' => 50, 'max' => 500, 'step' => 1, ), 'output' => array( array( 'element' => '.page-title-bar-03 .page-title-bar-inner', 'property' => 'padding-top', 'units' => 'px', 'media_query' => Maxcoach_Helper::get_md_media_query(), ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'slider', 'settings' => $prefix . 'md_padding_bottom', 'label' => esc_html__( 'Padding Bottom', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'min' => 50, 'max' => 500, 'step' => 1, ), 'output' => array( array( 'element' => '.page-title-bar-03 .page-title-bar-inner', 'property' => 'padding-bottom', 'units' => 'px', 'media_query' => Maxcoach_Helper::get_md_media_query(), ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'slider', 'settings' => $prefix . 'md_heading_font_size', 'label' => esc_html__( 'Heading Font Size', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => 42, 'transport' => 'auto', 'choices' => array( 'min' => 10, 'max' => 100, 'step' => 1, ), 'output' => array( array( 'element' => '.page-title-bar-03 .page-title-bar-inner .heading', 'property' => 'font-size', 'units' => 'px', 'media_query' => Maxcoach_Helper::get_md_media_query(), ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="group_title">' . esc_html__( 'Small Device', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'slider', 'settings' => $prefix . 'sm_padding_top', 'label' => esc_html__( 'Padding Bottom', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'min' => 50, 'max' => 500, 'step' => 1, ), 'output' => array( array( 'element' => '.page-title-bar-03 .page-title-bar-inner', 'property' => 'padding-top', 'units' => 'px', 'media_query' => Maxcoach_Helper::get_sm_media_query(), ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'slider', 'settings' => $prefix . 'sm_padding_bottom', 'label' => esc_html__( 'Padding Bottom', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'min' => 50, 'max' => 500, 'step' => 1, ), 'output' => array( array( 'element' => '.page-title-bar-03 .page-title-bar-inner', 'property' => 'padding-bottom', 'units' => 'px', 'media_query' => Maxcoach_Helper::get_sm_media_query(), ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'slider', 'settings' => $prefix . 'sm_heading_font_size', 'label' => esc_html__( 'Heading Font Size', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => 36, 'transport' => 'auto', 'choices' => array( 'min' => 10, 'max' => 100, 'step' => 1, ), 'output' => array( array( 'element' => '.page-title-bar-03 .page-title-bar-inner .heading', 'property' => 'font-size', 'units' => 'px', 'media_query' => Maxcoach_Helper::get_sm_media_query(), ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="group_title">' . esc_html__( 'Extra Small Device', 'maxcoach' ) . '</div>', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'slider', 'settings' => $prefix . 'xs_padding_top', 'label' => esc_html__( 'Padding Bottom', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'min' => 50, 'max' => 500, 'step' => 1, ), 'output' => array( array( 'element' => '.page-title-bar-03 .page-title-bar-inner', 'property' => 'padding-top', 'units' => 'px', 'media_query' => Maxcoach_Helper::get_xs_media_query(), ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'slider', 'settings' => $prefix . 'xs_padding_bottom', 'label' => esc_html__( 'Padding Bottom', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'transport' => 'auto', 'choices' => array( 'min' => 50, 'max' => 500, 'step' => 1, ), 'output' => array( array( 'element' => '.page-title-bar-03 .page-title-bar-inner', 'property' => 'padding-bottom', 'units' => 'px', 'media_query' => Maxcoach_Helper::get_xs_media_query(), ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'slider', 'settings' => $prefix . 'xs_heading_font_size', 'label' => esc_html__( 'Heading Font Size', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => 30, 'transport' => 'auto', 'choices' => array( 'min' => 10, 'max' => 100, 'step' => 1, ), 'output' => array( array( 'element' => '.page-title-bar-03 .page-title-bar-inner .heading', 'property' => 'font-size', 'units' => 'px', 'media_query' => Maxcoach_Helper::get_xs_media_query(), ), ), ) );