I have problem with custom post type - permalink is doesn't show:
Post type is published, but I can't it show on website.
I tried change permalink structure to ?p=123
, but it still doesn't work. I tried change 'rewrite' attribute in code to false, but no difference.
Some ideas where can be problem?
Here is my code for custom post types:
$args_team = array(
'labels' => sk_post_type_labels( __('Tým', 'sk'), __('Tým', 'sk') ),
'public' => true,
'has_archive' => true,
'exclude_from_search' => true,
'publicly_queryable' => true,
'show_ui' => true,
'query_var' => true,
'capability_type' => 'post',
'hierarchical' => false,
'menu_position' => 10,
'rewrite' => array( 'slug' => 'team' ),
'supports' => array('title','editor','thumbnail','page-attributes')
);
Thanks for any ideas.