Displays a preview of the user's comment as they type it.
First, check your theme's comments.php file. It must contain the code
<?php comment_form(); ?>
do_action('comment_form', $post->ID); ?>. If it doesn't, you will need
to add it in.
Second, if the comment form fields do not have the proper id values (same ones as the default WordPress theme), the comment preview will not work.
Yes, you can add the code <?php live_preview(); ?> in comments.php where you want the preview to be show.
Most likely because your theme does not use the standard comment HTML used by the WordPress default theme. Comments should be wrapped in
Yes, simply create a file called comment-preview.php in your theme folder and insert the strings COMMENT_CONTENT, COMMENT_AUTHOR, and AVATAR_URL where you would like the respective content to show up.
Requires: 1.5 or higher
Compatible up to: 4.2.9
Last Updated: 10 months ago
Active Installs: 1,000+
Got something to say? Need help?