A simple noob question. I created a new theme and need to know the path to the image folder of the theme.
Say my folder for the theme is THEME1, and inside I have folder IMAGES, then I know my path would be
but instead of writing all that out, is there a php function where I can just write something like
<?php get(TEMPLATEPATH . ‘IMAGES/image.gif’) ?>
(I just made up the code above, don’t know if it works, but I’m looking for something like that).
I looked around, I know this is very basic, but couldn’t find the answer. Thanks.
- The topic ‘What’s the image path for a new theme?’ is closed to new replies.