Get Picture inside template folder

/ Published in: PHP
Save to your folder(s)

This code so for placing images inside the wordpress template.

Copy this code and paste it in your HTML
  1. <a href="<?php bloginfo('url'); ?>/"><img src="<?php bloginfo('template_directory'); ?>/images/logo.jpg" alt="<?php bloginfo('name'); ?>" border="0" style="border:0px; margin-left:30px;" /></a>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.