Tag Info

New answers tagged

0

Wordpress, by default don't enable comments on custom post types, and once you have added support for comments, you still get the following message: Comments are closed You have to basically manually visit each custom post and enable comments in the post editor screen. There are however a workaround to enable comments by default in bulk. You can use the ...


0

All you need is to simply check if the entered name or email matched any admin accounts before the comment is saved. function restrict_admin_names() { if ( !is_user_logged_in() ) { $name = $_POST['author']; // Get Submitted Name $email = $_POST['email']; // Get Submitted Email $admins = get_super_admins(); // Get an array of ...


0

I think that the only way is moderate your comments or require user registration. Another solution could be install jetpack and let your users use their wordpress.com username (this can avoid registration in many cases). Another Trick that you can use to avoid spambot lets comment on old posts is close the comments about a post after n days



Top 50 recent answers are included