Skip to content

Instantly share code, notes, and snippets.

@guilhermealveslopes
Last active January 6, 2017 10:26
Show Gist options
  • Save guilhermealveslopes/b476a48eef2f6aa2fa38b22a3090d401 to your computer and use it in GitHub Desktop.
Save guilhermealveslopes/b476a48eef2f6aa2fa38b22a3090d401 to your computer and use it in GitHub Desktop.
function add_theme_scripts() {
wp_enqueue_style( 'style', get_stylesheet_uri() );
wp_enqueue_style( 'css', get_template_directory_uri() . '/css/estilo.css', array(), '1.1', 'all');
wp_enqueue_script( 'script', get_template_directory_uri() . '/js/script.js', array ( 'jquery' ), 1.1, true);
}
add_action( 'wp_enqueue_scripts', 'add_theme_scripts' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment