Move Entry Footer Post Meta To Entry Header & Entry Header Post Info To Entry Footer

This code enables you to reposition the category & tag links in your entry footer to your entry header and move the comments, author and date links from your entry header to the entry footer.

Here’s the before & after shots.

before-reposition

after-reposition

This solution is based on this question from a member of the Genesis community:

Ideally, I would like categories in the header, and the date, byline, and comments in the footer.

Here’s the code you need to add to your child themes functions file using a code editor, not the WordPress theme editor under the Appearance menu in your Dashboard.

remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
add_action( 'genesis_entry_header', 'genesis_post_meta' );

remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
add_action( 'genesis_entry_footer', 'genesis_post_info' );

If you need to conditionally reposition either the post info or post meta to or from the entry header and entry footer, here’s the PHP code to do that.

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.