How to remove Dates from Posts in Genesis

Looking to get rid of dates from appearing in the post info text in your Genesis site?

Add the following in child theme’s functions.php:

add_filter( 'genesis_post_info', 'sp_post_info_filter' );
/**
 * Customize entry meta in the entry header.
 *
 * @param string $post_info Existing post info
 * @return Modified post info
 */
function sp_post_info_filter( $post_info ) {
    $post_info = __( 'by', 'genesis' ) . ' [post_author_posts_link] [post_comments] [post_edit]';

    return $post_info;
}
This site uses cookies to offer you a better browsing experience. By browsing this website, you agree to our use of cookies.