Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <?php
  2.  
  3. /*
  4.  * Enqueue parent and child stylesheets
  5.  */
  6.  
  7. add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
  8. function theme_enqueue_styles() {
  9.     wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
  10.     wp_enqueue_style( 'child-style', get_stylesheet_uri(), array( 'parent-style' ) );
  11. }