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:
- Which hook position to use.
- Which conditional tag to use.
- Which class to use to style & position your image.
- The path to your image.
Here’s an example code snippet which includes all of the above which you can modify in the code.