From e1dc54463a95339669db956bb3b6a2869e01d145 Mon Sep 17 00:00:00 2001 From: M_Viper Date: Thu, 19 Mar 2026 23:52:34 +0100 Subject: [PATCH] Upload file comments.php via GUI --- Minecraft-Modern-Theme/comments.php | 158 ++++++++++++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 Minecraft-Modern-Theme/comments.php diff --git a/Minecraft-Modern-Theme/comments.php b/Minecraft-Modern-Theme/comments.php new file mode 100644 index 0000000..1623747 --- /dev/null +++ b/Minecraft-Modern-Theme/comments.php @@ -0,0 +1,158 @@ + + +
+ + + +

+ + ' . get_the_title() . '' + ); + ?> +

+ + + 1 && get_option('page_comments') ) : ?> + + + +
    + 'ol', + 'short_ping' => true, + 'avatar_size' => 48, + 'callback' => 'minecraft_modern_comment_template', + ) ); + ?> +
+ + + 1 && get_option('page_comments') ) : ?> + + + + + + ' ' . __('Hinterlasse einen Kommentar', 'minecraft-modern-theme') . '', + 'title_reply_to' => __('Antworten auf %s', 'minecraft-modern-theme'), + 'cancel_reply_link' => __('Abbrechen', 'minecraft-modern-theme'), + 'label_submit' => __('Kommentar absenden', 'minecraft-modern-theme'), + 'comment_notes_before' => '', + 'comment_notes_after' => '', + 'class_form' => 'comment-form', + 'class_submit' => 'submit btn-comment-submit', + ) ); + elseif ( ! is_user_logged_in() ) : + ?> +
+ + +
+ + +
+ + + < id="comment-" > +
+ +
+
+ 'comment-avatar') ); ?> +
+
+ + ' . get_comment_author($comment) . ''; + } else { + echo esc_html( get_comment_author($comment) ); + } + ?> + + + + + + + +
+ + comment_approved ) : ?> +
+ +
+ +
+ +
+ +
+ +
+ 'div-comment', + 'depth' => $depth, + 'max_depth' => $args['max_depth'], + 'before' => '
', + 'after' => '
', + ) ) ); + + edit_comment_link( ' ' . __('Bearbeiten', 'minecraft-modern-theme'), '' ); + ?> +
+ +
+ \ No newline at end of file