Posted By

wpbedouine on 10/14/11


Tagged

wordpress-basics


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

mjauru


linking Wordpress to files within the theme - bloginfo(template_directory);


 / Published in: HTML
 

  1. <img src="<?php bloginfo('template_directory'); ?>/images/myimage.jpg" />
  2.  
  3. <!-- which replaces -->
  4.  
  5. <img src="images/myimage.jpg" />

Report this snippet  

You need to login to post a comment.