live-comment-preview doesn’t work
-
(Sorry for the multiple posts, but it doesn’t seem to like the code markup!)
I love the idea of this plugin, but, well, nothing happens when I install and activate it. I should say that nothing happens in my customized theme; it works if I switch to the WordPress Classic theme.
Obviously I’m doing something wrong. Here’s the relevant section of my comments.php file:
<?php if (comments_open()) : ?>
<form action=”https://www.kantor.com/blog/wp-comments-post.php” method=”post” id =”commentform”>
<h3>Weigh in</h3><p><small>Yer name:</small>
<input type=”text” name=”author” size=”21″ value=”<?php echo $comment_author; ?>” tabindex=”1″ /></p><p><small>Yer e-mail (so I can respond privately — never ever shared):</small>
<input type=”text” name=”email” id=”email” value=”<?php echo $comment_author_email; ?>” size=”40″ tabindex=”2″ /></p><p><small>Yer Web site (if you like):</small>
<input type=”text” name=”url” id=”url” value=”<?php echo $comment_author_url; ?>” size=”22″ tabindex=”3″ /></p><p><small>What you have to say (Be civil, or it might be removed; comments with linksmight be held for moderation, just so you know):</small>
<textarea name=”comment” cols=”50″ rows=”10″ tabindex=”4″></textarea><input name=”submit” type=”submit” id=”submit” tabindex=”5″ value=”Submit Comment” />
<input type=”hidden” name=”comment_post_ID” value=”<?php echo $id; ?>” />
</p>
<?php do_action(‘comment_form’, $post->ID); ?>
<?php live_preview(); ?>
<?php endif; ?>
‘</form>Any help you can give would be most appreciated — thanks!
Andrew
- The topic ‘live-comment-preview doesn’t work’ is closed to new replies.