• I have a plugin for a CPT. I use this to get the menu icon:

    'menu_icon' => bloginfo('get_stylesheet_directory_uri') . '/img/neighbourgood-listing.png',

    It doesn’t work.

    The image neighbourgood-listing.png is in a folder “img” inside the template for my child theme

    Can someone please check my line of code in the CPT plugin.

    Thanks

  • The topic ‘Code to Show Menu Icon in Custom Post Type’ is closed to new replies.