WordPress.org

Support

Support » Themes and Templates » [Resolved] Template Directory

[Resolved] Template Directory

  • 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 ‘[Resolved] Template Directory’ is closed to new replies.
Skip to toolbar