Skip to content

Instantly share code, notes, and snippets.

@Netzberufler
Created September 22, 2016 13:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Netzberufler/34905d7ea43c6fcbf6af038d26b78de1 to your computer and use it in GitHub Desktop.
Save Netzberufler/34905d7ea43c6fcbf6af038d26b78de1 to your computer and use it in GitHub Desktop.
Blank Wordpress Child Theme
<?php
/**
* Theme Coder Child functions and definitions
*
* @package Theme Coder
*
*/
/**
* Enqueue scripts and styles.
*/
function theme_coder_child_scripts() {
// Enqueue Parent Stylesheet
wp_enqueue_style( 'theme-coder-parent-stylesheet', get_template_directory_uri() . '/style.css' );
} // theme_coder_child_scripts
add_action( 'wp_enqueue_scripts', 'theme_coder_child_scripts' );
/* You can add your own php functions and code snippets below */
/*======================================
Theme Name: Theme Coder
Theme URI: https://themecoder.de
Description: Ein einfaches Child Theme für TwentySixteen
Version: 1.0
Author: Thomas W
Author URI: https://netzberufler.de
Template: twentysixteen
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
======================================*/
/* You can start adding your own styles here. Use !important to overwrite styles if needed. */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment