wordpress - menu_icon not displaying -
i have custom post_type created in wordpress admin control panel. working fine except menu_icon
'menu_icon' => get_stylesheet_directory_uri() . '/images/my_menu_icon.png',
it's not loading @ all... image file located in my_theme/images
is there code instead use template directory menu_icon? or need save image file somewhere else?
i have no clue..
thanks!
try this:
'menu_icon' => get_bloginfo('template_directory'). '/images/my_menu_icon.png',
Comments
Post a Comment