Title: Comments PLugin Issue
Last modified: August 18, 2016

---

# Comments PLugin Issue

 *  Resolved [chuckie88](https://wordpress.org/support/users/chuckie88/)
 * (@chuckie88)
 * [19 years ago](https://wordpress.org/support/topic/comments-plugin-issue/)
 * I am using a review site plugin, this code is added to comments.php to show the
   review fields:
 * `<?php echo dgrs_get_rating_fields(); ?>`
 * However I do not want this review code to show on pages, only on posts, but I
   do want comments on pages.
 * How can I get the review code only to show on posts?
 * I tried this in my comments.php and nothing showed up then:
 *     ```
       <?php if (is_category()) {
       echo dgrs_get_rating_fields();
       }
       ?>
       ```
   
 * Any ideas?
 * Thanks.

Viewing 1 replies (of 1 total)

 *  Thread Starter [chuckie88](https://wordpress.org/support/users/chuckie88/)
 * (@chuckie88)
 * [19 years ago](https://wordpress.org/support/topic/comments-plugin-issue/#post-567580)
 * Any ideas anyone?
 * Thanks…

Viewing 1 replies (of 1 total)

The topic ‘Comments PLugin Issue’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [chuckie88](https://wordpress.org/support/users/chuckie88/)
 * Last activity: [19 years ago](https://wordpress.org/support/topic/comments-plugin-issue/#post-567580)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
