Insert image in comment reply

What you’re looking for could be a wp_editor() in comment form : wp_editor( $comment->comment_content, ‘content’, array( ‘media_buttons’ => true, ‘tinymce’ => false, ‘quicktags’ => $quicktags_settings ) );

How to add pagination to comments?

Put below code into your current theme’s comments.php file: <div class=”navigation”> <?php paginate_comments_links(); ?> </div> <ol class=”commentlist”> <?php wp_list_comments(); ?> </ol> <div class=”navigation”> <?php paginate_comments_links(); ?> </div> This code will display pagination as you expect. Don’t forgot to check the break comment to part with number of settings from Admin > Settings > Discussion Settings. … Read more

Query posts with more than 20 comments

WP_Query does not currently support querying by the comment_count field, but there is a proposed patch for this functionality. See Trac ticket #28399. Update: #28399 has been fixed and should land in version 4.9 In the meantime, here is a workaround based on information from this post which will alter the where clause of a … Read more

How to add consent checkbox in comment section

The ‘consent’ checkbox is already part of WP Core. See Settings, Discussion, for the “Show comments cookies opt-in checkbox”. Enable that, and your comments area will have a GDPR-type checkbox there. There are also other Privacy/GDPR related options in the latest WP. Look under Settings, Privacy. Also look under the Tools menu for the Export/Erase … Read more