File "credio_customizer.php"
Full Path: /home/adniftyx/public_html/wp-content/themes/credio/inc/customizer/credio_customizer.php
File size: 2.45 KB
MIME-type: text/x-php
Charset: utf-8
<?php
if( !function_exists( 'credio_customizer_register' ) ){
function credio_customizer_register( $credio_customizer ){
/*-----------------------------
Theme Options
-----------------------------*/
$credio_customizer->add_panel(
'credio_options_panel',
array(
'title' => esc_html__( 'Credio Options', 'credio' ),
'description'=> esc_html__( 'General options of Credio', 'credio'),
'priority'=> 20,
)
);
/**
* General setting panel
*
* @since 1.0.0
*/
credio_general_panel( $credio_customizer, 0 );
//End General Setting
/**
* Start Mobile Menu Logo Style setting
* @since 1.0.0
*/
credio_offcanvas_sidebar_panel( $credio_customizer, 81 );
//End Mobile Menu Logo Style setting
/**
* Start Preloader Style setting
* @since 1.0.0
*/
credio_preloader_panel( $credio_customizer, 82 );
//End Preloader Style setting
/**
* Start GSAP Animation setting
* @since 1.0.0
*/
credio_gsap_animation_panel( $credio_customizer, 83 );
//End GSAP Animation setting
/**
* Smooth Scrolling setting
* @since 1.0.0
*/
credio_smooth_scrolling_panel( $credio_customizer, 84 );
//End Smooth Scrolling setting
/**
* Start Style setting
* @since 1.0.0
*/
credio_style_panel( $credio_customizer, 61 );
/**
* Start Typography setting
* @since 1.0.0
*/
credio_typography_panel( $credio_customizer, 81 );
//End Typography setting
/**
* Start Blog setting
* @since 1.0.0
*/
$credio_blog_panel = new PE_WP_Customize_Panel( $credio_customizer, 'credio_blog_setting', array(
'title' => esc_html__( 'Blog Settings', 'credio' ),
'panel' => 'credio_options_panel',
'priority' => 100,
)
);
$credio_customizer->add_panel( $credio_blog_panel );
credio_blog_page_style_panel( $credio_customizer, 101 );
credio_blog_single_style_panel( $credio_customizer, 102 );
//End Blog setting
/**
* Start Team setting
* @since 1.0.0
*/
credio_team_panel( $credio_customizer, 121 );
//End Team setting
/**
* Start woocommerce settings
* @since 1.0.0
*/
credio_woocommerce_panel( $credio_customizer, 210 );
//End woocommerce settings
credio_custom_fonts_panel( $credio_customizer, 200 );
/**
* Start 404 Page Setting
* @since 1.0.0
*/
credio_404_panel( $credio_customizer, 241 );
//End 404 Page Setting
}
}
add_action( 'customize_register', 'credio_customizer_register' );