芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/ebpt.pulsehost.co.uk/wp-content/themes/maxcoach/customizer/event/single.php
'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '
' . esc_html__( 'Header', 'maxcoach' ) . '
', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'select', 'settings' => 'event_single_header_type', 'label' => esc_html__( 'Header Style', 'maxcoach' ), 'description' => esc_html__( 'Select default header style that displays on all single event pages.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => '', 'choices' => Maxcoach_Header::instance()->get_list( true, esc_html__( 'Use Global Header Style', 'maxcoach' ) ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => 'event_single_header_overlay', 'label' => esc_html__( 'Header Overlay', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => '', 'choices' => array( '' => esc_html__( 'Use Global', 'maxcoach' ), '0' => esc_html__( 'No', 'maxcoach' ), '1' => esc_html__( 'Yes', 'maxcoach' ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => 'event_single_header_skin', 'label' => esc_html__( 'Header Skin', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => '', 'choices' => array( '' => esc_html__( 'Use Global', 'maxcoach' ), 'dark' => esc_html__( 'Dark', 'maxcoach' ), 'light' => esc_html__( 'Light', 'maxcoach' ), ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '
' . esc_html__( 'Sidebar', 'maxcoach' ) . '
', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'select', 'settings' => 'event_page_sidebar_1', 'label' => esc_html__( 'Sidebar 1', 'maxcoach' ), 'description' => esc_html__( 'Select sidebar 1 that will display on single event pages.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => 'none', 'choices' => $registered_sidebars, ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'select', 'settings' => 'event_page_sidebar_2', 'label' => esc_html__( 'Sidebar 2', 'maxcoach' ), 'description' => esc_html__( 'Select sidebar 2 that will display on single event pages.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => 'none', 'choices' => $registered_sidebars, ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => 'event_page_sidebar_position', 'label' => esc_html__( 'Sidebar Position', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => 'right', 'choices' => $sidebar_positions, ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '
' . esc_html__( 'Others', 'maxcoach' ) . '
', ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'textarea', 'settings' => 'single_event_speaker_text', 'label' => esc_html__( 'Speaker Description', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => esc_html__( 'Register online, get your ticket, meet up with our inspirational speakers and specialists in the field to share your ideas.', 'maxcoach' ), ) ); Maxcoach_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => 'single_event_comment_enable', 'label' => esc_html__( 'Comments', 'maxcoach' ), 'description' => esc_html__( 'Turn on to display comments on single event pages.', 'maxcoach' ), 'section' => $section, 'priority' => $priority++, 'default' => '1', 'choices' => array( '0' => esc_html__( 'Off', 'maxcoach' ), '1' => esc_html__( 'On', 'maxcoach' ), ), ) );