Child Themes Done the Right Way using functions.php

Was a time when linking a child theme to the parent theme was done via an import in the style sheet.

No more, now the best way to do this is via the functions.php file as follows:

function my_theme_enqueue_styles() {

    $parent_style = 'parent-style'; 

    wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
    wp_enqueue_style( 'child-style',
        get_stylesheet_directory_uri() . '/style.css',
        array( $parent_style ),
        wp_get_theme()->get('Version')
    );
}
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );

NOTE: You still need the parent to be specified in the comments at the top of the child theme style sheet as follows:

/*
Theme Name:babelbuilder16
Theme URI: http://www.babelscribe.com
Description: Theme created by babelscribe.com
Author: babelscribe.com
Author URI: http://www.babelscribe.com
Version: 1.0
Template: twentyfourteen
*/