Hi all,
I created a custom post type with poet as it follows:
'post' => [
'news' => [
'enter_title_here' => __('Enter News title', 'bdb'),
//'menu_icon' => 'dashicons-news-alt',
'supports' => ['title', 'revisions'],
'show_in_rest' => true,
'has_archive' => true,
'public' => true,
'show_in_nav_menus' => true,
'rewrite' => array('slug' => 'nachrichten'),
'labels' => [
'singular' => __('News', 'bdb'),
'plural' => __('News', 'bdb'),
],
],
]
post type available in dashboard. Now I try to render the archive, already created an archive-news.blade.php in sage root, but will not render under /nachrichten
. What is wrong in this case?