Wednesday, April 1, 2015

Wordpress - Insert image inside the template

How to insert image into the template

1) put your image in wp-content/themes/yourthemes/yourimagefolder/yourfile.jpg
2) use the Img Src tag like this

<img src="<?php bloginfo('template_url'); ?>/images/blog-link.png"/>


Thanks,

Hery Purnama
freelance-it-trainer

No comments:

Post a Comment