[wp-testers] Permalinks for custom post types

Clement Nicolaescu clementnicolaescu at gmail.com
Tue Mar 23 12:49:55 UTC 2010


Hello ,


My custom posts types are not working when it comes to use permalinks.


Are they working for anyone here?

I used the following function:


register_post_type('slider', array(
'label' => __('Sliders'),
'singular_label' => __('Slider'),
 'public' => true,
'show_ui' => true,
'inherit_type' => 'post',
 '_builtin' => true,
'_edit_link' => 'post.php?post=%d',
 'capability_type' => 'post',
'hierarchical' => false,
 'rewrite' => true,
'query_var' => false,
'supports' => array('title', 'editor', 'custom-fields')
));



Thank you very much,
Clement


*
*


More information about the wp-testers mailing list