ID; } $categories = get_the_category($post_id); $separator = ' '; $output = ''; if($categories) { $output .= ''; foreach($categories as $category) { $output .= ''.esc_html( $category->cat_name ).''.$separator; } $output .=''; echo trim($output, $separator); } } endif; /** * Callback functions for comments * * @since SuperNews 1.0.0 * * @param $comment * @param $args * @param $depth * @return void * */ if ( !function_exists('supernews_commment_list') ) : function supernews_commment_list($comment, $args, $depth) { extract($args, EXTR_SKIP); if ('div' == $args['style']) { $tag = 'div'; $add_below = 'comment'; } else { $tag = 'li'; $add_below = 'div-comment'; } ?> < id="comment-">