145 posts
  • Austria
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 1-2 years
LovelessDesign says

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

$image = bloginfo('template_directory') . '/images/image.png'; 
3424 posts
  • Football Contest Participant/Runner-up
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Community Moderator
  • Bought between 100 and 499 items
  • Referred more than 2000 users
  • Has been a member for 4-5 years
+5 more
sevenspark Volunteer 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
  • Austria
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 1-2 years
LovelessDesign says

Silly me. thanks

by
by
by
by
by
by