• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

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.

Entry Meta

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags