Committing new and improved v. 1.1

This commit is contained in:
kjodle 2017-05-27 11:57:30 -04:00
parent 9c57c51be4
commit c297b17e50
6 changed files with 34 additions and 29 deletions

19
functions.php Executable file → Normal file
View File

@ -1,13 +1,14 @@
<?php
// Exit if accessed directly
if ( !defined( 'ABSPATH' ) ) exit;
// Atticus Finch Child Theme
/* Do NOT remove the below function or you child theme will not load properly */
function child_theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css', '', '1.0' );
wp_enqueue_style( 'parent-style-mobile', get_template_directory_uri() . '/styles/mobile.css', 'atticus-finch-style', '1.0', 'screen and (max-width: '. get_theme_mod( 'atticus_finch_mobile_breakpoint' ) . 'px)' );
wp_enqueue_style( 'parent-style-print', get_template_directory_uri() . '/styles/print.css', '', '1.0', 'print' );
wp_enqueue_style( 'parent-style-menus', get_template_directory_uri() . '/styles/menus.css', '', '1.0', 'screen' );
}
add_action( 'wp_enqueue_scripts', 'child_theme_enqueue_styles' );
if ( !function_exists( 'af_childtheme_parent_css' ) ):
function af_childtheme_parent_css() {
wp_enqueue_style( 'af_childtheme_parent', trailingslashit( get_template_directory_uri() ) . 'style.css', array( ) );
}
endif;
add_action( 'wp_enqueue_scripts', 'af_childtheme_parent_css', 10 );
/* Add your child theme's functions below */

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

34
style.css Executable file → Normal file
View File

@ -1,14 +1,16 @@
/*
Theme Name: Atticus Finch Child
Theme URI: https://github.com/kjodle/atticus-finch-child
Description: Atticus Finch Child Theme
Author: Kenneth John Odle
Author URI: http://techblog.kjodle.net
Template: atticus-finch
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atticus-finch-child
Theme Name: Atticus Finch Child
Theme URI: http://wiki.kjodle.net/Category:Atticus_Finch_Theme
Template: atticus-finch
Author: kjodle
Author URI: http://techblog.kjodle.net/
Description: Use this Atticus Finch child theme to easily configure your own version of this theme.
Version: 1.1
Updated: 2017-05-27 15:45:54
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atticus-finch-child
*/
/*
@ -60,3 +62,15 @@
margin: 0;
}
*/
/* Headers */
/*
h1,
h2,
h3,
h4,
h5,
h6 {
}
*/

View File

@ -1,3 +0,0 @@
/*
Use this child theme stylesheet to alter the appearance of your menus.
*/

View File

@ -1,3 +0,0 @@
/*
Use this child theme stylesheet to alter the mobile appearance of your site.
*/

View File

@ -1,4 +0,0 @@
/*
Use this child theme stylesheet to alter how your site prints.
This also affects how pages appear when saved as a pdf.
*/