title: Adding custom header and footer to wordpress blog
body: <p>here I have a site, tinywolf.uk that i'm currently working on. The homepage is a static site separate from wordpress, but the blog part of the site <a href="http://www.tinywolf.uk/blog" rel="nofollow">http://www.tinywolf.uk/blog</a> will be powered by wordpress. </p>
  
  <p>Im currently using the twenty-fifteen theme, and would like to have the header and footer from the homepage in the blog as well for continuity. </p>
  
  <p>So far I have created a child theme, and then a new header.php file which contains the header from the homepage. This replaces the existing wordpress header.php and displays correctly, however, the styling for the rest of the theme has disappeared. I want to maintain the styling for the posts. </p>
  
  <p>How do I call the correct styling from the twenty-fifteen theme to ensure that the content (blog posts) are correctly styled?</p>
  
  <p><a href="http://tinywolf.uk/blog/wp-content/themes/tinytheme-child/header.php" rel="nofollow">here</a> is my code for the child-theme header.php </p>
  
  <p>I have tried including the style.css for the twenty-fifteen theme using <code>&lt;link rel="stylesheet"</code> and although this brings up some of the formatting it also breaks the structure of the page. </p>
  
  <p>here is the content of my functions.php:</p>
  
  <pre><code> &lt;?php
  add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
  function theme_enqueue_styles() {
      wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/blog/wp-content/themes/twentyfifteen/style.css' );
      wp_enqueue_style( 'child-style',
          get_stylesheet_directory_uri() . '/blog/wp-content/themes/twentyfifteen/style.css',
          array('parent-style')
      );
  }
  ?&gt;
  </code></pre>
  
  <p>and this is my child style.css: </p>
  
  <pre><code>    /*
   Theme Name:   Tiny Theme Child
   Theme URI:    http://example.com/twenty-fifteen-child/
   Description:  Twenty Fifteen Child Theme
   Author:       Joel S
   Author URI:   http://www.tinywolf.uk/blog
   Template:     twentyfifteen
   Version:      1.0.0
   License:      GNU General Public License v2 or later
   License URI:  http://www.gnu.org/licenses/gpl-2.0.html
   Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
   Text Domain:  twenty-fifteen-child
  */
  </code></pre>