remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
add_action( 'genesis_entry_header', 'child_post_info' );
function child_post_info() {
if ( 'portfolio' == get_post_type() || is_page() || is_archive() )
return; // don't do post-info on pages ?>
<div class="entry-header entry-meta">
By
<span class="author vcard">
<a class="fn n" href="<?php echo get_the_author_url( get_the_author_meta( 'ID' ) ); ?>" title="View <?php echo get_the_author(); ?>'s Profile" rel="author me"><?php the_author_meta( 'display_name' ); ?></a>
</span>
<?php
$published = get_the_date( 'F j, Y' );
$modified = the_modified_date( 'F j, Y', '', '', FALSE );
$published_compare = get_the_date( 'Y-m-d' );
$modified_compare = the_modified_date( 'Y-m-d', '', '', FALSE );
if ( $published_compare < $modified_compare ) {
echo '<span class="updated"><em>· (Updated: ' . $modified . ')</em></span>';
} ?>
</div>
<?php }