diff --git a/src/comments.php b/src/comments.php
index 0f26954..c8972a8 100644
--- a/src/comments.php
+++ b/src/comments.php
@@ -18,7 +18,7 @@ if (post_password_required()) {
comment_status) : ?>
-
+
", "" ); ?>
@@ -28,7 +28,11 @@ if (post_password_required()) {
ID) .'">' . $current_user->display_name . '';
+ if(is_user_logged_in()) {
+ echo '' . $current_user->display_name . '';
+ }else{
+ _e('Anonymous', 'tainacan-theme');
+ }
?>
@@ -44,12 +48,30 @@ if (post_password_required()) {
ID) .'" class="font-weight-light">' . $current_user->display_name . '';
+ if(is_user_logged_in()) {
+ echo '' . $current_user->display_name . '';
+ }else{
+ _e('Anonymous', 'tainacan-theme');
+ }
?>
diff --git a/src/functions/single-functions.php b/src/functions/single-functions.php
index ba7a80c..d555fc8 100644
--- a/src/functions/single-functions.php
+++ b/src/functions/single-functions.php
@@ -31,14 +31,14 @@ function tainacan_Comments_Callback($comment, $args, $depth) {
- __('Reply'),
'depth' => $depth,
'max_depth' => $args['max_depth'],
'before' => '',
'after' => ''
)
- ));
+ );
edit_comment_link( __( 'Edit' ), '', '' );
?>