Support » Themes and Templates » Template Directory

  • Resolved ckruse

    (@ckruse)


    Is there an alternative to:

    bloginfo(‘template_directory’);

    I need the template directory, but I do not want it echoed out. I need it for use in a php script. I know I can use:

    get_option(‘siteurl);

    and then just append

    /wp-content/themes/themefolder/

    But is there an easier method?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Template Directory’ is closed to new replies.