Last active
August 29, 2015 14:21
-
-
Save reasonstousegenesis/67fffdab821944cd78e5 to your computer and use it in GitHub Desktop.
Default content hooked to genesis_entry_content (HTML5) or genesis_post_content (XHTML) where the archive page template is in use
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 | |
// Default content hooked to genesis_entry_content (HTML5) or genesis_post_content (XHTML) | |
// where the archive page template is in use | |
// page_archive.php | |
remove_action( 'genesis_post_content', 'genesis_do_post_content' ); | |
remove_action( 'genesis_entry_content', 'genesis_do_post_content' ); | |
add_action( 'genesis_entry_content', 'genesis_page_archive_content' ); | |
add_action( 'genesis_post_content', 'genesis_page_archive_content' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment