Created
April 15, 2019 09:53
-
-
Save deeman/a656b411c617579384f9a3378b173f2e to your computer and use it in GitHub Desktop.
Genesis Framework - Removes Archive Titles
This file contains hidden or 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