Skip to content

Instantly share code, notes, and snippets.

@barbwiredmedia
Created August 22, 2013 20:35
Show Gist options
  • Save barbwiredmedia/6312455 to your computer and use it in GitHub Desktop.
Save barbwiredmedia/6312455 to your computer and use it in GitHub Desktop.
Wordpress - Functions: Create Child Theme path
// 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