Issue on adding Icons to Custom Post Type
Can you please take a look at following code and let me know why i am not able to add icons to custom post type?
add_action( 'admin_head', 'my_icons' );
function my_icons() {?
style type="text/css" media="screen"
#menu-posts-product .wp-menu-image {
background: url(?php bloginfo('url') ?/wp-content/themes/BootWp/img/contactLensemenu.png) no-repeat 6px !important;}
.icon32-posts-product {
background: url(?php bloginfo('url') ?/wp-content/themes/BootWp/img/contactLensepage.png) no-repeat !important;
}
/style
?php }
I have checked the root and image file existence, they are all correct but the code not working
Topic icon custom-taxonomy custom-post-types Wordpress
Category Web