HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: /home/mirz4654/public_html/wp-content/themes/wise-blog/inc/enqueue.php
<?php

/**
 * Enqueue scripts and styles.
 */
function wise_blog_scripts() {

// Add custom fonts, used in the main stylesheet.
	wp_enqueue_style( 'wise-blog-fonts', wptt_get_webfont_url( wise_blog_fonts_url() ), array(), null );

	// Slick style.
	wp_enqueue_style( 'slick-style', get_template_directory_uri() . '/assets/css/slick.min.css', array(), '1.8.0' );

	// Fontawesome style.
	wp_enqueue_style( 'fontawesome-style', get_template_directory_uri() . '/assets/css/fontawesome.min.css', array(), '6.7.2' );

	// blocks.
	wp_enqueue_style( 'wise-blog-blocks-style', get_template_directory_uri() . '/assets/css/blocks.min.css' );

	// style.
	wp_enqueue_style( 'wise-blog-style', get_template_directory_uri() . '/style.css', array(), WISE_BLOG_VERSION );

	// navigation.
	wp_enqueue_script( 'wise-blog-navigation', get_template_directory_uri() . '/assets/js/navigation.min.js', array(), WISE_BLOG_VERSION, true );

	// Slick script.
	wp_enqueue_script( 'slick-script', get_template_directory_uri() . '/assets/js/slick.min.js', array( 'jquery' ), '1.8.0', true );

	// Custom script.
	wp_enqueue_script( 'wise-blog-custom-script', get_template_directory_uri() . '/assets/js/custom.min.js', array( 'jquery' ), WISE_BLOG_VERSION, true );

	if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
		wp_enqueue_script( 'comment-reply' );
	}

}
add_action( 'wp_enqueue_scripts', 'wise_blog_scripts' );

/**
 * Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
 */
function wise_blog_customize_preview_js() {
	wp_enqueue_script( 'wise-blog-customizer', get_template_directory_uri() . '/assets/js/customizer.min.js', array( 'customize-preview' ), WISE_BLOG_VERSION, true );
}
add_action( 'customize_preview_init', 'wise_blog_customize_preview_js' );

/**
 * Binds JS handlers for Customizer controls.
 */
function wise_blog_customize_control_js() {
	wp_enqueue_style( 'wise-blog-customize-style', get_template_directory_uri() . '/assets/css/customize-controls.min.css', array(), '1.0.0' );
	wp_enqueue_script( 'wise-blog-customize-control', get_template_directory_uri() . '/assets/js/customize-control.min.js', array( 'jquery', 'customize-controls' ), '1.0.0', true );
	$localized_data = array(
		'refresh_msg' => esc_html__( 'Refresh the page after Save and Publish.', 'wise-blog' ),
		'reset_msg'   => esc_html__( 'Warning!!! This will reset all the settings. Refresh the page after Save and Publish to reset all.', 'wise-blog' ),
	);
	wp_localize_script( 'wise-blog-customize-control', 'localized_data', $localized_data );
}
add_action( 'customize_controls_enqueue_scripts', 'wise_blog_customize_control_js' );