Created
June 16, 2014 23:56
-
-
Save nunotmp/b086eb6b7093520eda51 to your computer and use it in GitHub Desktop.
Genesis Post hooks 2.0 and Legacy
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
//* HTML5 Hooks | |
add_action( 'genesis_entry_header', 'genesis_do_post_format_image', 4 ); | |
add_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 ); | |
add_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 ); | |
add_action( 'genesis_entry_header', 'genesis_do_post_title' ); | |
add_action( 'genesis_entry_header', 'genesis_post_info', 12 ); | |
add_action( 'genesis_entry_content', 'genesis_do_post_image', 8 ); | |
add_action( 'genesis_entry_content', 'genesis_do_post_content' ); | |
add_action( 'genesis_entry_content', 'genesis_do_post_content_nav', 12 ); | |
add_action( 'genesis_entry_content', 'genesis_do_post_permalink', 14 ); | |
add_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_open', 5 ); | |
add_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_close', 15 ); | |
add_action( 'genesis_entry_footer', 'genesis_post_meta' ); | |
add_action( 'genesis_after_entry', 'genesis_do_author_box_single', 8 ); | |
add_action( 'genesis_after_entry', 'genesis_get_comments_template' ); | |
//* Pre-HTML5 hooks | |
add_action( 'genesis_before_post_title', 'genesis_do_post_format_image' ); | |
add_action( 'genesis_post_title', 'genesis_do_post_title' ); | |
add_action( 'genesis_post_content', 'genesis_do_post_image' ); | |
add_action( 'genesis_post_content', 'genesis_do_post_content' ); | |
add_action( 'genesis_post_content', 'genesis_do_post_permalink' ); | |
add_action( 'genesis_post_content', 'genesis_do_post_content_nav' ); | |
add_action( 'genesis_before_post_content', 'genesis_post_info' ); | |
add_action( 'genesis_after_post_content', 'genesis_post_meta' ); | |
add_action( 'genesis_after_post', 'genesis_do_author_box_single' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment