How to show a message to a user?

You could use javascript if you wanted. So wherever the button click is checked, you could add something like this: <?php $message = “Your comment has been submitted”; echo “<script type=”text/javascript”>alert(‘$message’);</script>”; ?> That is if it is supposed to happen when they click the button – I might be misinterpreting the question.

edit comments in front end

If you want to edit comments in the front end. Use this For default edit comment link, <?php edit_comment_link(); ?> ( or ) <?php edit_comment_link(__(‘edit comment’), ‘<p>’, ‘</p>’); ?> Hook is, apply_filters() Calls ‘edit_comment_link‘ hook on the author email Let Me know Incase of any issues

Cannot display comment in page

I am not sure where you are using the function wp_list_comments but you should use it in the theme comments.php template file and call it using comments_template function. If you want to display comments anywhere else then you can use function get_comments

AddThis Plugin adding html comments in P tags

You put this function there: $(“#main”).each(function() { var text = $(this).text(); text = text.replace(“<p><!– AddThis Sharing Buttons above –></p>”, “”); $(this).text(text); }); Did it work? If not, why do you want to do that? You can go to the main plugin and replace this text..