Entry Header (HTML5)
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
<!-- If you are a beginner user, you might find the Simple Edits plugin helpful as it presents an easier method of customizing the entry header. -->
<!-- The snippets below may be used to customize the Entry Header content in HTML5 (Pro) themes. If you are using a XHTML (non-Pro) theme, use the Post Info customization snippets. -->
<!-- Below is the code to customize the entry header on your site: -->
//* Customize the entry meta in the entry header (requires HTML5 theme support)
add_filter( 'genesis_post_info', 'sp_post_info_filter' );
function sp_post_info_filter($post_info) {
$post_info = '[post_date] by [post_author_posts_link] [post_comments] [post_edit]';
return $post_info;
}
<!-- Below is the code to remove the entry header markup on your site: -->
//* Remove the entry header markup (requires HTML5 theme support)
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 );
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 );
<!-- Below is the code to remove the entry meta on your site: -->
//* Remove the entry meta in the entry header (requires HTML5 theme support)
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
<!-- Below is the code to remove the entry title on your site: -->
//* Remove the entry title (requires HTML5 theme support)
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
<!-- Below is the code to remove the post format image on your site: -->
//* Remove the post format image (requires HTML5 theme support)
remove_action( 'genesis_entry_header', 'genesis_do_post_format_image', 4 );