How to make comments for custom post type best way


I made a company catalog using custom posts. So right now I can write comments to any company using default comment system but got 2 problems:

  1. comments from companies shown at frontend with comments from other posts
  2. comments from companies shown at backend comments list

I think about filter by post_type in [post_fields:protected] array and about creating other custom post type for company comments.

Which way is possible and better for future develompent?

Megos 2 months 2021-11-30T17:47:57-05:00 0 Answers 0 views 0

Leave an answer