This code enables you to override your Genesis > Theme Settings > Content Archive settings.
The PHP code overrides the single post display of featured images.
You can override the:
- Image size
- Image alignment
You can also control the image position – Before or after entry title.
Simply change the class in the code from
The code also enables you to add your featured image before or after the single post entry title.
If you want to display your images before the entry title, simply change the 15 in the first line of the code to 5. Thats it!
If you want to change the size of your image, simply change the size in the code from
full to something like
large as well as any custom size you have added.
Here’s the code you simply copy and paste to the end of your child themes functions.php file using a code editor.