The code in this tutorial provides 3 ways to display the featured image on the front page or home page in Genesis. The code works regardless of the Genesis > Theme Settings > Content Archive > featured image settings.
You can use code:
- In your child themes functions.php file
- Or add the code directly into your front-page.php, home.php or index.php file.
This tutorial has been written to answer this question from a member:
It works! I’d love to have the featured image display on the front page but not on the blog page. Do I need to check the featured image option in the Genesis Themes > Content Archives section?
Here’s the demo video.
Demo Video
The video shows how the featured image only displays on the front page even when the Genesis > Theme Settings > Content Archive > featured image settings are unchecked. The image does NOT display on other archive page types.
Use if you want to use the Genesis > Theme Settings > Content Archive > featured image settings.
Here’s all 3 code snippets for logged in members:
don’t worked
Luan, which theme are you using and which code snippet did you copy and which file did you add it to?