How do I remove “You may use these HTML tags and attributes” in WordPress?

For those who do not understand what html is, or how to write it, the text which appears below the comments box in WordPress can be confusing. Personally I think it looks a little bit messy and I prefer to remove it.

The text reads as follows:

You may use these HTML tags and attributes: <a href=”” title=””> <abbr title=””> <acronym title=””> <b> <blockquote cite=””> <cite> <code> <del datetime=””> <em> <i> <q cite=””> <strike> <strong>

The easy way to remove it is to add a line in your .css file.

Look for:

#respond .form-allowed-tags {
 font-size: 12px;
 line-height: 18px;
}

Then add to it:

display:none;

So it reads:

#respond .form-allowed-tags {
 font-size: 12px;
 line-height: 18px;
 display:none;
}

All that has changed is that the text no longer appears.

If you want to change it via your WordPress installation. From your dashboard go to:

Appearance > Editor > style.css

Add the code, and remember to update.


Categories