Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function jw_script_enqueue() {
- wp_enqueue_style('custom-style', get_template_directory_uri() . '/css/jw-custom.css', array(), false, 'all' );
- we_enqueue_script('custom-js', get_template_directory_uri() . '/js/jw-custom.js', false, true)
- }
- add_action( 'wp_enqueue_scripts', 'jw_script_enqueue');
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>JW Custom</title>
- <?php wp_head(); ?>
- </head>
- <body>
- <footer>
- © 2018 JW Custom
- </footer>
- <?php wp_footer(); ?>
- </body>
- </html>
Add Comment
Please, Sign In to add comment