Not receiving any e-mails after new comment
Not receiving any e-mails after new comment
Not receiving any e-mails after new comment
You can use facebook’s graph API to write a script that will import the comments from facebook into your site. Then Disqus can import your comments from the site. This is the api instructions for getting comments. Alternatively, it looks like someone has already written a plugin that does this though they charge.
You can use a function called add_post_type_support Hook into init after the post types have been created, and add support for comments. add_action(‘init’, ‘my_cpt_add_excerpt’, 100); function my_cpt_add_excerpt() { add_post_type_support(‘mycpt’, ‘excerpt’); } …where mycpt is the name of your custom post type. If you want to do it cleanly, you can always deregister the custom post … Read more
Finally I found a way and I am posting it here to address any further requests for such a workaround. You may add a customized version of comment_form_title function to your theme’s functions.php file and call it in your theme’s comments.php file. function my_comment_form_title( $linktoparent = true ){ global $comment; $noreplytext = __( ‘Leave a … Read more
There is no comment_ID until you are in the foreach loop. Try: $comments = get_comments($args); foreach($comments as $comment) : echo ‘<div id=”‘ . $comment->comment_ID . ‘”>Agent Name ‘ . $comment->comment_author . ‘Phone’ . $comment->comment_phone . ‘Reply’ . $comment->comment_content . ‘</div>’; echo get_comment_meta( $comment->comment_ID, ‘agents_condition’, true ); endforeach;
OK I think I figured this out… add_action( ‘init’, array( &$this, ‘no_comments’ ) ); function no_comments() { add_filter( ‘get_comments_number’, ‘__return_false’ ); } Removes the comment count and the comments themselves
You have just created the template. You still need to create the entire function of the form. It would be easier to just copy a comment.php and then edit it out with some CSS to get it to look like what you want it to. The link below is for a default comment.php that should … Read more
You can replace __( ‘No comments’, ‘textdomain’ ) with __( ‘<span>No</span> comments’, ‘textdomain’ ), there is nothing that stops you to do it. In general, HTML inside translatable strings are not recommended but if you really need the span tags, you have not other choice to add them server side. I strongly recommend to think … Read more
There are essentially two scenarios here: The behavior is technically correct, you interpret configuration incorrectly The behavior is technically incorrect, as caused by something Unfortunately there are a lot of moving part in processing the comment submissions. The part most relevant to moderation is in check_comment() function. It checks: if moderation is enabled if comment … Read more
Is it better to set social media sharer in entry-footer.php or comments.php in WordPress blog?