How To Swap the Position of Featured Image and Title in Genesis Framework

There is no doubt that using framework like Genesis or Thesis is hard at first because there is learning curve. Besides the standard WordPress hooks, filters etc, you need to learn tons of specific hooks, filters etc for those frameworks.

However, once you’re good at it, you’ll definitely never look back. Trust me, those hooks, filters etc really help you to cut of the development time.

By default, in Genesis, the post title appears before the featured image. Here’s a snippet to change and swap the position of image and title in the loop.

// Move image above post title
remove_action( ‘genesis_post_content’, ‘genesis_do_post_image’ );
add_action( ‘genesis_before_post_title’, ‘genesis_do_post_image’ );

Paste the code above in your functionality plugin or theme’s functions.php file.

Please note that this only works if you’re using the default loop.