Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.