Guest User

Untitled

a guest
Sep 22nd, 2015
112
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
  3. function theme_enqueue_styles() {
  4. wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
  5. wp_enqueue_style( 'child-style',
  6. get_stylesheet_directory_uri() . '/style.css',
  7. array('parent-style')
  8. );
  9. wp_enqueue_script('jquery');
  10. wp_enqueue_scripts('script_1', get_template_directory_uri() . '/script_1.js', array(), '1.0.0', true );
  11. }
  12.  
  13. ?>
RAW Paste Data