145 posts
  • Has been part of the Envato Community for over 2 years
  • Located in Austria
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
LovelessDesign says

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

$image = bloginfo('template_directory') . '/images/image.png'; 
3448 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 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
  • Has been part of the Envato Community for over 2 years
  • Located in Austria
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
LovelessDesign says

Silly me. thanks

by
by
by
by
by
by