Title: Separating Comment Types
Last modified: August 18, 2016

---

# Separating Comment Types

 *  [thejoker101](https://wordpress.org/support/users/thejoker101/)
 * (@thejoker101)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/separating-comment-types/)
 * When i call comment_type() it echo’s out the comment type, but I just want to
   know what the type is instead of actually echoing it. Is there an easy way to
   do this?
    For reference, I need to know so I can change icon’s for trackbacks
   and comments.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Michael Adams (mdawaffe)](https://wordpress.org/support/users/mdawaffe/)
 * (@mdawaffe)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/separating-comment-types/#post-118497)
 * [@kafkaesqui](https://wordpress.org/support/users/kafkaesqui/) – Sneaky.
    Why
   not just use `$comment->comment_type` though?
 *  [Michael Adams (mdawaffe)](https://wordpress.org/support/users/mdawaffe/)
 * (@mdawaffe)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/separating-comment-types/#post-118500)
 * ‘Kafkaesqui: performing PHP magic, and doing it with _style_‘ 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Separating Comment Types’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Michael Adams (mdawaffe)](https://wordpress.org/support/users/mdawaffe/)
 * Last activity: [21 years, 6 months ago](https://wordpress.org/support/topic/separating-comment-types/#post-118500)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
