Tag Info

New answers tagged

0

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( ...


0

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 ...


0

I noticed that in the database comment_status for the posts were closed. This was because I published post via json rest api and by default the comments status were closed.... .



Top 50 recent answers are included