HEX
Server: Apache/2.4.37 (CentOS Stream) OpenSSL/1.1.1k
System: Linux ysnet.com.tw 4.18.0-553.5.1.el8.x86_64 #1 SMP Tue May 21 05:46:01 UTC 2024 x86_64
User: test (521)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /var/www/test/wp-content/themes/mix-blog/functions.php
<?php
// Exit if accessed directly
if ( !defined( 'ABSPATH' ) ) exit;

// BEGIN ENQUEUE PARENT ACTION
// AUTO GENERATED - Do not modify or remove comment markers above or below:

if ( ! function_exists( 'mix_blog_enqueue_styles' ) ) :
    /**
     * Load assets.
     *
     * @since 1.0.0
     */
    function mix_blog_enqueue_styles() {
        wp_enqueue_style( 'mix-blog-style-parent', get_template_directory_uri() . '/style.css' );
        wp_enqueue_style( 'mix-blog-style', get_stylesheet_directory_uri() . '/style.css', array( 'mix-blog-style-parent' ), '1.0.0' );
        wp_enqueue_script( 'mix-blog-custom', get_theme_file_uri( '/body-class.js' ), array( 'jquery' ), '20151215', true );
        wp_enqueue_script( 'mix-blog-custom', get_theme_file_uri( '/assets/js/custom.js' ), array( 'jquery' ), '20151215', true );
        wp_enqueue_script( 'jquery-matchHeight', get_theme_file_uri( '/assets/js/jquery.matchHeight.js' ), array( 'jquery' ), '20151215', true );
    }
endif;
add_action( 'wp_enqueue_scripts', 'mix_blog_enqueue_styles', 99 );

if ( ! function_exists( 'mix_blog_customize_backend_styles' ) ) :
    /**
     * Load assets.
     *
     * @since 1.0.0
     */
    function mix_blog_customize_backend_styles() {
        wp_enqueue_style( 'mix-blog-style', get_stylesheet_directory_uri() . '/customizer-style.css' );
    }
endif;
add_action( 'customize_controls_enqueue_scripts', 'mix_blog_customize_backend_styles', 99 );

require get_stylesheet_directory() . '/inc/customizer/customizer.php';