For a project, I need to have 2 comments sections related to the same post/page. Is there a way or a plugin to do that ? By default, Wordpress allow only one comment section for one post/page.
Thanks a lot, Cédric
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
When you add/display comments you could use a different comment_type
$data = array( 'comment_post_ID' => 1, 'comment_content' => 'content here', 'comment_type' => 'comment_type_a', ); wp_insert_comment($data);
This means you can query comments by comment_type depending on where you want to show them.