title: How to load CSS stylesheet in Wordpress theme?
body: <p>How do I load (enqueue?) my custom CSS so that the content from my pages (which is inputted dynamically via Wordpress) has the CSS that my header and footer have?</p>
  
  <p>I have a functions.php with the following, but it doesn't do anything except print the code at the top of my theme template in HTML. </p>
  
  <pre><code>function custom_style() {
      if ( is_page_template( 'templates/home.php' ) ) {
          wp_enqueue_style( 'home', get_stylesheet_directory_uri() . '/styles.css' );
      }
  }
  add_action( 'wp_enqueue_scripts', 'custom_style' );
  </code></pre>
  
  <p>Can anyone tell me what I need to do to get it so that each of my pages has the CSS that the header and footer have?</p>