Getting images from media library
-
Hey guys, i made a theme in HTML/CSS on my computer, and now im working on putting in the right php code…
I have a logo that goes in the top left corner of my website at all times.
I uploaded this to my media library, and now i can’t access it with the code i am currently using.right now the code looks like this in my header.php :
<header> <img id="logoicon" src="<?php echo get_bloginfo('template_directory');?>/images/lpicongrey.jpg" class="" alt="LearnPak, Share Education" /> </header>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
all i need to know is what php code to put in my <img tag that will display my logo image.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Getting images from media library’ is closed to new replies.