Get child theme directory path
-
Hi all,
I’m creating a child theme for K2 and I wonder how I can get the child theme path. Does anyone know this?
Currently, this build in function comes closest to what I need:
bloginfo(‘template_directory’)
Results in: https://localhost/wp-content/themes/K2I actually need something like https://localhost/wp-content/themes/ChildThemeName
I need it to refer to an image folder in the child theme and I want to be flexible in how I name the child theme so a simple replace of K2 in ChildThemeName is not the wanted option…
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Get child theme directory path’ is closed to new replies.