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.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!