HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/MvAlphen/va-bo.nl/wwwroot/wp-content/themes/hattan/comments.php
<section id="comments">
<?php
if (!comments_open()) { // There are comments but comments are now closed
    echo '';
} else {

    if (have_comments()) {
        ?>
            <h3><?php comments_number( __('No Comments',EF1_THEME_NAME), '1 '.__('Comment',EF1_THEME_NAME), '% '.__('Comments',EF1_THEME_NAME)); ?> <?php printf('to %s', the_title('', '', false)); ?></h3>
        <?php
        $comments = get_comments(array(
            'post_id' => $post->ID
                )
        );
        ?>

            <ul id="comments-list">

            <?php
            wp_list_comments(array(
                'avatar_size' => 60
            ));
            ?>
            </ul>

            <nav id="pagination">
                <?php paginate_comments_links(); ?>
                <div class="clear"></div>
            </nav>

            <?php } ?>
    <?php
    $commenter = wp_get_current_commenter();
    comment_form(array(
        'id_form'=>'comment-form',
        'class_submit'=>'button-2',
        'comment_notes_before' => '',
        'comment_notes_after' => '',
        'comment_field' =>  '<textarea id="comment" name="comment" cols="45" rows="8" aria-required="true" placeholder="' . esc_attr(_x( 'Comment', EF1_THEME_NAME )) .'"></textarea><div class="clearfix"></div>',
        'fields' => apply_filters('comment_form_default_fields', array(
            'author' => '<input type="text" name="author" placeholder="' . __('Name', EF1_THEME_NAME) . '" value="' . esc_attr($commenter['comment_author']) . '"  id="author" class="style-input" />',
            'email' => '<input type="text" name="email" placeholder="' . __('Email', EF1_THEME_NAME) . '" value="' . esc_attr($commenter['comment_author_email']) . '"  id="email" class="space" />',
            'url' => '<input id="url" name="url" type="text"  placeholder="' . __('Site', EF1_THEME_NAME) . '" /><div class="clearfix"></div>',
                )
        )
            )
    );
    ?>
    <?php } ?>
</section>