WordPress 3.8 Custom Post Type Register function using a Font Icon
// WordPress Custom Post Type Register for Portfolio | |
register_post_type('portfolio', array( | |
'public' => true, | |
'menu_icon' => 'dashicons-portfolio', | |
'label' => __( 'Portfolio', 'local' ), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment