| Server IP : 119.59.104.26 / Your IP : 216.73.216.60 Web Server : Apache/2 System : Linux ns69.hostinglotus.net 4.18.0-553.141.2.el8_10.x86_64 #1 SMP Wed Jul 8 10:28:18 EDT 2026 x86_64 User : com12370 ( 1517) PHP Version : 7.2.34 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/com12370/.trash/files/wp-content.wFk3kz_syhg/themes/titan/ |
Upload File : |
<div id="comments">
<div class="comments-inner-wrap">
<?php if (post_password_required()) : ?>
<p><?php _e( 'Post is password protected. Enter the password to view any comments.', 'titan' ); ?></p>
</div>
</div>
<?php return; endif; ?>
<?php if (have_comments()) : ?>
<h3 id="comments-title" class="text-uppercase"><?php comments_number(); ?></h3>
<ul class="commentlist">
<?php wp_list_comments('type=comment&callback=pi_comment'); // Custom callback in functions.php ?>
</ul>
<div class="comment-navigation">
<div class="alignleft"><?php previous_comments_link() ?></div>
<div class="alignright"><?php next_comments_link() ?></div>
</div>
<?php endif; ?>
<?php if ( !comments_open() && ! is_page() && post_type_supports( get_post_type(), 'comments' ) ) : ?>
</div>
</div>
<?php else : ?>
<!-- LEAVER YOUR COMMENT -->
<?php
$commenter = wp_get_current_commenter();
$commenter['comment_author'] = $commenter['comment_author'] == '' ? '': $commenter['comment_author'];
$commenter['comment_author_email'] = $commenter['comment_author_email'] == '' ? '': $commenter['comment_author_email'];
$commenter['comment_author_url'] = $commenter['comment_author_url'] == '' ? '': $commenter['comment_author_url'];
$req = get_option( 'require_name_email' );
$aria_req = ( $req ? " aria-required='true'" : '' );
$sao = ( $req ? " *" : '' );
$comment_args = array(
'title_reply' => __( 'LEAVE A COMMENT', 'titan' ),
'fields' => apply_filters( 'comment_form_default_fields', array(
'author' => '<div class="form-item form-name"><input type="text" id="author" name="author" placeholder="'.__('Your name', 'titan').esc_attr($sao).'" tabindex="1" value="'.esc_attr($commenter['comment_author']).'" ' . $aria_req . ' /></div>',
'email' => '<div class="form-item form-email"><input type="text" placeholder="'.__('Your email', 'titan').esc_attr($sao).'" id="email" name="email" tabindex="2" value="'.esc_attr($commenter['comment_author_email']).'" ' . $aria_req . ' /></div>',
'url' => '<div class="form-item form-website"><input type="text" placeholder="'.__('Your webiste', 'titan').esc_attr($sao).'" name="url" id="url" tabindex="3" value="'.esc_attr($commenter['comment_author_email']).'" ' . $aria_req . ' /></div>' )),
'comment_field' => '<div class="form-item form-textarea"><textarea id="comment" placeholder="'.__('Your Message *', 'titan').'" name="comment" tabindex="4" class="tb-eff"></textarea></div>',
'comment_notes_after' => '',
'comment_notes_before' => '',
'logged_in_as' => '<div class="form-item form-login-logout">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>', 'titan' ), get_edit_user_link(), $user_identity, wp_logout_url( apply_filters( 'the_permalink', esc_url(get_permalink( $post->ID ) ) ) ) ) . '</div>'
);
?>
</div>
</div>
<?php
comment_form($comment_args, $post->ID);
?>
<!-- END / LEAVER YOUR COMMENT -->
<?php endif; ?>