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?
- The topic ‘using bloginfo(template_directory) inside php??’ is closed to new replies.