Remove Genesis Entry Footer Conditionally

This code enables you to use different conditional tags to remove the entry footer on specific pages.

The following example removes the entry footer globally excluding the front page.

add_filter( 'genesis_entry_footer', 'remove_entry_footer', 2 );
function remove_entry_footer() {
if ( is_front_page() )
    return;
remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_open', 5 );
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_close', 15 );
}

Its removes the category and tags links in the entry footer as well as the markup.

Add the code to your child themes functions file using a code editor.

Join 5000+ Followers

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