HEX
Server: Apache
System: Linux iad1-shared-e1-26 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User: ricpug (13815490)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/ricpug/tecnomarketconsult.co_202106190822/wp-content/themes/ananke/comments.php
<?php
/**
 * The template for displaying Comments.
 *
 * The area of the page that contains comments and the comment form.
/*
 * If the current post is protected by a password and the visitor has not yet
 * entered the password we will return early without loading the comments.
 */
if ( post_password_required() )
    return;
?>

<?php if ( have_comments() ) : ?>
<div class="single-comment">
			<?php wp_list_comments('callback=ananke_theme_comment'); ?>
		<?php
			// Are there comments to navigate through?
			if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) :
		?>
			<nav class="navigation comment-navigation" role="navigation">		   
				<div class="nav-previous"><?php previous_comments_link( __( '&larr; Coment&aacute;rios Anteriores', 'ananke' ) ); ?></div>
				<div class="nav-next"><?php next_comments_link( __( 'Novos Coment&aacute;rios &rarr;', 'ananke' ) ); ?></div>
			</nav><!-- .comment-navigation -->
		<?php endif; // Check for comment navigation ?>

		<?php if ( ! comments_open() && get_comments_number() ) : ?>
			<p class="no-comments"><?php _e( 'Comment&aacute;rios encerrados.' , 'ananke' ); ?></p>
		<?php endif; ?>	
</div>		
<?php endif; ?>		

<div class="replyForm">
<?php
    if ( is_singular() ) wp_enqueue_script( "comment-reply" );
        $aria_req = ( $req ? " aria-required='true'" : '' );
        $comment_args = array(
                'id_form' => 'ajax-form',                                
                'title_reply'=> '',
                'fields' => apply_filters( 'comment_form_default_fields', array(
                    'author' => '<input id="author" name="author" id="name" type="text" value="" placeholder="'.__( 'Name*', 'ananke' ).'" />',
                    'email' => '<input value="" id="email" name="email" type="text" placeholder="'.__( 'Email*', 'ananke' ).'" />',                                                                           
                ) ),                                
                 'comment_field' => '<textarea name="comment"'.$aria_req.' id="comment" placeholder="'.__( 'Coment&aacute;rio*', 'ananke' ).'" ></textarea>',                                                   
                 'label_submit' => __( 'Enviar Coment&aacute;rio', 'ananke'),
                 'comment_notes_before' => '',
                 'comment_notes_after' => '',               
        )
    ?>
    <?php comment_form($comment_args); ?>
</div><!-- //LEAVE A COMMENT -->