Guest User

Untitled

a guest
Sep 22nd, 2015
16
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  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. }
  10. function theme_enqueue_script(){
  11. wp_enqueue_scripts('script_1', get_template_directory_uri() . '/script_1.js', array(), '1.0.0', true );
  12. }
  13. add_action('wp_enqueue_scripts', 'theme_enqueue_styles');
  14. add_action('wp_enqueue_scripts', 'theme_enqueue_scripts');
  15.  
  16. ?>
RAW Paste Data