if ( ! defined( 'WP_DEBUG' ) ) { die( 'Direct access forbidden.' ); } function the_core_theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'the_core_theme_enqueue_styles' ); function the_core_child_enqueue_scripts() { $the_core_child_directory = get_stylesheet_directory_uri(); $the_core_child_version = '1.0.4'; wp_enqueue_script( 'custom', $the_core_child_directory . '/js/custom.js', array( 'jquery' ), $the_core_child_version, true ); } add_action( 'wp_enqueue_scripts', 'the_core_child_enqueue_scripts' ); /* The Core Child Theme */