WordPress.org

Support

Support » Themes and Templates » using bloginfo(template_directory) inside php??

using bloginfo(template_directory) inside php??

  • hey guys,
    i wonder what I’m getting wrong here, but somehow i’m not able to save the path of my blogs template_directory to a variable in php.

    if i set:
    $url = bloginfo('template_directory') ;
    $url gets printed out even though i’m not using any print or echo statement. how can i easily save the path of my current blog’s template_directory to a variable in php?

    regards matt

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘using bloginfo(template_directory) inside php??’ is closed to new replies.
Skip to toolbar