'edit_theme_options', 'option_type' => 'theme_mod', )); // General option panel Kirki::add_panel( 'upstudy_general_panel', array( 'title' => esc_html__( 'General', 'upstudy' ), 'priority' => 9, ) ); require_once UPSTUDY_DIR . '/inc/customizer/option-panel/color.php'; require_once UPSTUDY_DIR . '/inc/customizer/option-panel/typography.php'; /*---------------------------- WP Default Background Image ----------------------------*/ Kirki::add_section( 'background_image', array( 'title' => esc_html__( 'Background Image', 'upstudy' ), 'theme_supports' => 'custom-background', 'priority' => 160, 'panel' => 'upstudy_general_panel' ) ); require_once UPSTUDY_DIR . '/inc/customizer/option-panel/preloader.php'; require_once UPSTUDY_DIR . '/inc/customizer/option-panel/social-shear.php'; require_once UPSTUDY_DIR . '/inc/customizer/option-panel/button.php'; require_once UPSTUDY_DIR . '/inc/customizer/option-panel/back-to-top.php'; require_once UPSTUDY_DIR . '/inc/customizer/option-panel/pagination.php'; require_once UPSTUDY_DIR . '/inc/customizer/option-panel/page-404.php'; // require_once UPSTUDY_DIR . '/inc/customizer/option-panel/rtl.php'; require_once UPSTUDY_DIR . '/inc/customizer/option-panel/utilities.php'; // Header option panel Kirki::add_panel( 'header_naviation_panel', array( 'title' => esc_html__( 'Header', 'upstudy' ), 'priority' => 9, ) ); require_once UPSTUDY_DIR . '/inc/customizer/option-panel/name-and-logo.php'; require_once UPSTUDY_DIR . '/inc/customizer/option-panel/header-top.php'; require_once UPSTUDY_DIR . '/inc/customizer/option-panel/header-area.php'; require_once UPSTUDY_DIR . '/inc/customizer/option-panel/header-menu.php'; require_once UPSTUDY_DIR . '/inc/customizer/option-panel/page-title.php'; require_once UPSTUDY_DIR . '/inc/customizer/option-panel/header-login-reg.php'; // Blog option panel Kirki::add_panel( 'header_blog_panel', array( 'title' => esc_html__( 'Blog', 'upstudy' ), 'priority' => 9, ) ); require_once UPSTUDY_DIR . '/inc/customizer/option-panel/blog.php'; // Sidebar Panel Kirki::add_panel( 'upstudy_sidebar_panel', array( 'title' => esc_html__( 'Sidebar', 'upstudy' ), 'priority' => 9, ) ); require_once UPSTUDY_DIR . '/inc/customizer/option-panel/sidebar.php'; if ( class_exists('LearnPress') ) { // LearnPress LMS option panel Kirki::add_panel( 'upstudy_lp_panel', array( 'title' => esc_html__( 'LearnPress LMS', 'upstudy' ), 'priority' => 9, ) ); require_once UPSTUDY_DIR . '/inc/customizer/option-panel/learnpress.php'; } if ( class_exists('SFWD_LMS') ) { // LearnDash LMS option panel Kirki::add_panel( 'upstudy_ld_panel', array( 'title' => esc_html__( 'LearnDash LMS', 'upstudy' ), 'priority' => 9, ) ); require_once UPSTUDY_DIR . '/inc/customizer/option-panel/learndash.php'; } if ( class_exists('MasterStudy\Lms\Plugin') ) { // MasterStudy LMS option panel Kirki::add_panel( 'upstudy_ms_panel', array( 'title' => esc_html__( 'MasterStudy LMS', 'upstudy' ), 'priority' => 9, ) ); require_once UPSTUDY_DIR . '/inc/customizer/option-panel/ms.php'; } if ( function_exists('tutor') ) { // Tutor LMS option panel Kirki::add_panel( 'upstudy_tutor_panel', array( 'title' => esc_html__( 'Tutor LMS', 'upstudy' ), 'priority' => 9, ) ); require_once UPSTUDY_DIR . '/inc/customizer/option-panel/tutor.php'; } if ( class_exists('Sensei_Main') ) { // Sensei LMS option panel Kirki::add_panel( 'upstudy_sensei_panel', array( 'title' => esc_html__( 'Sensei LMS', 'upstudy' ), 'priority' => 9, ) ); require_once UPSTUDY_DIR . '/inc/customizer/option-panel/sensei.php'; } if ( class_exists('LifterLMS') ) { // Lifter LMS option panel Kirki::add_panel( 'upstudy_lif_panel', array( 'title' => esc_html__( 'Lifter LMS', 'upstudy' ), 'priority' => 9, ) ); require_once UPSTUDY_DIR . '/inc/customizer/option-panel/lifter.php'; } if ( class_exists('WooCommerce') ) { // WooCommerce panel Kirki::add_panel( 'woocommerce', array( 'title' => esc_html__( 'WooCommerce', 'upstudy' ), 'priority' => 9, ) ); require_once UPSTUDY_DIR . '/inc/customizer/option-panel/wc.php'; } if ( class_exists('Tribe__Events__Main') ) { // The event calendar option panel Kirki::add_panel( 'tribe_customizer', array( 'title' => esc_html__( 'The Event Calendar', 'upstudy' ), 'priority' => 9, ) ); require_once UPSTUDY_DIR . '/inc/customizer/option-panel/events.php'; } if ( class_exists('Zoom_Video_Conferencing_Api') ) { // adding Zoom Meeting plugin option panel Kirki::add_panel( 'upstudy_zoom_meeting_panel', array( 'title' => esc_html__( 'Zoom Meeting', 'upstudy' ), 'priority' => 9, ) ); require_once UPSTUDY_DIR . '/inc/customizer/option-panel/zoom.php'; } if ( class_exists('WPEMS') ) { // adding Zoom Meeting plugin option panel Kirki::add_panel( 'upstudy_tp_event_panel', array( 'title' => esc_html__( 'WP Events Manager', 'upstudy' ), 'priority' => 9, ) ); require_once UPSTUDY_DIR . '/inc/customizer/option-panel/tp_events.php'; } // Fooder option pagnel Kirki::add_panel( 'upstudy_footer_panel', array( 'title' => esc_html__( 'Footer', 'upstudy' ), 'priority' => 9, ) ); require_once UPSTUDY_DIR . '/inc/customizer/option-panel/footer.php'; require_once UPSTUDY_DIR . '/inc/customizer/option-panel/copyright.php';