Skip to content

Instantly share code, notes, and snippets.

@WPDevHQ
Created June 8, 2017 17:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save WPDevHQ/2809eac1e55245582f5b11e80efc2630 to your computer and use it in GitHub Desktop.
<?php
function gp_child_scripts() {
wp_enqueue_style( 'gpchild-custom-css', get_theme_file_uri( '/customCss/modalStyling.css' ) );
wp_enqueue_script( 'gpchild-custom-js', get_theme_file_uri( '/js/modalScript.js' ), array(), '4.8', true );
}
add_action( 'wp_enqueue_scripts', 'gp_child_scripts' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment