Image paths set to theme/images

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

this code to load image from my theme images folder

Copy this code and paste it in your HTML
  1. <img class="main_image" src="<?php bloginfo('template_directory'); ?>/images/some.jpg" alt="" />

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.