Reposition Archive Entry Title Inline With Featured Image

By default, Genesis displays the entry title before the featured image on your archive pages like your author, blog, category, search, and tag archives pages:

title-before-image

The code snippets in this tutorial, enable you to move your entry titles so they’re inline with your featured image on any archive page like this:

title-beside-image

Here’s 2 code snippets which do the job:

1. You can put this PHP code in your functions file or any archive type template:

remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
 add_action( 'genesis_entry_content', 'genesis_do_post_title', 8 );

2. Or, you can add the following code to your child themes functions file and use conditional tags to target specific archive pages:

add_action( 'loop_start', 'reposition_title' );
function reposition_title() {
if ( ! is_singular()) {
    remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
    add_action( 'genesis_entry_content', 'genesis_do_post_title', 8 );
    }
}

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.