-
-
Save billerickson/3d42a6e7f89b340821a3273943989066 to your computer and use it in GitHub Desktop.
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 archive intro on subsequent pages | |
* | |
*/ | |
function be_remove_archive_intro() { | |
if( get_query_var( 'paged' ) ) | |
remove_action( 'genesis_before_loop', 'genesis_do_taxonomy_title_description', 15 ); | |
} | |
add_action( 'genesis_meta', 'be_remove_archive_intro' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment