Pre- Approved Comment Capability

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

How add custom text under comment form

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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)