Last active
February 17, 2018 19:57
-
-
Save arupgsh/d7cb6a37a938f2804ec9 to your computer and use it in GitHub Desktop.
Helps you to customize Genesis post meta. https://www.wptron.com/remove-post-category-tags-genesis-2-0-child-themes/
This file contains 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 the post header function by wptron */ | |
add_filter('genesis_post_info', 'wpt_info_filter'); | |
function wpt_info_filter($post_info) { | |
if (!is_page()) { | |
$post_info = 'Written 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