Created
March 2, 2016 02:39
-
-
Save neilgee/224a4ae7987bd9c808c3 to your computer and use it in GitHub Desktop.
Remove Archive Title & Description from all the Genesis Archive Pages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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