Committing new and improved v. 1.1
This commit is contained in:
parent
9c57c51be4
commit
c297b17e50
19
functions.php
Executable file → Normal file
19
functions.php
Executable file → Normal file
@ -1,13 +1,14 @@
|
|||||||
<?php
|
<?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() {
|
if ( !function_exists( 'af_childtheme_parent_css' ) ):
|
||||||
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css', '', '1.0' );
|
function af_childtheme_parent_css() {
|
||||||
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( 'af_childtheme_parent', trailingslashit( get_template_directory_uri() ) . 'style.css', array( ) );
|
||||||
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' );
|
endif;
|
||||||
|
add_action( 'wp_enqueue_scripts', 'af_childtheme_parent_css', 10 );
|
||||||
}
|
|
||||||
add_action( 'wp_enqueue_scripts', 'child_theme_enqueue_styles' );
|
|
||||||
|
|
||||||
|
/* Add your child theme's functions below */
|
||||||
|
BIN
screenshot.png
Normal file
BIN
screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
34
style.css
Executable file → Normal file
34
style.css
Executable file → Normal file
@ -1,14 +1,16 @@
|
|||||||
/*
|
/*
|
||||||
Theme Name: Atticus Finch Child
|
Theme Name: Atticus Finch Child
|
||||||
Theme URI: https://github.com/kjodle/atticus-finch-child
|
Theme URI: http://wiki.kjodle.net/Category:Atticus_Finch_Theme
|
||||||
Description: Atticus Finch Child Theme
|
Template: atticus-finch
|
||||||
Author: Kenneth John Odle
|
Author: kjodle
|
||||||
Author URI: http://techblog.kjodle.net
|
Author URI: http://techblog.kjodle.net/
|
||||||
Template: atticus-finch
|
Description: Use this Atticus Finch child theme to easily configure your own version of this theme.
|
||||||
Version: 1.0.0
|
Version: 1.1
|
||||||
License: GNU General Public License v2 or later
|
Updated: 2017-05-27 15:45:54
|
||||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
License: GNU General Public License v2 or later
|
||||||
Text Domain: atticus-finch-child
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
Text Domain: atticus-finch-child
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -60,3 +62,15 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* Headers */
|
||||||
|
/*
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6 {
|
||||||
|
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
/*
|
|
||||||
Use this child theme stylesheet to alter the appearance of your menus.
|
|
||||||
*/
|
|
@ -1,3 +0,0 @@
|
|||||||
/*
|
|
||||||
Use this child theme stylesheet to alter the mobile appearance of your site.
|
|
||||||
*/
|
|
@ -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.
|
|
||||||
*/
|
|
Loading…
Reference in New Issue
Block a user