Template Path in WordPress Child Themes

Wordpress Child themes are a great Idea to extend the theme a bit without getting your hands dirty with the big deal, but I encountered a problem with my child theme when I wanted to load some of my Javascript files which I kept with in the child theme so that the parent theme remains unchanged and all the development is also done in one directory.
I had to make a custom function to get my child theme’s path. Feel free to copy this function into your functions.php file of your child theme. Continue reading