Last active
August 29, 2015 14:25
-
-
Save vijujohns/361e1b199fce0fe42dbd to your computer and use it in GitHub Desktop.
Custom Post Type for Books http://www.wppicker.com/how-to-set-dashicons-for-your-custom-post-type-menu/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Register a new custom post type named Books; | |
register_post_type('books', array( | |
'public' => true, | |
'menu_icon' => 'dashicons-book', | |
'label' => __( 'Books', 'local' ), | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment