function awesome_custom_post_type (){
    
    $labels = array(
        'name' => 'Projeler',
        'singular_name' => 'Projeler',
        'add_new' => 'Yeni Ekle',
        'all_items' => 'Tüm Projeler',
        'add_new_item' => 'Yeni Ekle',
        'edit_item' => 'Projeyi Düzenle',
        'new_item' => 'Yeni Ekle',
        'view_item' => 'Projeyi Görüntüle',
        'search_item' => 'Proje Ara',
        'not_found' => 'Henüz proje yok',
        'not_found_in_trash' => 'Henüz silinmiş bir proje yok',
        'parent_item_colon' => 'Parent Item'
    );
    $args = array(
        'labels' => $labels,
        'public' => true,
        'has_archive' => true,
        'publicly_queryable' => true,
        'query_var' => true,
        'rewrite' => true,
        'capability_type' => 'post',
        'hierarchical' => false,
        'supports' => array(
            'title',
            'editor',
            'excerpt',
            'thumbnail',
            'revisions',
        ),
        'taxonomies' => array('category', 'post_tag'),
        'menu_position' => 5,
        'exclude_from_search' => false
    );
    register_post_type('proje',$args);
}
add_action('init','awesome_custom_post_type');
wordpresse projeler bölümü ekledim fakat sitede görüntülemek istediğimde 404 sayfasına yönleniyor. Gözükmesi için oluşturduğum sayfa ismi "single-proje.php" içerisinde de <?php echo "projeler sayfası" ?> kodu ve buna rağmen 404e yönleniyor böyle bir hatayla karşılaşan varmı