Document theme behavior and format editor styles

This commit is contained in:
2026-07-26 22:08:55 +02:00
parent c5cff94d5a
commit bf41df9ad6
16 changed files with 97 additions and 19 deletions
+3 -1
View File
@@ -1,4 +1,5 @@
<?php
// Protected posts must not expose their discussion until WordPress grants access.
if ( post_password_required() ) { return; }
?>
<section id="comments" class="comments-area">
@@ -8,5 +9,6 @@ if ( post_password_required() ) { return; }
<?php the_comments_navigation(); ?>
<?php } ?>
<?php if ( ! comments_open() && get_comments_number() ) { ?><p><?php esc_html_e( 'Comments are closed.', 'c1024-2026' ); ?></p><?php } ?>
<?php comment_form(); ?>
<?php // WordPress provides the form so it respects discussion settings and logged-in state.
comment_form(); ?>
</section>