Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $args = array(
- 'label' => __('Projets'),
- 'singular_label' => __('Projet'),
- 'public' => true,
- 'show_ui' => true,
- '_builtin' => false,
- '_edit_link' => 'post.php?post=%d',
- 'capability_type' => 'post',
- 'hierarchical' => false,
- 'rewrite' => array("slug" => "projects"),
- 'query_var' => "projets",
- 'supports' => array('title', 'editor', 'editor', 'editor', 'thumbnail')
- );
- register_post_type( 'projet' , $args );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement