2016-01-28 19:00:39 +00:00
< ? php
2017-05-27 15:57:30 +00:00
// Exit if accessed directly
if ( ! defined ( 'ABSPATH' ) ) exit ;
2016-01-28 19:00:39 +00:00
2017-05-29 16:26:36 +00:00
2017-05-29 20:49:54 +00:00
2017-05-29 16:26:36 +00:00
/* Add a Google Webfont by uncommenting the following functions and changing the 'family' attribute below. */
/*
function af_childtheme_add_google_fonts () {
wp_enqueue_style ( 'af-google-fonts' , 'http://fonts.googleapis.com/css?family=Asul' , false );
}
add_action ( 'wp_enqueue_scripts' , 'af_childtheme_add_google_fonts' );
*/
2017-05-29 20:49:54 +00:00
2017-05-29 16:26:36 +00:00
/* Let's load our child theme. */
function atticus_finch_enqueue_styles () {
2017-06-04 21:56:24 +00:00
2017-05-29 16:26:36 +00:00
/* Enqueue the parent theme script. Do NOT remove the below function or you child theme will not load properly */
wp_enqueue_style ( 'atticus-finch-style' , get_template_directory_uri () . '/style.css' );
/* Now we will load the child theme's style sheet: */
2017-06-11 17:02:56 +00:00
wp_enqueue_style ( 'atticus-finch-child-style' , get_stylesheet_directory_uri () . '/style.css' , array ( 'atticus-finch-style' ), wp_get_theme () -> get ( 'Version' ) );
2017-06-04 21:56:24 +00:00
2017-05-29 16:26:36 +00:00
/* If you need to make changes to the child theme's mobile styles, uncomment the following line and edit the child theme's '/styles/mobile.css' file. */
2017-06-11 17:02:56 +00:00
// wp_enqueue_style( 'atticus-finch-child-mobile-style', get_stylesheet_directory_uri() . '/styles/mobile.css', array( 'atticus-finch-mobile' ), wp_get_theme() -> get( 'Version' ), 'screen and (max-width: '. get_theme_mod( 'atticus_finch_mobile_breakpoint' ) . 'px)' );
2017-06-04 21:56:24 +00:00
2017-05-29 16:26:36 +00:00
/* If you need to make changes to the child theme's menu styles, uncomment the following line and edit the child theme's '/styles/menu.css' file. */
2017-06-11 17:02:56 +00:00
// wp_enqueue_style( 'atticus-finch-child-menu-style', get_stylesheet_directory_uri() . '/styles/menus.css', array( 'atticus-finch-mobile' ), wp_get_theme() -> get( 'Version' ) );
2017-06-04 21:56:24 +00:00
2017-05-29 16:26:36 +00:00
/* If you need to make changes to the child theme's print styles, uncomment the following line and edit the child theme's '/styles/print.css' file. */
2017-06-11 17:02:56 +00:00
// wp_enqueue_style( 'atticus-finch-child-print-style', get_stylesheet_directory_uri() . '/styles/print.css', array( 'atticus-finch-mobile' ), wp_get_theme() -> get( 'Version' ), 'print' );
2017-05-29 16:26:36 +00:00
}
add_action ( 'wp_enqueue_scripts' , 'atticus_finch_enqueue_styles' );
2016-01-28 19:00:39 +00:00
2017-05-29 20:49:54 +00:00
/* Add HTML or scripts to the <head> element by uncommenting the function below */
/*
function atticus_finch_header () { ?>
2017-05-29 21:01:22 +00:00
Add your code here .
2017-05-29 20:49:54 +00:00
< ? php }
add_action ( 'wp_head' , 'atticus_finch_header' );
*/
/* Add HTML or scripts just before the </body> tag by uncommenting the function below */
/*
function atticus_finch_footer () { ?>
2017-05-29 21:01:22 +00:00
Add your code here .
2017-05-29 20:49:54 +00:00
< ? php }
add_action ( 'wp_footer' , 'atticus_finch_footer' );
*/
2017-05-27 15:57:30 +00:00
/* Add your child theme's functions below */