updated the cpt and others

This commit is contained in:
2026-02-01 14:06:09 +01:00
parent 7b94f3cf64
commit 49bd340a93
5 changed files with 27 additions and 10 deletions

View File

@@ -186,12 +186,13 @@ class Partnerexpo_Core {
'view_item' => __('Partner megtekintése', 'partnerexpo-core'),
'all_items' => __('Összes partner', 'partnerexpo-core'),
],
'public' => true,
'has_archive' => true,
'show_in_rest' => true,
'public' => true,
'has_archive' => true,
'show_in_rest' => true,
'capability_type' => 'post',
'supports' => [ 'title', 'editor', 'thumbnail', 'excerpt' ],
];
'supports' => [ 'title', 'editor', 'thumbnail', 'excerpt' ],
'taxidermy' => [ 'tags' ],
];
register_post_type( 'pexpo_partners', $args );