Time and again we come across unique requirements from clients. Like, sometimes a client wants to hide date, time and admin link from specific or a custom post types. If you are using Genesis, you can use the Genesis filter ‘genesis_post_info’ to remove or hide Post Info.
To hide or remove post-info from the desired post you can place the following code in functions.php:
function custom_post_info($post_info)
{
global $post;
if(get_post_type($post->ID) == 'post_type_name' )
{
return false;
}
else
{
return $post_info;
}
}
add_filter('genesis_post_info', 'custom_post_info ');
In the above code you just need to replace ‘post_type_name’ with your post type. That’s all for hiding date, time and admin link.