I know this is a basic question but how you guys get your CPT menu icons display when using a child theme?
this is the most common snippet for menu_icon but this is not working when you use a child theme..
'menu_icon' => get_stylesheet_directory_uri() . '/img/slider.png'
anyone tried fixing this before? I appreciate any help…
thank you very much!
I think the img folder is situated in the parent theme, so you can try something like this
<?php get_template_directory_uri() ?> . '/images/menu-icon.png'