Post Pic

How to: Display allowed tags in comments

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.

To achieve this recipe, edit your comments.php file and paste the following code just above the comment form:

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

yes, this is as simple as that!

9 Responses

Feb 10 2009 10:35

Great tip ! I’ll do it today !

Feb 10 2009 20:23

Most themes have that code built in, but it is usually commented out..

Feb 10 2009 22:06

I’ve always wondered how to do this, and google never answered my question. Thanks a load.

Feb 11 2009 02:05

Great tips, thanks you ;)

Feb 11 2009 23:07

That was really easy. Thanks

Feb 19 2009 09:27

like this keep giving the advice but in the detail so that your dear readers can get knowledge and more information on the particular subject.

Jan 25 2010 05:36

Great tip!, thanks ;)

Trackbacks:

Leave a Comment

* Name, Email, Comment are Required