Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Customize the post info function in Genesis Framework
<?php
// Customize the post info function in Genesis Framework (Default)
add_filter( 'genesis_post_info', 'post_info_filter' );
function post_info_filter($post_info) {
if ( !is_page() ) {
$post_info = '[post_date] by [post_author_posts_link] [post_comments] [post_edit]';
return $post_info;
}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment