WordPress.org

Ready to get started?Download WordPress

Forums

Separating Comment Types (3 posts)

  1. thejoker101
    Member
    Posted 9 years ago #

    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.

  2. Michael Adams (mdawaffe)
    Member
    Posted 9 years ago #

    @Kafkaesqui - Sneaky.
    Why not just use $comment->comment_type though?

  3. Michael Adams (mdawaffe)
    Member
    Posted 9 years ago #

    'Kafkaesqui: performing PHP magic, and doing it with style' :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.