referencing theme folder (is there a global variable?) (3 posts)

  1. owangolama
    Posted 5 years ago #

    Hello. I'm trying to include a reference to my theme folder, but obviously I'd prefer not to use a hard-coded url. Is there a global variable definition that is the path to the currently used theme folder?

    Thanks in advance for any help.

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    <?php get_bloginfo('template_directory'); ?> or TEMPLATEPATH depending on which you want - a url or a path.

  3. owangolama
    Posted 5 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic