Hide HTML tags and attributes

Sometimes WordPress developer facing a small problem to hide HTML tags and attributes which set under comment form as default WordPress system.

html-tags

Figure: html-tags-attributes in comment form

This is very simple trick to hide this option from your comment form but there have two ways.

Firstly, who doesn’t touch backhand code:

  • Go to your Dashbord
  • Click Appearance -> Editor (It opens the current Stylesheet(style.css) of your theme)
  • Paste the code bottom of the editing space
    .form-allowed-tags {display: none;}
  • Click Update File

Best way, if use your custom theme

  • Open your Style-sheet.
  • Paste the code at the bottom of your css file
    .form-allowed-tags {display: none;}
  • Update the file.

That’s all. You are done.

How is it ? Pretty Simple, Right ? Still if you have any confusion, you are feel free to make comments here. We like to hear from you and ready to solve your problem.

This post has already been read 2009 times!

Mehedi Hasan

Cool WordPress Developer having much agile experience to develop any kind of WordPress sites & plugins. Also good in troubleshooting, fixing & making any kind of tweaks for WP site.

More Posts

Mehedi Hasan

Cool WordPress Developer having much agile experience to develop any kind of WordPress sites & plugins. Also good in troubleshooting, fixing & making any kind of tweaks for WP site.

2 thoughts on “Hide HTML tags and attributes

  • November 10, 2014 at 9:13 pm
    Permalink

    Not bad to have this post where getting knowledge. Carry on Mehedi

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *