Tag Info

New answers tagged

5

You shouldn't copy that file, precisely because it is too bulky. About half of it is implementation of submission form, which was entirely replaced with comment_form() function around that time. So the answer why was it deprecated is roughly: Newer code is more compact Markup belongs in theme For better and more relevant comments.php example look at ...


0

Check out the default comment-template.php file: wp-includes/comment-template.php You will need to replace the arguments: $defaults = array( 'fields' => apply_filters( 'comment_form_default_fields', $fields ), 'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) ...


1

Actually this is what you need to use. <?php echo get_comment_meta( $comment->comment_ID, 'rating', $rating ); ?> IDs are already stored in $comment array.


0

Here is exmaple code,You will change as per your requirement Put this in your HTML <INPUT class="input" type="text" name="vercode" value="" required> <img src="captcha.php" style="margin:3px 0px; width:110px; height:34px"> Create Captcha File captcha.php <?php session_start(); $text = ...


0

Use this SI CAPTCHA Anti-Spam plugin, may be helpful to you https://wordpress.org/plugins/si-captcha-for-wordpress/screenshots/



Top 50 recent answers are included