Created
January 9, 2016 23:50
-
-
Save JohnBunka/bf699abdeae1e7008199 to your computer and use it in GitHub Desktop.
Genesis Post Info
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
<?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