Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- register_post_type( 'portfolios',
- array(
- 'labels' => array(
- 'name' => __( 'Portfolio Items' ),
- 'singular_name' => __( 'Portfolio Item' ),
- 'add_new_item' => __( 'Add New Portfolio Item' )
- ),
- 'public' => true,
- 'supports' => array('title', 'editor', 'custom-fields', 'thumbnail'),
- 'has_archive' => true,
- 'capability_type' => 'page',
- 'rewrite' => array('slug' => 'item'),
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement