Skip to content

Instantly share code, notes, and snippets.

@neilgee
Created March 2, 2016 02:39
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save neilgee/224a4ae7987bd9c808c3 to your computer and use it in GitHub Desktop.
Save neilgee/224a4ae7987bd9c808c3 to your computer and use it in GitHub Desktop.
Remove Archive Title & Description from all the Genesis Archive Pages
<?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