403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wp-content/themes/consultstreet/inc/customizer/consultstreet-customizer-selective.php
<?php
/**
 * Override default customizer options.
 *
 * @package consultstreet
 */

// Settings.
$wp_customize->get_setting( 'blogname' )->transport         = 'postMessage';
$wp_customize->get_setting( 'blogdescription' )->transport  = 'postMessage';

if ( isset( $wp_customize->selective_refresh ) ) {
	
	// site title
	$wp_customize->selective_refresh->add_partial(
		'blogname',
		array(
			'selector'        => '.site-title a',
			'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_blogname' ),
		)
	);

    // site tagline
	$wp_customize->selective_refresh->add_partial(
		'blogdescription',
		array(
			'selector'        => '.site-description',
			'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_blogdescription' ),
		)
	);
	
	// main slider
	$wp_customize->selective_refresh->add_partial(
		'consultstreet_main_slider_content',
		array(
			'selector'        => '.theme-main-slider .theme-slider-content',
		)
	);
	
	// service title
	$wp_customize->selective_refresh->add_partial(
		'consultstreet_service_area_title',
		array(
			'selector'        => '.theme-services .theme-section-title',
			'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_service_area_title' ),
		)
	);
	
	// service title
	$wp_customize->selective_refresh->add_partial(
		'consultstreet_service_area_des',
		array(
			'selector'        => '.theme-services .theme-section-subtitle',
			'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_service_area_des' ),
		)
	);
	
	// service content
	$wp_customize->selective_refresh->add_partial(
		'consultstreet_service_content',
		array(
			'selector'        => '.theme-services .row.theme-services-content',
		)
	);
	
	// project title
	$wp_customize->selective_refresh->add_partial(
		'consultstreet_project_area_title',
		array(
			'selector'        => '#theme-project .theme-section-title',
			'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_project_area_title' ),
		)
	);
	
	// project description
	$wp_customize->selective_refresh->add_partial(
		'consultstreet_project_area_des',
		array(
			'selector'        => '#theme-project .theme-section-subtitle',
			'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_project_area_des' ),
		)
	);
	
	// testimonial title
	$wp_customize->selective_refresh->add_partial(
		'consultstreet_testimonial_area_title',
		array(
			'selector'        => '.theme-testimonial .theme-section-title',
			'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_testimonial_area_title' ),
		)
	);
	
	// testimonial description
	$wp_customize->selective_refresh->add_partial(
		'consultstreet_testimonial_area_des',
		array(
			'selector'        => '.theme-testimonial .theme-section-subtitle',
			'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_testimonial_area_des' ),
		)
	);
	
    // testimonial content
	$wp_customize->selective_refresh->add_partial(
		'consultstreet_testimonial_content',
		array(
			'selector'        => '.theme-testimonial .row.theme-testimonial-content',
		)
	);
	
	// call to action title
	$wp_customize->selective_refresh->add_partial(
		'consultstreet_cta_area_title',
		array(
			'selector'        => '.theme-cta .cta-block h5',
			'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_cta_area_title' ),
		)
	);
	
	// call to action subtitle
	$wp_customize->selective_refresh->add_partial(
		'consultstreet_cta_area_subtitle',
		array(
			'selector'        => '.theme-cta .cta-block h2',
			'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_cta_area_subtitle' ),
		)
	);
	
	// call to action description
	$wp_customize->selective_refresh->add_partial(
		'consultstreet_cta_area_des',
		array(
			'selector'        => '.theme-cta .cta-block p',
			'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_cta_area_des' ),
		)
	);
	
	// call to action button text
	$wp_customize->selective_refresh->add_partial(
		'consultstreet_cta_button_text',
		array(
			'selector'        => '.theme-cta .mx-auto a',
			'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_cta_button_text' ),
		)
	);
	
	// blog title
	$wp_customize->selective_refresh->add_partial(
		'consultstreet_blog_area_title',
		array(
			'selector'        => '.theme-blog .theme-section-title',
			'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_blog_area_title' ),
		)
	);
	
	// blog description
	$wp_customize->selective_refresh->add_partial(
		'consultstreet_blog_area_des',
		array(
			'selector'        => '.theme-blog .theme-section-subtitle',
			'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_blog_area_des' ),
		)
	);
	
	// footer copyright text
	$wp_customize->selective_refresh->add_partial(
		'consultstreet_footer_copright_text',
		array(
			'selector'        => '.site-footer .site-info',
			'render_callback' => array( 'ConsultStreet_Customizer_Partials', 'customize_partial_consultstreet_footer_copright_text' ),
		)
	);	
}

Youez - 2016 - github.com/yon3zu
LinuXploit