Whether on the page taxonomy.php to add comments?

Created the file taxonomy-poster_category.php to display posts of a specific taxonomy. How to this page add a comments form?
global $withcomments;
$withcomments = true;

so connect page comments.php but the form and the list of comments never appear.
July 8th 19 at 16:16
1 answer
July 8th 19 at 16:18
Standard methods are not enough. comments_template() displays the comments only if wp_main_query the variable $query->is_singular is true, to put it simply "to display the comments form only for pages and posts.

Find more questions by tags PHPWordPress