Enqueue scripts, stylesheet and/or jQuery

Adding stylesheet or jQuery to your child theme in one function.

function awk_script() {
    wp_enqueue_script( 'custom-script', get_stylesheet_directory_uri() . '/js/custom.js', array( 'jquery' ) );
    wp_enqueue_style( 'et-icon-fonts', get_stylesheet_directory_uri() . '/fonts/etfonts.css');
}
add_action( 'wp_enqueue_scripts', 'awk_script' );
Scroll to Top