Skip to content

Instantly share code, notes, and snippets.

@hemusyl
Last active March 23, 2016 07:54
Show Gist options
  • Save hemusyl/ed174eede032bb3b45a0 to your computer and use it in GitHub Desktop.
Save hemusyl/ed174eede032bb3b45a0 to your computer and use it in GitHub Desktop.
Child Theme
/*
Theme Name: Twenty Fifteen Child
Theme URI: http://example.com/twenty-fifteen-child/
Description: Twenty Fifteen Child Theme
Author: John Doe
Author URI: http://example.com
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
*/
/* =Theme Style code starts here
-------------------------------------------------------------- */
And for Functions php
add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );
function enqueue_parent_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment