Created
June 5, 2016 07:49
-
-
Save idavinder/0661dad737d44f92458f9ed29142ef11 to your computer and use it in GitHub Desktop.
Customize Post Info in Genesis theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* Customize post info in Genesis | |
add_filter( 'genesis_post_info', 'bw_post_info_filter' ); | |
function bw_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