Tag Info

New answers tagged

1

You can not enable comments in future posts. Those posts are not public and are not private, so they verify the conditional in line 61 of wp-comments-post.php file; that conditional is (WP 4.1.1): } elseif ( ! $status_obj->public && ! $status_obj->private ) { /** * Fires when a comment is attempted on a post in draft mode. * ...


1

From WordPress Version 4.1 (trac ticket #20446) it's now added to pass your own class as an argument of comment_form($args) using 'class_submit' array key: $args = array( 'class_submit' => 'btn btn-default' ); No need to do extra hard work. (Edited the Codex too) :)


2

This is possible using the comment_post action, and the GFAPI class which handles entries in WordPress. What you need to first is add using comment_form_default_fields a field which is a checkbox. function add_to_email_list_field($fields) { $fields['add-to-email'] = '<p class="comment-form-public"> <input id="addtoemail" ...


0

I am using Disqus and can anwser for this platform : 1) You have the option to save comments both on Disqus and locally on WordPress. 2) This way, if you want to switch to default comments, they will already be there. On the other side, you cal also import local comments to Disqus, if you were using the default comment system and want to switch to Disqus. ...


0

It looks like there are a number of plugins that can accomplish this: http://peadig.com/wordpress-plugins/facebook-comments/ http://aaroncollegeman.com/facebook-comments-for-wordpress/ Naturally, I can't really vouch for these plugins working well, but that is the case with any plugin. Make sure to take backups first and good luck!


0

Version #1 The following seems to work for the Twenty Fifteen theme: /** * Display the comment form via shortcode on singular pages * Remove the default comment form. * Hide the unwanted "Comments are closed" message with CSS. * * @see http://wordpress.stackexchange.com/a/177289/26350 */ add_shortcode( 'wpse_comment_form', function( $atts = array(), ...



Top 50 recent answers are included