-
-
Save lorenzobr/7722559 to your computer and use it in GitHub Desktop.
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
// Creates directory path to child theme - functions.php | |
function get_childTheme_url() { | |
return dirname( get_bloginfo('stylesheet_url') ); | |
} | |
// Prints path | |
<?php echo get_childTheme_url(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment