Document theme behavior and format editor styles
This commit is contained in:
+3
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user