Created post_type 'feed' - it works correctly, posts are showing in admin panel, data storedBut I want to use slug 'feeds' for the these posts.Trying this code but return error"wp_die" "this is not a valid feed template"when open links : www.sitename.com/feeds/test_postfile single-feed.php are created
register_post_type('feed','labels' => ['all_items' => 'All feeds','name' => 'feed', ],'public' => true,'has_archive' => false,'rewrite' => array( 'slug' => 'feeds' ),'hierarchical' => true,'menu_position' => 10,'capability_type' => 'page','supports' => ['title','editor','thumbnail'], ] ); }