Excellent. It's working.

Thank you, Dion.

Clement


On Tue, Mar 23, 2010 at 10:28 PM, Dion Hulse (dd32) <[email protected]>wrote:

> On Wed, 24 Mar 2010 00:49:55 +1200, Clement Nicolaescu <
> [email protected]> wrote:
>
>> Hello ,
>> My custom posts types are not working when it comes to use permalinks.
>> 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')
>> ));
>>
>
>
> Remove the _builtin note, thats for internal post_Types only.
> Remove the _edit_link item, thats the wrong link (The default will create
> it properly for you)
> Remove the query_var = false, It'll default to the post_type name, and as
> false, will not work correctly anyway.
>
>
> Dion Hulse / dd32
> Contact:
>  e: [email protected]
>  Web: http://dd32.id.au/
>
> _______________________________________________
> wp-testers mailing list
> [email protected]
> http://lists.automattic.com/mailman/listinfo/wp-testers
>
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to