Customize the new comment notifications sent to the post author after the comment is approved

Initially it seemed like a good idea to add comment_notification_text inside the pre_comment_on_post hook, but it didn’t go well. So I removed the pre_comment_on_post and just added to comment_notification_text a comment type check, which is related to the CPT for which the comments are. Now my code works fine for both comment categories (moderated and … Read more

comment awaiting moderation

No plug-in needed for this. Just open your theme files using the WordPress theme editor or via FTP. Look for the code that is being used to display the notice. It should be in the index.php file, maybe in a content.php file if your theme uses that, and in some cases it’s in your functions.php … Read more

Embed a page within WordPress dashboard?

function facebook_setup_function() { add_meta_box( ‘facebook_widget’, ‘Facebook Moderation Tools’, ‘facebook_widget_function’, ‘dashboard’, ‘normal’, ‘low’ ); } function facebook_widget_function() { include (‘facebook.php’); } add_action( ‘wp_dashboard_setup’, ‘facebook_setup_function’ ); add the above to your functions file and replace the include url with the php file you wish to include into your dashboard. Setting it up ; Use the facebook.php and … Read more

Get moderation notifications on one post only

I solved this issue in the end without using any plugin. The solution works because this is a multi-site install. The procedure is quite simple and painless. I created a ‘contact’ subsite on the subdomain ‘http://contact.example.com’ I moved the contact ‘page’ from the main site to the sub site. I enabled comments on this new … Read more

Comment Blacklist

I just did a quick test and the comment blacklist appears to be ignored for logged in administrators (possibly other roles). It does effectively block comments when logged in as a subscriber. I suspect that that is the behavior you are seeing.