ashalatha
Forum Replies Created
-
Forum: Plugins
In reply to: [Decent Comments] How to change settings for decent comments plugin<?php else :
if ( ! comments_open() ) :
?>
<p class=”nocomments”><?php _e(“Comments are closed”, ‘thevoux’); ?></p>
<?php endif; // end ! comments_open() ?><?php endif; // end have_comments() ?>
<?php
// Comment Form
$commenter = wp_get_current_commenter();
$req = get_option( ‘require_name_email’ );
$aria_req = ( $req ? ‘ aria-required=”true” data-required=”true”‘ : ” );$defaults = array( ‘fields’ => apply_filters( ‘comment_form_default_fields’, array(
‘author’ => ‘<div class=”row”><div class=”small-12 medium-6 columns”><input id=”author” name=”author” type=”text” value=”‘ . esc_attr( $commenter[‘comment_author’] ) . ‘” size=”30″‘ . $aria_req . ‘ placeholder=”‘ . __( ‘Name’, ‘thevoux’ ) . ‘”/></div>’,
’email’ => ‘<div class=”small-12 medium-6 columns”><input id=”email” name=”email” type=”text” value=”‘ . esc_attr( $commenter[‘comment_author_email’] ) . ‘” size=”30″‘ . $aria_req . ‘ placeholder=”‘ . __( ‘Email’, ‘thevoux’ ) . ‘” /></div>’,
‘url’ => ‘<div class=”small-12 columns”><input name=”url” size=”30″ id=”url” value=”‘ . esc_attr( $commenter[‘comment_author_url’] ) . ‘” type=”text” placeholder=”‘ . __( ‘Website’, ‘thevoux’ ) . ‘”/></div></div>’ ) ),
‘comment_field’ => ‘<div class=”row”><div class=”small-12 columns”><textarea name=”comment” id=”comment”‘ . $aria_req . ‘ rows=”10″ cols=”58″ placeholder=”‘ . __( ‘Your Comment’, ‘thevoux’ ) . ‘”></textarea></div></div>’,
‘must_log_in’ => ‘<p class=”must-log-in”>’ . sprintf( __( ‘You must be logged in to post a comment.’, ‘thevoux’ ), wp_login_url( apply_filters( ‘the_permalink’, get_permalink( ) ) ) ) . ‘</p>’,
‘logged_in_as’ => ‘<p class=”logged-in-as”>’ . sprintf( __( ‘Logged in as %2$s. Log out?‘, ‘thevoux’ ), admin_url( ‘profile.php’ ), $user_identity, wp_logout_url( apply_filters( ‘the_permalink’, get_permalink( ) ) ) ) . ‘</p>’,
‘comment_notes_before’ => ‘<p class=”comment-notes”>’ . __( ‘Your email address will not be published.’, ‘thevoux’ ) . ‘</p>’,
‘comment_notes_after’ => ‘<p class=”form-allowed-tags”>’ . sprintf( __( ‘You may use these <abbr title=”HyperText Markup Language”>HTML</abbr> tags and attributes: %s’, ‘thevoux’ ), ‘' . allowed_tags() . '‘ ) . ‘</p>’,
‘id_form’ => ‘form-comment’,
‘id_submit’ => ‘submit’,
‘title_reply’ => __( ‘Leave a Reply’, ‘thevoux’ ),
‘title_reply_to’ => __( ‘Leave a Reply to %s’, ‘thevoux’ ),
‘cancel_reply_link’ => __( ‘Cancel reply’, ‘thevoux’ ),
‘label_submit’ => __( ‘Submit Comment’, ‘thevoux’ ),
);
comment_form($defaults);
?>These is the code for comment section when i click on submit comment button it is redirecting to comment_post page how can i change that option can anyone solve this
Can anyone help me this I am not getting what is that exact issue.
This email address does not belong to the same domain as the site.
This means that where we have hosted the domain that email id we need to mention in from field or else what
Forum: Fixing WordPress
In reply to: Not displaying category post imagesAny help is appreciated and thank you