added comments shortcode and form for it

This commit is contained in:
2026-03-11 20:21:28 +01:00
parent fc871dcd75
commit c7b5d52197
5 changed files with 87 additions and 5 deletions

View File

@@ -217,15 +217,14 @@ class Partnerexpo_Core {
'public' => true,
'has_archive' => false,
'show_in_rest' => true,
'supports' => [ 'title', 'editor', 'thumbnail', 'excerpt', 'author' ],
'supports' => [ 'title', 'editor', 'thumbnail', 'excerpt', 'author', 'comments' ],
'rewrite' => [
'slug' => __( 'partnerek', 'partnerexpo-core' ),
'pages' => false,
]
];
register_post_type( 'pexpo_partners', $args );
register_post_type( 'pexpo_partners', $args );
}
/**