• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

2 Ways To Reposition Your Featured Image Before Entry Title On Home Page

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:

  1. Create a front-page.php or home.php file
  2. 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.

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems