Skip to content

Instantly share code, notes, and snippets.

@deeman
Created April 15, 2019 09:53
Show Gist options
  • Select an option

  • Save deeman/a656b411c617579384f9a3378b173f2e to your computer and use it in GitHub Desktop.

Select an option

Save deeman/a656b411c617579384f9a3378b173f2e to your computer and use it in GitHub Desktop.
Genesis Framework - Removes Archive Titles
<?php //<~ Remove me
//Removes Title and Description on CPT Archive
remove_action( 'genesis_before_loop', 'genesis_do_cpt_archive_title_description' );
//Removes Title and Description on Blog Archive
remove_action( 'genesis_before_loop', 'genesis_do_posts_page_heading' );
//Removes Title and Description on Date Archive
remove_action( 'genesis_before_loop', 'genesis_do_date_archive_title' );
//Removes Title and Description on Archive, Taxonomy, Category, Tag
remove_action( 'genesis_before_loop', 'genesis_do_taxonomy_title_description', 15 );
//Removes Title and Description on Author Archive
remove_action( 'genesis_before_loop', 'genesis_do_author_title_description', 15 );
//Removes Title and Description on Blog Template Page
remove_action( 'genesis_before_loop', 'genesis_do_blog_template_heading' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment