Skip to content

Instantly share code, notes, and snippets.

@JohnBunka
Created January 9, 2016 23:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnBunka/bf699abdeae1e7008199 to your computer and use it in GitHub Desktop.
Save JohnBunka/bf699abdeae1e7008199 to your computer and use it in GitHub Desktop.
Genesis Post Info
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
//* Incoude this in Genesis imple edits or in your functions.php file or in a functionaility plugin.
//* Customize the post info function
add_filter( 'genesis_post_info', 'sp_post_info_filter' );
function sp_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