| Server IP : 198.38.94.67 / Your IP : 216.73.217.178 Web Server : LiteSpeed System : Linux d6054.dxb1.stableserver.net 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64 User : azfilmst ( 1070) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/azfilmst/www/wp-content/themes/frames-child/ |
Upload File : |
<?php
/**
*
* [Frames] child theme functions and definitions
*
* @package [Frames]
* @author HaruTheme <admin@harutheme.com>
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* When using a child theme 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.
*
* @link https://codex.wordpress.org/Theme_Development
* @link https://codex.wordpress.org/Child_Themes
*
* 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 https://codex.wordpress.org/Plugin_API}
*/
function haru_child_theme_enqueue_scripts() {
wp_enqueue_style( 'haru-theme-child-style', get_stylesheet_directory_uri(). '/style.css', array('haru-theme-style') );
wp_enqueue_script(
'custom-script',
get_stylesheet_directory_uri() . '/assets/js/haru-custom-script.js',
array( 'jquery' )
);
}
add_action( 'wp_enqueue_scripts', 'haru_child_theme_enqueue_scripts', 12 );
?>