[resolved] Won't show image
-
Hey all,
I’m coding a theme and I’m stuck. I’ve got the logo in the template folder/images/logo.png and it won’t print.
Here’s the code:
<div id="logo"> <img src="<?php get_bloginfo('template_directory') ?>/images/logo.png" /> </div>
I even wrote afterwards:
<?php echo (get_bloginfo('template_directory')); echo('/images/logo.png'); ?>
just to see if it was the right url – and it is.
It won’t show the image, just the “broken image” icon.
What am I doing wrong?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[resolved] Won't show image’ is closed to new replies.