Last active
August 29, 2015 14:26
-
-
Save vijujohns/cc73d989aceacb130db9 to your computer and use it in GitHub Desktop.
Including files for child theme http://www.wppicker.com/why-and-how-should-i-create-child-theme-for-wordpress/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Include a file from Child Theme Directory*/ | |
<?php require_once( get_stylesheet_directory(). '/functions/child_theme_include_file.php' ); ?> | |
/*Include a file from Parent Theme Directory*/ | |
<?php require_once( get_template_directory(). '/functions/parent_theme_include_file.php' ); ?> | |
/*Include a image from Child Theme Directory*/ | |
<img src="<?php echo get_stylesheet_directory_uri(); ?>/images/my_picture.png" alt="" /> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment