Display allowed tags in wordpress comments

February 10, 2009 · Print This Article

Do you know that your readers can use some HTML tags in the comments form? In order to make things easier for them, you should notify your readership about what HTML tags they can use in the comment form. Here’s an easy way to do it.

edit your comments.php file and paste the following code just above the comment form:

Allowed tags: <?php echo allowed_tags(); ?>

Your choice for site templates and wordpress themes


Got something to say?

You must be logged in to post a comment.