kevindees/advanced_custom_post_types — Issue #3: 2nd CPT slug don´t work
Author: lonchbox
Created: 2012-02-06 19:22:49+00:00
State: open

Hi, I´m not sure if this is right:

```function makethem() {
$pt1 = new post_type();

$args1 = array(
//'taxonomies' => array('category', 'post_tag'),
'supports' => array( 'title', 'editor', 'page-attributes', 'thumbnail', 'comments' ),
'hierarchical' => true,
);
$pt1->make('evento','eventos', false, $args1 );

$pt2 = new post_type();

$args2 = array(
//'taxonomies' => array('category', 'post_tag'),
'supports' => array( 'title', 'editor', 'page-attributes', 'thumbnail', 'comments' ),
'hierarchical' => true,
);
$pt2->make('lugar','lugares', false, $args2 );

}```

The secont CPT works but not the slug, what I´m doing wrong ?

Thanx for any help :)