comment_type != 'trackback' and $var->comment_type != 'pingback'); } /** * Strips out comments * * @since 1.0 * * @param object $var current comment * * @return boolean true if trackback/pingback */ function k2_strip_comment($var) { return ($var->comment_type == 'trackback' or $var->comment_type == 'pingback'); } /** * Displays current comment * * @since 1.0 * * @param object $comment Comment data object. * @param array $args * @param int $depth Depth of comment in reference to parents. */ function k2_comment_start_el($comment, $args = array(), $depth = 1) { $GLOBALS['comment'] = $comment; extract($args, EXTR_SKIP); ?>