-
Can you help and add the changes to my code please ?
<!– Check Authorize –>
<?php
if (!empty($_SERVER[‘SCRIPT_FILENAME’]) && ‘comments.php’ == basename($_SERVER[‘SCRIPT_FILENAME’]))
die (‘Please do not load this page directly. Thanks!’);
if (post_password_required()){
?> <p class=”nopassword”><?php _e(‘This post is password protected. Enter the password to view comments.’, ‘gdl_front_end’); ?></p><?php
return;
}
?>
<!– Comment List –>
<?php if ( have_comments() ) : ?>
<h3 id=”comments” class=”comment-title gdl-link-title gdl-title”>
<?php comments_number(__(‘No Comment’,’gdl_front_end’), __(‘One Comment’,’gdl_front_end’), __(‘% Comments’,’gdl_front_end’) );?>
</h3>-
<?php wp_list_comments(array(‘callback’ => ‘get_comment_list’)); ?>
<!– Comment Navigation –>
<?php if ( get_comment_pages_count() > 1 && get_option( ‘page_comments’ ) ) : ?>
<br>
<div class=”comments-navigation”>
<div class=”previous”> <?php previous_comments_link(__(‘Older Comments’,’gdl_front_end’)); ?> </div>
<div class=”next”> <?php next_comments_link(__(‘Newer Comments’,’gdl_front_end’)); ?> </div>
</div>
<?php endif; ?>
<?php endif; ?>
<!– Comment Form –>
<?php// Translator words
global $gdl_admin_translator;
if( $gdl_admin_translator == ‘enable’ ){
$translator_leave_reply = get_option(THEME_SHORT_NAME.’_translator_leave_reply’, ‘Leave a Reply’);
}else{
$translator_leave_reply = __(‘Leave a Reply’,’gdl_front_end’);
}$comment_form = array(
‘fields’ => apply_filters( ‘comment_form_default_fields’, array(
‘author’ => ‘<div class=”comment-form-author”>’ .
‘<input id=”author” name=”author” type=”text” value=”‘ .
esc_attr( $commenter[‘comment_author’] ) . ‘” size=”30″ />’ .
‘<label for=”author”>’ . __( ‘Name’, ‘gdl_front_end’ ) . ‘</label> ‘ .
( $req ? ‘<span class=”required”>*</span>’ : ” ) .
‘<div class=”clear”></div>’ .
‘</div><!– #form-section-author .form-section –>’,
’email’ => ‘<div class=”comment-form-email”>’ .
‘<input id=”email” name=”email” type=”text” value=”‘ . esc_attr( $commenter[‘comment_author_email’] ) . ‘” size=”30″ />’ .
‘<label for=”email”>’ . __( ‘Email’, ‘gdl_front_end’ ) . ‘</label> ‘ .
( $req ? ‘<span class=”required”>*</span>’ : ” ) .
‘<div class=”clear”></div>’ .
‘</div><!– #form-section-email .form-section –>’,
‘url’ => ‘<div class=”comment-form-url”>’ .
‘<input id=”url” name=”url” type=”text” value=”‘ . esc_attr( $commenter[‘comment_author_url’] ) . ‘” size=”30″ />’ .
‘<label for=”url”>’ . __( ‘Website’, ‘gdl_front_end’ ) . ‘</label>’ .
‘<div class=”clear”></div>’ .
‘</div><!– #form-section-url .form-section –>’ ) ),
‘comment_field’ => ‘<div class=”comment-form-comment”>’ .
‘<textarea id=”comment” name=”comment” aria-required=”true”></textarea>’ .
‘</div><!– #form-section-comment .form-section –>’,
‘comment_notes_before’ => ”,
‘comment_notes_after’ => ”,
‘title_reply’ => $translator_leave_reply,
‘label_submit’ => __( ‘Post Comment’, ‘gdl_front_end’ ),
);
comment_form($comment_form, $post->ID);
/*
$defaults = array( ‘fields’ => apply_filters( ‘comment_form_default_fields’, array(
‘author’ => ‘<p class=”comment-form-author”>’ .
‘<label for=”author”>’ . __( ‘Name’ ) . ‘</label> ‘ .
( $req ? ‘<span class=”required”>*</span>’ : ” ) .
‘<input id=”author” name=”author” type=”text” value=”‘ .
esc_attr( $commenter[‘comment_author’] ) . ‘” size=”30″ tabindex=”1″‘ . $aria_req . ‘ />’ .
‘</p><!– #form-section-author .form-section –>’,
’email’ => ‘<p class=”comment-form-email”>’ .
‘<label for=”email”>’ . __( ‘Email’ ) . ‘</label> ‘ .
( $req ? ‘<span class=”required”>*</span>’ : ” ) .
‘<input id=”email” name=”email” type=”text” value=”‘ . esc_attr( $commenter[‘comment_author_email’] ) . ‘” size=”30″ tabindex=”2″‘ . $aria_req . ‘ />’ .
‘</p><!– #form-section-email .form-section –>’,
‘url’ => ‘<p class=”comment-form-url”>’ .
‘<label for=”url”>’ . __( ‘Website’ ) . ‘</label>’ .
‘<input id=”url” name=”url” type=”text” value=”‘ . esc_attr( $commenter[‘comment_author_url’] ) . ‘” size=”30″ tabindex=”3″ />’ .
‘</p><!– #form-section-url .form-section –>’ ) ),
‘comment_field’ => ‘<p class=”comment-form-comment”>’ .
‘<label for=”comment”>’ . __( ‘Comment’ ) . ‘</label>’ .
‘<textarea id=”comment” name=”comment” cols=”45″ rows=”8″ tabindex=”4″ aria-required=”true”></textarea>’ .
‘</p><!– #form-section-comment .form-section –>’,
‘must_log_in’ => ‘<p class=”must-log-in”>’ . sprintf( __( ‘You must be logged in to post a comment.’ ), wp_login_url( apply_filters( ‘the_permalink’, get_permalink( $post_id ) ) ) ) . ‘</p>’,
‘logged_in_as’ => ‘<p class=”logged-in-as”>’ . sprintf( __( ‘Logged in as %s. Log out?</p>’ ), admin_url( ‘profile.php’ ), $user_identity, wp_logout_url( apply_filters( ‘the_permalink’, get_permalink( $post_id ) ) ) ),
‘comment_notes_before’ => ‘<p class=”comment-notes”>’ . __( ‘Your email is never published nor shared.’ ) . ( $req ? __( ‘ Required fields are marked <span class=”required”>*</span>’ ) : ” ) . ‘</p>’,
‘comment_notes_after’ => ‘<dl class=”form-allowed-tags”><dt>’ . __( ‘You may use these <abbr title=”HyperText Markup Language”>HTML</abbr> tags and attributes:’ ) . ‘</dt> <dd>' . allowed_tags() . '
</dd></dl>’,
‘id_form’ => ‘commentform’,
‘id_submit’ => ‘submit’,
‘title_reply’ => __( ‘Leave a Reply’ ),
‘title_reply_to’ => __( ‘Leave a Reply to %s’ ),
‘cancel_reply_link’ => __( ‘Cancel reply’ ),);
*/
?>Hi Ahmed,
Thank you so much for your amazing plugin. I can’t wait to see what the future holds for it! I am running Genesis and a childtheme. I found a comments.php file in the core Genesis files, but would rather not edit those. Can I create a comments.php file for the childtheme? If so,how do I do this? I can send you whatever you might need to help me. I bought my license the other day through codecanyon. Let me know what you need for verification. Thank you! MargoFor information: Several people have contacted me by email to see if I had managed to integrate “UserPro” to “Commentator”.
The answer is no
BUT
The Commentator author intend to make it compatible with UserPro in the next update. I hope it will happen soon 🙂
Translation: “Hi, the UserPro compatibility is for the next update! I’ll let you know as soon as it comes out!”
@ Support Please Give me your E-mail ID I’ll mail my comment file
thanksI was send an email to your mailbox please check.
E-mail Subject is
Integrating the comments to AVADA THEME.yes i Forward again what you mention above mail ID
E-mail Subject is
Integrating the comments to AVADA THEME.Thanks i hope it will very useful for the avada theme user
because i show the AVADA Support board many of people ask about this subject. when you done this insha allah i’ll update your solution in the AVADA support replay.Thanks
I send already please check your inbox or spam box thanks
whahooo!!! It’s Grade work Thanks Ahamed work on my site
If You want to Check Please visit Please visit
Awesome thing is here badges are visible Continue the Job
I update on my AVADA Support this Solution
Thanks
Can U Fix the comment in my site so it can work with User Pro ? This site use The 7 too !
i did follow the tutorial:
I got step 1, and maybe 2 😀
but with Step 3 & 4, i have no ideas how & where to change this :))
I use theme The 7 too so i hope that will be easy 4 u
Pls Pls Pls Pls tell me exactly where to change this, i’m not a coder so this is really frustrated somehow 🙂
Pls help me fast, thanks !
Email me your theme. Are you using the 7-theme? I can just send you my comments file right away 🙂
You must be logged in to reply to this topic.