0

I'm trying to put image files into an images folder inside my theme, and display them on the page, but I'm getting the broken image icon. When I copy the file location from the server folder and try it in the browser there is no image there.

Is it possible to display images that aren't in the media library (just from a folder in your theme folder) on WordPress, and is there some special way to do it?

Thank you

0

hammered it out.

Anyone else with this question, try <img src="<?php bloginfo('stylesheet_directory'); ?>/images/yourimagename.jpg">

  • Please accept your own answer – Pieter Goosen Feb 13 '16 at 7:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.