Question
i used this code for Limit Comment Length: add_filter( 'preprocess_comment', 'wpb_preprocess_comment' ); function wpb_preprocess_comment($comment) { if ( strlen( $comment['comment_content'] ) > 5000 ) { wp_die('Comment is too long. Please keep your comment ...
0
, 1 week 0 Answers 20 views

Question
I have a custom comment form and any one can add comments without creating an account. Now I want to set comment author image for each of the comment. I could not find any function or support for this as ...
0
, 2 weeks 0 Answers 31 views

Question
I cannot change HTML output of my comment form fields, but textarea works perfectly. function set_my_comment_title( $defaults ) { $defaults['comment_field'] = '<div class="form-group col-md-12"><textarea id="comment" name="comment" rows="3" class="form-control" placeholder="Text komentára"></textarea></div>'; $defaults['author'] = '<div class="form-group ...
0
, 1 month 0 Answers 46 views