title: Confusion of creating a child theme properly in wordpress
body: <p>Trying to create a child theme from wordpress twentyfifteen theme.
  Wordpress codex says  </p>
  
  <blockquote>
    <p>Note that the previous method was to import the parent theme
    stylesheet using @import: this is no longer best practice. The correct
    method of enqueuing the parent theme stylesheet is to use
    wp_enqueue_script() in your child theme's functions.php.</p>
  </blockquote>
  
  <p>The function which is responsible of loading styles and javascript files of twentyfifteen is</p>
  
  <pre><code>function twentyfifteen_scripts() {
      // Add custom fonts, used in the main stylesheet.
      wp_enqueue_style( 'twentyfifteen-fonts', twentyfifteen_fonts_url(), array(), null );
  
      // Add Genericons, used in the main stylesheet.
      wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.2' );
  
      // Load our main stylesheet.
      wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri() );
  
      // Load the Internet Explorer specific stylesheet.
      wp_enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20141010' );
      wp_style_add_data( 'twentyfifteen-ie', 'conditional', 'lt IE 9' );
  
      // Load the Internet Explorer 7 specific stylesheet.
      wp_enqueue_style( 'twentyfifteen-ie7', get_template_directory_uri() . '/css/ie7.css', array( 'twentyfifteen-style' ), '20141010' );
      wp_style_add_data( 'twentyfifteen-ie7', 'conditional', 'lt IE 8' );
  
      wp_enqueue_script( 'twentyfifteen-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20141010', true );
  
      if ( is_singular() &amp;&amp; comments_open() &amp;&amp; get_option( 'thread_comments' ) ) {
          wp_enqueue_script( 'comment-reply' );
      }
  
      if ( is_singular() &amp;&amp; wp_attachment_is_image() ) {
          wp_enqueue_script( 'twentyfifteen-keyboard-image-navigation', get_template_directory_uri() . '/js/keyboard-image-navigation.js', array( 'jquery' ), '20141010' );
      }
  
      wp_enqueue_script( 'twentyfifteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20141212', true );
      wp_localize_script( 'twentyfifteen-script', 'screenReaderText', array(
          'expand'   =&gt; '&lt;span class="screen-reader-text"&gt;' . __( 'expand child menu', 'twentyfifteen' ) . '&lt;/span&gt;',
          'collapse' =&gt; '&lt;span class="screen-reader-text"&gt;' . __( 'collapse child menu', 'twentyfifteen' ) . '&lt;/span&gt;',
      ) );
  }
  add_action( 'wp_enqueue_scripts', 'twentyfifteen_scripts' );
  </code></pre>
  
  <p>So after copy it from parent's <code>functions.php</code> and paste it in child's <code>functions.php</code> what i did :
  1.Changed the function name.
  2.Replaced the line</p>
  
  <pre><code>wp_enqueue_style( 'twentyfifteen-style', get_stylesheet_uri() );
  </code></pre>
  
  <p>with</p>
  
  <pre><code>wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
  </code></pre>
  
  <p>3.Removed code for javascript files.</p>
  
  <p>Do i also remove other style sheets which are not main style sheet of parent theme?
  How do i include another stylesheet properly which are in the child's theme ?
  (do i just use <code>wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css' );</code> ?)</p>