I've successfully added a custom post type.
register_post_type('case', array( 'labels' => array( 'name' => __('Cases'), 'singular_name' => __('Case') ), 'public' => true, 'has_archive' => true, 'supports' => array('title', 'editor', 'thumbnail','custom-fields', 'page-attributes') ) );
And I've created a page called "case" and I have my permalinks configured like this:
The problem I'm having now is that when I try to access url.com/case I don't get my page "case" but instead I'm looking at the custom post type "case". I think?
Every "case" has its own url --> url.com/case/xxx. I don't want to change this but instead be able to change the layout for the custom page "main" page that represents all the cases instead of a "page" called case.
Can this be done and how?