About Sridhar Katakam
I am an independent WordPress web consultant with 10 years of experience in WordPress theme installation, customization, administration, maintenance, support, documentation, troubleshooting and PSD/design to WP.
Genesis and WordPress Tutorials
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.
what if we just want to remove “by author” ” by admin’ but keep the date
Bump
To display Published date and edit link (for admins) in the Post meta for all archives, add this in functions.php:
http://pastebin.com/raw.php?i=aD1HnxQa
I would also like to see it work on single post page. Thanks
This should remove all info from post.
function sk_remove_post_info_archives() {
if ( is_single( ) ) {
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
}
}
add_action( 'genesis_before_loop', 'sk_remove_post_info_single' );
/**
* Remove Post info from Posts on a Page that uses Blog Page Template.
*
* @author Sridhar Katakam
* @link http://www.sridharkatakam.com/remove-post-info-conditionally-genesis/
*/
function sk_remove_post_info_single() {
if ( is_single( ) ) {
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
}
}
what if I just want to remove “By Author” only from single post, archive and all others
but leave date.
Thanks for the help
Hi Greg,
This plugin might be helpful for you.
http://pastebin.com/raw.php?i=qee3u07U
Great Thanks,
I chose to use the php code by Sridhar
but did find that Genesis simple edits also did it.
reason I chose php was I may want to remove addin at a later date 😉
[…] my previous tutorial titled How to remove Post info conditionally in Genesis, I shared code to remove post info […]
How do you remove post info based on post age? Say for posts older than 30 days?
Follow https://sridharkatakam.com/remove-post-info-posts-older-30-days-genesis/.
Wow, that was quick. Thank you very much, Sridhar. You are the best!