Dear sonijoykolenchery
On Custom Post edit screen use field “Menu icon” in “Visibility” box.
http://iworks.pl/wp-content/uploads/2015/08/screenshot-35.png
But this option is deprecated and will be removed in Types 1.9
Instead (it works now too) use filter wpcf_type:
<?php
add_filter('wpcf_type', 'my_icon_wpcf_type', 10, 2);
function my_icon_wpcf_type($custom_post_config, $custom_post) {
if ( 'my_post_type' == $custom_post ) {
$custom_post_config['menu_icon'] = 'http://example.com/example.png';
}
return $custom_post_config;
}
Cheers,
Marcin