Browse Source

initial commit

master
missytake 8 months ago
commit
d712b8624b
  1. 11
      functions.php
  2. 8
      style.css

11
functions.php

@ -0,0 +1,11 @@
<?php
function mychildtheme_enqueue_styles() {
// does 'parent-style' need to be 'understrap'?
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
// enqueue parent/css directory as well? I hope this works
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/css/' );
wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css',
array('parent-style');
}
add_action( 'wp_enqueue_scripts', 'mychildtheme_enqueue_styles' );
?>

8
style.css

@ -0,0 +1,8 @@
/*
Theme Name: Sand im Getriebe Child Theme
Description: The custom theme Sand im Getriebe Child Theme using the parent theme Understrap.
Author: nami@systemli.org
Author URI: lefherz.net
Template: understrap
Version: 1
*/
Loading…
Cancel
Save