Remove Post Info & Entry Meta From Single Posts in Genesis

This code removes the post info ( entry meta ) from the entry header and the entry meta from the entry footer on single posts only.

Using a code editor, paste the code at the end of your child themes functions file.

add_action( 'loop_start', 'remove_entry_meta' );
function remove_entry_meta() {
if ( is_singular('post') ) {
    remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
    remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
    }
}

The post info generally includes the post date, author link, comments link and edit link for logged in users.

Example:

post-info-entry-header

The entry meta in the entry footer generally includes the post tags and categories the post is assigned to.

Example:

entry-meta-entry-footer

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.