HEX
Server: Apache
System: Linux webd003.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: slyfwmm (169339)
PHP: 8.1.34
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/slyfwmm/pianob/wp-content/themes/zk-monaco-child/functions.php
<?php
/**
 * ZK Monaco Child functions and definitions
 *
 * Sets up the theme and provides some helper functions, which are used
 * in the theme as custom template tags. Others are attached to action and
 * filter hooks in WordPress to change core functionality.
 *
 * When using a child theme (see http://codex.wordpress.org/Theme_Development and
 * http://codex.wordpress.org/Child_Themes), you can override certain functions
 * (those wrapped in a function_exists() call) by defining them first in your child theme's
 * functions.php file. The child theme's functions.php file is included before the parent
 * theme's file, so the child theme functions would be used.
 *
 * Functions that are not pluggable (not wrapped in function_exists()) are instead attached
 * to a filter or action hook.
 *
 * For more information on hooks, actions, and filters, @link http://codex.wordpress.org/Plugin_API
 *
 * @package ZookaStudio
 * @subpackage ZK Monaco Child
 * @since 1.0.0
 */
function monaco_child_front_end_scripts() {
    $parent_style = 'monaco-static';
    wp_enqueue_style( $parent_style, get_template_directory_uri() . '/assets/css/static.css', array(), wp_get_theme()->get('Version') );
    wp_enqueue_style( 'monaco-child-style',
        get_stylesheet_directory_uri() . '/style.css',
        array( $parent_style ),
        wp_get_theme()->get('Version')
    );
}
add_action( 'wp_enqueue_scripts', 'monaco_child_front_end_scripts' );

/**
 * Setup Nito Child Theme's textdomain.
 *
 * Declare textdomain for this child theme.
 * Translations can be filed in the /languages/ directory.
 */
function monaco_child_theme_setup() {
    load_child_theme_textdomain( 'zk-monaco-child', get_stylesheet_directory() . '/languages' );
}
add_action( 'after_setup_theme', 'monaco_child_theme_setup' );