Skip to content

Instantly share code, notes, and snippets.

@mor10
Last active January 22, 2018 04:53
Show Gist options
  • Save mor10/e461b2adf3d8103439409b3f89a219f6 to your computer and use it in GitHub Desktop.
Save mor10/e461b2adf3d8103439409b3f89a219f6 to your computer and use it in GitHub Desktop.
WordPress child theme setup based on the Twenty Sixteen parent theme
/*
Theme Name: Twenty Sixteen Child Theme
Theme URI: https://2016.wpcampus.org/schedule/wordpress-masterclass/
Description: A Twenty Sixteen child theme
Author: Morten Rand-Hendriksen
Author URI: https://lynda.com/mor10
Template: twentysixteen
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-sixteen-child
*/
/*
To retain and build on top of the original styles from the parent theme, bring in the parent theme styles using ONE of these two methods:
- @import rule in the stylesheet (as seen below)
- enqueue style in child theme functions.php file (see https://gist.github.com/mor10/f2ec3d344331b0789942636248a7ef53)
*/
@import url("../twentysixteen/style.css");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment