How To Display Images From Your Images Folder Anywhere In Any Theme

Carrie asked this question recently which i see fairly often.

I’m trying to add an image right before the post title for each blog post.

In this post i’ll show you how to display an image anywhere in any theme.

There’s 4 things you need to determine:

  1. Which hook position to use.
  2. Which conditional tag to use.
  3. Which class to use to style & position your image.
  4. The path to your image.

Here’s an example code snippet which includes all of the above which you can modify in the code.

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.