WordPress Dashicons List


It’s very simple to use WordPress 3.8’s new icon font dashicons for a custom post type menu icon. When you register a post type, set the menu_icon argument to the CSS class of the dashicon you wish to use. Check out the reference below for a list of available classes.

Dashicons as menu_icon

// Testimonials management
register_post_type( 'testimonials', array(
    'public' => true,
    'menu_icon' => 'dashicons-format-status',
    'label' => 'Testimonials',
    'supports' => array( 'title', 'editor', 'custom-fields' )
) );

Dashicons Reference

Here’s a list of dashicons available for use in WordPress 3.8+.

Leave a Reply

Your email address will not be published. Required fields are marked *