Tagged: Custom Post Type Post Info
I’m looking for help to remove the post info from custom post types. I’ve figured out how to remove it from all posts but this is not exactly ideal. I’m using the plugin ‘Custom Post Type UI’ to create my custom posts.
My website is http://www.shewearswhite.com
I tried inserting the following code into my functions.php however it removed the post info from ALL posts not just my custom post type. Can you see where I’m going wrong?
if(get_post_type($post->ID) == 'post_type_name' )
add_filter('genesis_post_info', 'custom_post_info ');
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.