not working in comments
You are using the wrong code. Use HTML Entities
You are using the wrong code. Use HTML Entities
Had this problem and wasted SO many hours, until I read someone else’s post explaining that in most themes the comment UI only shows up on the INDIVIDUAL blog post page, ie, the page that loads when you click on the title of the post, NOT on the landing page for the blog posts. Don’t … Read more
I would take a look at pre_comment_approved (https://codex.wordpress.org/Plugin_API/Filter_Reference/pre_comment_approved)
Check WordPress Admin and find Settings Menu. On clicking it you will find Discussion submenu. Check the Image below for reference 🙂 By adding custom css you can make it more beautiful
How to post one comment for all the translated posts
Migrate comments and likes wordpress.com to selfhosted site
Just from the top of my head (untested), would it be an idea to use clean_post_cache after the comment is deleted ?
I wrote the code for three first comments to be moderated, if someone interested. Code below, and to be added to functions.php add_filter(‘pre_comment_approved’, ‘moderate_commentator’, 10, 2); function moderate_commentator( $approved, $commentdata ){ $args = array( ‘user_id’ => $commentdata[‘user_ID’], //get user_ID of the commnet author ‘status’ => ‘approve’, //approved comments only ‘count’ => true //return only the … Read more
Keep comment author’s name on their comment even when their account is deleted
You can modify the comment form. WordPress provides various hooks. See comment_form(). Actions comment_form_comments_closed comment_form_before comment_form_must_log_in_after comment_form_top comment_form_logged_in_after comment_form_before_fields comment_form_after_fields comment_form comment_form_after Filters comment_form_default_fields the_permalink comment_form_defaults comment_form_logged_in comment_form_fields comment_form_field_comment comment_form_field_{$name} comment_form_submit_button comment_form_submit_field