Dashicon not working
-
I’ve noticed that some icons don’t seem to appear in the WP editor e.g. below I cannot get the icon to appear yet if I change it to ‘dashicons-tickets’ an icon appears so why is it some icons work and some don’t?
register_post_type('program', array('public'=>true, 'label'=>'Programs', <strong>'menu_icon'=>'dashicons-instagram'</strong>, 'rewrite'=>array('slug'=>'MyPrograms'), 'has_archive'=>true, 'labels'=>array('name'=>'Programs', 'add_new_item'=>'Add New Program', 'edit_item'=>'Edit Program', 'all_items'=>'All Programs', 'singular_name'=>'Program'), 'supports'=>array('editor','title','excerpt') ) );
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Dashicon not working’ is closed to new replies.