145 posts
  • 3 Years of Membership
  • Austria
  • Collector Level 1
  • Exclusive Author
LovelessDesign
says

Can anyone tell me why this won’t work and how to write it correctly?

$image = bloginfo('template_directory') . '/images/image.png'; 
3535 posts
  • Power Elite Author
  • Author Level 12
  • Trendsetter
  • United States
+13 more
sevenspark
Moderator
says

Your answer is in the first paragraph on the Codex Page – bloginfo echoes. If you want function that returns the value, use get_bloginfo()

145 posts
  • 3 Years of Membership
  • Austria
  • Collector Level 1
  • Exclusive Author
LovelessDesign
says

Silly me. thanks

by
by
by
by
by
by