diff --git a/functions.php b/functions.php
index 515a348..a93b5e1 100644
--- a/functions.php
+++ b/functions.php
@@ -19,7 +19,6 @@ $roots_includes = array(
'lib/titles.php', // Page titles
'lib/nav.php', // Custom nav modifications
'lib/gallery.php', // Custom [gallery] modifications
- 'lib/comments.php', // Custom comments modifications
'lib/scripts.php', // Scripts and stylesheets
'lib/extras.php', // Custom functions
);
diff --git a/lib/comments.php b/lib/comments.php
deleted file mode 100644
index afe1f11..0000000
--- a/lib/comments.php
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
>
- ';
- }
-
- function start_el(&$output, $comment, $depth = 0, $args = array(), $id = 0) {
- $depth++;
- $GLOBALS['comment_depth'] = $depth;
- $GLOBALS['comment'] = $comment;
-
- if (!empty($args['callback'])) {
- call_user_func($args['callback'], $comment, $args, $depth);
- return;
- }
-
- extract($args, EXTR_SKIP); ?>
-
- -
- echo "
\n";
- }
-}
-
-function roots_get_avatar($avatar, $type) {
- if (!is_object($type)) { return $avatar; }
-
- $avatar = str_replace("class='avatar", "class='avatar pull-left media-object", $avatar);
- return $avatar;
-}
-add_filter('get_avatar', 'roots_get_avatar', 10, 2);
diff --git a/lib/init.php b/lib/init.php
index d70a899..a2ba3b1 100644
--- a/lib/init.php
+++ b/lib/init.php
@@ -25,7 +25,7 @@ function roots_setup() {
// Add HTML5 markup for captions
// http://codex.wordpress.org/Function_Reference/add_theme_support#HTML5
- add_theme_support('html5', array('caption'));
+ add_theme_support('html5', array('caption', 'comment-form', 'comment-list'));
// Tell the TinyMCE editor to use a custom stylesheet
add_editor_style('/assets/css/editor-style.css');
diff --git a/templates/comment.php b/templates/comment.php
deleted file mode 100644
index 5a0ed55..0000000
--- a/templates/comment.php
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
- comment_approved == '0') : ?>
-
-
-
-
-
-
- $depth, 'max_depth' => $args['max_depth']))); ?>
diff --git a/templates/comments.php b/templates/comments.php
index 84eb59b..46e996b 100644
--- a/templates/comments.php
+++ b/templates/comments.php
@@ -4,12 +4,12 @@
}
?>
-
' . get_the_title() . ''); ?>
-- new Roots_Walker_Comment)); ?> +
-
-
-
-
+
-
+ 'ol', 'short_ping' => true)); ?>
1 && get_option('page_comments')) : ?> @@ -24,54 +24,13 @@ + - -