I saw this question on the forums which can be a bit tricky to work out so i thought i would test a few different solutions and share them with you.
I’m using the Genesis Sample theme and I want to have the Feature image display above the entry title.
There’s at least 2 ways you can reposition the featured image before the title on any archive page including your home page ( posts page ).
You can:
- Create a front-page.php or home.php file
- Use a custom function with conditional tag in your functions.php file.
Front Page Template
Simply copy the PHP from the view raw link in the Gist and paste it into a new file named front-page.php or home.php in the root directory of your child theme.
Custom Function
Simply copy the PHP from the view raw link in the Gist and paste it at the end of your child themes functions.php file.
Leave a Reply