WordPress.org

Ready to get started?Download WordPress

Forums

"custom comment types" won't work (1 post)

  1. pfefferle
    Member
    Posted 3 years ago #

    twentyten only supports the comment-types '', 'pingback' and 'trackback' any other type won't be displayed!

    rearranging the switch/cases should fix the problem:

    switch ( $comment->comment_type ) :
      case 'pingback'  :
      case 'trackback' :
        some code...
        break;
      case '' :
      default :
        some code...
        break;

Topic Closed

This topic has been closed to new replies.

About this Topic