| Server IP : 151.101.66.159 / Your IP : 216.73.216.66 Web Server : Flywheel/5.1.0 System : Linux wordpress 6.12.113+ #1 SMP Thu Oct 22 02:38:20 UTC 2026 x86_64 User : root ( ) PHP Version : 7.4.33.18 Disable Function : disk_free_space,diskfreespace,dl,exec,fpassthru,getmypid,getmyuid,highlight_file,link,opcache_compile_file,opcache_get_configuration,opcache_is_script_cached,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifcontinued,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,phpinfo,popen,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,socket_listen,source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wp-content/themes/consultstreet/inc/customizer/ |
Upload File : |
<?php
/**
* Register customizer panels and sections.
*
* @package consultstreet
*/
/* Theme Settings. */
$wp_customize->add_panel( new ConsultStreet_Customize_Panel( $wp_customize, 'consultstreet_theme_settings', array(
'priority' => 28,
'title' => esc_html__( 'Theme Options', 'consultstreet' ),
'capabitity' => 'edit_theme_options',
) ) );
// Section: General.
$wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_theme_general', array(
'title' => esc_html__( 'General', 'consultstreet' ),
'panel' => 'consultstreet_theme_settings',
'priority' => 9,
) ) );
// Section: Menu.
$wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_theme_menu_bar', array(
'title' => esc_html__( 'Menu', 'consultstreet' ),
'panel' => 'consultstreet_theme_settings',
'priority' => 20,
) ) );
// Section: Blog.
$wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_theme_blog_settings', array(
'title' => esc_html__( 'Blog', 'consultstreet' ),
'panel' => 'consultstreet_theme_settings',
'priority' => 30,
) ) );
$wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_blog_general', array(
'title' => esc_html__( 'General', 'consultstreet' ),
'panel' => 'consultstreet_theme_settings',
'section' => 'consultstreet_theme_blog_settings',
'priority' => 10,
) ) );
// Section: Page Header.
$wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_theme_page_header', array(
'title' => esc_html__( 'Page Header', 'consultstreet' ),
'panel' => 'consultstreet_theme_settings',
'priority' => 40,
) ) );
// Section: Footer.
$wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_theme_footer', array(
'title' => esc_html__( 'Footer', 'consultstreet' ),
'panel' => 'consultstreet_theme_settings',
'priority' => 50,
) ) );
$wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_footer_widgets', array(
'title' => esc_html__( 'Footer Widgets', 'consultstreet' ),
'panel' => 'consultstreet_theme_settings',
'section' => 'consultstreet_theme_footer',
'priority' => 10,
) ) );
$wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_footer_copyright', array(
'title' => esc_html__( 'Footer Copyright', 'consultstreet' ),
'panel' => 'consultstreet_theme_settings',
'section' => 'consultstreet_theme_footer',
'priority' => 20,
) ) );
/**
* Panel: Typography.
*/
$wp_customize->add_panel( new ConsultStreet_Customize_Panel( $wp_customize, 'consultstreet_theme_typography', array(
'priority' => 32,
'title' => esc_html__( 'Typography', 'consultstreet' ),
'capabitity' => 'edit_theme_options',
) ) );
// Section: Typography > Base typography.
$wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_enable_disable_typography', array(
'title' => esc_html__( 'Enable Typography', 'consultstreet' ),
'panel' => 'consultstreet_theme_typography',
'priority' => 5,
) ) );
// Section: Typography > Base typography.
$wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_base_typography', array(
'title' => esc_html__( 'Base Typography', 'consultstreet' ),
'panel' => 'consultstreet_theme_typography',
'priority' => 10,
) ) );
// Section: Typography > Headings ( h1 - h6 ) Typography.
$wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_headings1_typography', array(
'title' => esc_html__( 'Headings H1', 'consultstreet' ),
'panel' => 'consultstreet_theme_typography',
'priority' => 70,
) ) );
$wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_headings2_typography', array(
'title' => esc_html__( 'Headings H2', 'consultstreet' ),
'panel' => 'consultstreet_theme_typography',
'priority' => 80,
) ) );
$wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_headings3_typography', array(
'title' => esc_html__( 'Headings H3', 'consultstreet' ),
'panel' => 'consultstreet_theme_typography',
'priority' => 90,
) ) );
$wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_headings4_typography', array(
'title' => esc_html__( 'Headings H4', 'consultstreet' ),
'panel' => 'consultstreet_theme_typography',
'priority' => 100,
) ) );
$wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_headings5_typography', array(
'title' => esc_html__( 'Headings H5', 'consultstreet' ),
'panel' => 'consultstreet_theme_typography',
'priority' => 110,
) ) );
$wp_customize->add_section( new ConsultStreet_Customize_Section( $wp_customize, 'consultstreet_headings6_typography', array(
'title' => esc_html__( 'Headings H6', 'consultstreet' ),
'panel' => 'consultstreet_theme_typography',
'priority' => 120,
) ) );