This tutorial provides 2 solutions which remove the entry meta in the entry header ( Post Info ) & the entry meta in the entry footer from the blog page template.
The 1st solution is a custom blog page template you can upload to your child themes root directory.
The 2nd solution uses a conditional tag to target the blog page. Add the code to the end of your child themes functions file.
add_action( 'genesis_before_loop', 'remove_entry_meta' );
function remove_entry_meta() {
if ( genesis_is_blog_template() ) {
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
}
}
Note : If you want to remove the entry meta from your front page, home page or any other archive page type, use the 2nd solution and change the conditional tag to target any page.
Leave a Reply