Skip to content

Instantly share code, notes, and snippets.

@PurpleHippoDesign
Created September 3, 2018 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PurpleHippoDesign/0a7ccabe97ffd21a96ed6cdf1839857a to your computer and use it in GitHub Desktop.
Save PurpleHippoDesign/0a7ccabe97ffd21a96ed6cdf1839857a to your computer and use it in GitHub Desktop.
Removes Genesis 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