Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- register_post_type('tips', array(
- 'label' => __('Tips'),
- 'singular_label' => __('Tips'),
- 'public' => false,
- 'show_ui' => true, // UI in admin panel
- 'capability_type' => 'post',
- 'hierarchical' => false,
- 'rewrite' => array("slug" => "tips"), // Permalinks format
- 'supports' => array('title','editor', 'author', 'thumbnail', 'excerpt')
- ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement