wpvidZ

Learn WordPress With Video Tutorials

  • Blog
  • Browse
    • Backup & Restore
    • WordPress Localhost
    • WordPress Hosting
    • WordPress themes
    • Version Updates
    • Plugin Tips
    • Security
    • Tutorials
    • WordPress SEO
    • WP Miscellaneous
    • Sitemap
  • WP 5+ Tutorial
  • Search
wpvidZ Blog Tutorials Removing “You may use these HTML tags and attributes”

Tutorials

Removing “You may use these HTML tags and attributes”

Last updated on February 18, 2017
Posted on July 31, 2010

How to remove “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> ” in the comment box above “Post Comment” button of Twenty ten wordpress 3.

This tutorial is going to guide you how to get rid of the html code under the message box in twenty ten’s comment template. I did not edit or delete the code from wordpress 3 core files, but only hide it with the css code, because it works fine.

The codes that we will remove.
  • Is my site loading fast? I use this shared hosting
  • Try my theme >

So here are the steps:
1. Login to your dashboard, go to Appearance/Editor and then look for stylesheet file, which is style.css.

style.css file is the red highlighted.

2. Open up, copy all the codes to a html editor and look for line 1081, this code should be there:

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

Under the: line-height: 18px; add this code:
display:none;
so the whole code will look like the following image:

The result code after you added "display:none"

3. Select all the code, paste back in to style.css. Do not forget to click “Update File”.

4. Your comment template should be clean by now.

Video Tutorial:

and html tags theme twentyten

Latest Posts

  • Twenty Nineteen Theme Full Tutorial – Creating a Website
  • Uninstall W3 Total Cache Plugin – Incredibly Easy!
  • Create WordPress Website 2018 on SiteGround Genesis
  • WordPress Noopener Noreferrer Rel Attribute Quick Fix
  • WordPress CDN Setup with MaxCDN and W3 Total Cache Plugin
  • Twenty Seventeen One Page Parallax Scrolling Website Style
  • How To Add Google Map in WordPress Contact Page
  • WordPress 4.7 Justify Text and Underline
  • Twenty Seventeen Footer “Proudly Powered By WordPress” Text
  • How To Add YouTube Subscribe Button To WordPress Website
← Make Summary Post In WordPress Blog Homepage
→ Remove “Just Another WordPress Site”

Comments

  1. Cascd Morris says

    August 14, 2010 at 10:07 am

    Hi Kimi. this tutorial is not working on my blog. Any other way to do this?
    And one more thing, how did you insert ‘Notify me of followup comments via e-mail’ above submit button?
    thanks..

    • Kimi says

      August 15, 2010 at 9:21 am

      @Cascd Morris, Hi there,

      I have checked your site and it seemed to work? or you mean another site?

      The notify me for comment i use subscribe to comment plugin.

      Hope it helps.

      • Cascd Morris says

        August 15, 2010 at 3:10 pm

        @Kimi, thank you so much for the tutorial. its work actually after more than 5 minutes i remove the code..=)
        And about the plugin, can you please give me the link? i have used the plugins but it place under my submit button…
        Sorry for my English..=)

        • Kimi says

          August 16, 2010 at 8:10 am

          @Cascd Morris, Sure 🙂

          Here is the link: http://txfx.net/wordpress-plugins/subscribe-to-comments/

          Or you can type subscribe to comment in plugins search box, it’s created by Mark Jaquith.

          Good luck 🙂

    • Sean Mullins says

      March 7, 2011 at 2:44 am

      Hi

      This didn’t work for me so I opened the following file in dreamweaver:

      wp-include/comment-template.php

      Went to line 1537

      Changed it from this:

      ‘comment_notes_after’ => ” . sprintf( __( ‘You may use these HTML tags and attributes: %s’ ), ‘ ' . allowed_tags() . '‘ ) . ”,
      to this:

      ‘comment_notes_after’ => ” . sprintf( __( ” ), ‘ ' . allowed_tags() . '‘ ) . ”,

      Also, on line 1575 you can add a class to change the style of the ‘post comment’ button so my code now looks like this:

      <input name="submit" type="submit" class="input-btn" id="” value=”” />

      You simple add the class to the style.css.

      Really hopes that helps some people!

      • Thomas Vanhoutte says

        February 28, 2012 at 9:48 pm

        Thanks a bunch!
        I also removed the PHP code instead of the CSS code as stated in the article.

  2. Daniel says

    August 19, 2010 at 1:18 pm

    Thank you so much! Been looking for this for hours. Awesome!

  3. Trigun says

    August 21, 2010 at 1:38 am

    Hi, This tutorial works fine. However it only removes it on display. If you look on the view source of the page, the code is still there. Is there a way to remove it for both display and code?

    Thanks in advance…

    • Kimi says

      August 21, 2010 at 7:04 am

      @Trigun,

      Yes, you can remove the code. It is in wp-includes folder, and then comments-template.php file and remove this line (see yellow highlighted image)

      remove these line of codes

  4. Caroline says

    August 26, 2010 at 7:16 pm

    Hi Kimi – I’m using 2010 Weaver Theme so I’m not sure if this is the same process. Is there a simpler way to do this for someone who has no html experience and just learning WPress?
    Thank You

    • Kimi says

      August 26, 2010 at 8:39 pm

      @Caroline, Hello there

      I have checked your site, and the tutorial above works with twenty ten.

      For your site, you can add this code in “2010style.css” instead of style.css file. The method is still the same as above tutorial.

      Code: #respond .form-allowed-tags {display:none}

      Just copy and pasted the above highlighted code in the very bottom of “2010style.css” file from your dashboard and click “update file” refresh your blog it will show.

      Cleaning browser cache might help in case it won’t show the result.

      Let me know if helps.

  5. Caroline says

    August 27, 2010 at 1:33 pm

    Hi Kimi – thank you so much for this help – all done! I really do appreciate it. Your explanation was very simple. I am now following your RSS feeds and I will learn a lot from you I’m sure. Thanks again.

    • Kimi says

      August 27, 2010 at 3:19 pm

      @Caroline, You’re most welcome!

      I have checked your site, and it works, very nice feeling to know the post is useful Caroline!

      Best regards.

  6. itbdw.tk says

    September 22, 2010 at 3:08 pm

    Hi Kimi
    Thank you so much for this help !
    I really appreciate it.
    Your way was very simple.
    Thanks again.

    welcome to my site.
    A boy from China.

    • Kimi says

      September 22, 2010 at 7:37 pm

      You’re welcome!

  7. Hidden object says

    September 26, 2010 at 1:55 pm

    Hi Kimi.the same problem with me this tutorial is not working on my blog. Any other way to do this?

    • Kimi says

      September 26, 2010 at 3:25 pm

      Hi there,

      Any link to your site? because the URL you have pointed to blogspot and not using TwentyTen.

  8. Mark says

    October 19, 2010 at 11:32 am

    Thanks for your help regarding this subject. Your advise worked at the different theme as well.

    • Kimi says

      October 19, 2010 at 11:49 am

      You’re most welcome Mark, glad it worked.

      Thanks for commenting.

  9. Jennifer says

    November 12, 2010 at 5:44 am

    Thank you so much for this info. I searched in numerous files for this but couldn’t find it. Your helpful post is SUPER appreciated!

    • Kimi says

      November 12, 2010 at 6:07 am

      Hello Jennifer!

      You’re most welcome, and i am so happy that you found the post was useful!

      Thank you for your nice words.

  10. jhon brian says

    November 17, 2010 at 10:11 am

    Possibly the top blog that I read this year

  11. Justin says

    December 1, 2010 at 11:41 am

    I have hidden the “you may use html blah blah blah” from the website (thanks) and have removed the line 1539 from the wp contents……comments template but still get the “you may use html” when ppl are linking direct pages back to their facebook profiles as i have a fan page. any thoughts whats missing ? i am using the twenty ten theme as well. Thanks for any help! J

    • Kimi says

      December 2, 2010 at 6:46 am

      Hi Justin,

      I guess i have no idea with facebook profiles, never happened to me, sorry.

  12. David says

    December 2, 2010 at 5:35 am

    Thanks. This may reduce the spam comments stopping bots to fetch the website by that content. Good stuff here.

  13. Minette says

    December 6, 2010 at 2:29 am

    I followed your instructions and it didn’t work for my website. I was able to make it work the last time I did this. I don’t know what happened. Please help.

    Thanks in advance,
    Minette

    • Kimi says

      December 6, 2010 at 5:55 am

      Minette,

      I have just checked your site, the “you may use..” text is gone.

      Try to clean your browser’s cache.

      I hope this helps.

  14. Gulam Ali says

    December 16, 2010 at 2:28 am

    Thanks for the effort you took to expand upon this post so thoroughly.
    Why valid html code is important to your web site’s search engine optimization efforts and consequent high rankings! Such invalid html codes… A single missing bracket in your html code can be the cause your web page cannot be found in search engines… Providentially, there are free services that allow you to check and fix the validity of your html codes

  15. claudia says

    January 3, 2011 at 2:38 pm

    worked like a charm. thanks for that!

    • Kimi says

      January 4, 2011 at 9:58 am

      Claudia,

      Most welcome! Happy to hear it worked for you.

      Kind regards,

      Kimi.

  16. George says

    January 8, 2011 at 5:38 pm

    can’t find the line 1081 contact me on email please how can i remove it

  17. Connie says

    February 11, 2011 at 5:02 am

    Hello I was wondering if I can do this same type of change for the theme Blue Taste 1.3 by Jabox. I get that same You may use these HTML tags and attributes: <a> <abbr> <acronym> <b> <blockquote> <cite> <code> <del> <em> <i> <q> <strike> <strong> in the comment box above Post Comment button. I really wanna get rid of it

    • Kimi says

      February 11, 2011 at 7:31 am

      Hi Connie!

      Please try to add this code in style.css

      .form-allowed-tags{display:none;}

      I hope that helps

      • Connie says

        February 11, 2011 at 5:57 pm

        Nice you are a lifesaver. Thank you so much

        • Kimi says

          February 14, 2011 at 7:49 am

          Most welcome, Connie!

      • connie says

        February 22, 2011 at 6:30 pm

        I have a question at the top of my post I have the WWSGD plugin and when you click on the RSS feed link it directs you to a weird page how can I put in my RSS FEED link?

        • Kimi says

          February 24, 2011 at 9:11 am

          Hi connie,

          That weird page is your feedburner feed account, it is what the most blog want, because by doing this, you will allow people to subscribe per email.
          If you want to change that weird page to your normal feed page, then do not redirect that icon to your feedburner feed.

          I hope this helps.

  18. Justin says

    February 14, 2011 at 4:36 am

    Thanks for this information it worked perfectly. I copied and pasted
    #respond .form-allowed-tags {display:none} at the very bottom of my ( style.css) and it removed the words. Thank You!!!

  19. Dookon says

    March 11, 2011 at 12:55 pm

    Thanks a million, I’ve been spending almost a week to figure this out. Now it looks much cleaner than before!

  20. bruce says

    April 5, 2011 at 2:34 pm

    my sytle.css looks nothing like the one in this example and the comment-template.php doesn’t have the same structure as the example above. I’m using the wordpress v3.0 and arras theme.

    It’s starting to get on my lar lars now!

    Any help would be great.

    • Kimi says

      April 5, 2011 at 9:19 pm

      Hey Bruce,

      I am not familiar with arrass theme, nor ever used it.

      I suggest you to ask the theme creator, Arrass is very popular theme, I am nearly sure, it has a support forum or something similar..

      Nice blog you have by the way 🙂

      Thanks

    • Reny says

      April 10, 2011 at 8:03 pm

      Just add this code to you style.css file anywhere : )

      #respond .form-allowed-tags {display:none;}

      It’s worked for me right away : )
      Good luck!

  21. Udeshika says

    May 3, 2011 at 5:35 am

    Thanks, I could remove some HTML tags after reading this article

  22. Victoria says

    May 10, 2011 at 9:16 pm

    The truth is that I’m afraid to do what you say, you’re sure to do all this not unconfigure anything? Sorry! is not wary! But need to know how sure you are, because I do not understand this thing!
    I have no template Twenty Ten, mine is called “Coraline”, and has the same problem, as well as the template Evolve, among many others, every blog I see, has this error.

    • Kimi says

      May 11, 2011 at 8:56 pm

      Hi Victoria,

      This tutorial works with Twenty Ten only, unless your theme has the exact same codes. If you use another themes, I suggest you to ask this matter to the theme support or developer.

      Good luck.

  23. Jane says

    June 1, 2011 at 4:41 pm

    I will try this tutorial in my site minimartjobs.com/ . I hope this works! Thank you for sharing this information!

  24. Jessica says

    June 6, 2011 at 5:56 pm

    I do not have an area on my stylesheet with #respond or .form-allowed-tags…
    The best I can find is an area with #commentform

    I have a 2008 Metala Theme. Can you help me?

    • Kimi says

      June 6, 2011 at 9:23 pm

      Hey Jessica!

      Looks like it has been fixed! Love your blog, as I am a mom myself 🙂

      Good luck with your blog

      Kind regards,

      Kimi.

  25. Rahnaj says

    June 24, 2011 at 11:32 am

    Is there some methods to remove html from edit themes?

  26. lei says

    June 27, 2011 at 9:18 am

    thanks! it was very useful!! ur such a genius!!

  27. ssk says

    July 15, 2011 at 11:35 am

    Is there some methods to remove html from edit themes?

  28. elman says

    August 17, 2011 at 3:28 am

    Thanks for your info. Your blog is verygood.

  29. sohman says

    August 21, 2011 at 3:51 am

    Thanks .. Creativity in the commentary

  30. Annemarie Robbertse says

    September 21, 2011 at 4:35 pm

    Hello all – I’m having the same problem as you are, but I cannot find the line you are referring to (line1081) – I’m using WordPress.co.za, Theme Suffusion. Please help? This is ‘n client’s website!!!

    Thanks!

    Annemarie Robbertse

  31. Annemarie says

    September 21, 2011 at 4:43 pm

    My previous comment came back, so I’m resending?

    Hello all – I’m having the same problem as you are, but I cannot find the line you are referring to (line1081) – I’m using http://www.wordpress.co.za, Theme Suffusion. Please help? This is ‘n client’s website!!!

    Thanks!

    Annemarie Robbertse

  32. robert says

    September 26, 2011 at 12:38 pm

    thank you very much for this.
    could you possibly explain (as a beginner to wordpress that i am) why the developers of twentyten do not add this line of code. I am asking this question to better understand the whole process; not because i have a sarcastic streak.
    again thank you for saving me my sanity!
    robert

  33. jolin chen says

    November 9, 2011 at 1:31 pm

    cool post! very helpful… thanks for the great worrk.

  34. Jessica says

    November 9, 2011 at 1:33 pm

    Hi Kimi
    Thank you so much for this help !
    I really appreciate it.
    I must interested more in these css files
    It looks like i can change many things there
    Ugh…it is so many things to learn

  35. jack says

    November 16, 2011 at 5:45 am

    thanks for sharing,really very good

  36. Eric says

    December 27, 2011 at 6:11 pm

    Worked like a charm! Thank you!

  37. harshkumar says

    December 30, 2011 at 1:22 am

    i have post a wrong comment in wikipedia an now i want to remove this post from this site how can i remove my post plssss help.

  38. Mind says

    January 3, 2012 at 3:39 pm

    Thank you so much!
    I didn’t waste too much time. thanks to this post.

  39. mauro says

    January 30, 2012 at 1:38 am

    Its really annoying, I’m just upset with this shi* The solution for me is to hide the comment box. Using WordPress 3.2.1 + Thematic, 3 different browsers (no cache problem), I’d try all the solutions in this post more the solution from thematic forum. I change style.css in all possible themes in twentyten, twentyeleven, thematic, child theme, etc. Checking everything for hours. It was everything ok months ago, but I accepted a WordPress update and the “form-allowed-tags” is back.

  40. ojauy says

    February 6, 2012 at 12:48 am

    Thank you so much for this info great blog. I searched in numerous files for this but couldn’t find it. Your helpful post is SUPER appreciated!

  41. Randall says

    February 6, 2012 at 3:16 am

    Thanks a bunch. I searched the web and tried various other methods but your method worked easily.

  42. britain says

    February 14, 2012 at 11:41 am

    No, Google does not like this code, it will block your SEO if you use it.

  43. Neena says

    February 16, 2012 at 10:32 pm

    Hi…. I have the CUDAZI theme and I don’t see anything in my style.css, can anybody help me, please? I have added code to remove the “posted on” “by” “posted in” in categories in my style.css, but nothing happens, seems like it’s not actually using the .css, what can I do?

    • Kimi says

      February 17, 2012 at 6:23 am

      Hi Neena,

      If you don’t seem to have css editor, do you blog in wordpress.com? If yes, please see this post to see the difference: https://www.wpvidz.com/how-much-does-wordpress-cost/

      If in wordpress.org, you should be able to access the css style of the theme, which is in the CUDAZI theme folder, and called style.css, or inside your dashboard, and find “Appearance” and then “Editor”.

      Kimi

      • Neena says

        February 17, 2012 at 3:37 pm

        Thank you Kimi, you are a GODDESS. I now understand, will delete the things I dont want in my .php files, those one I can see…

  44. Ellisa says

    February 27, 2012 at 8:43 am

    Thanks very much,Kimi! I am really use it in my blog site! Can’t links in the comment box is a headache to many people! Haha.

  45. Carla says

    March 6, 2012 at 10:44 pm

    Thanks so much for this! So easy!

  46. John says

    April 5, 2012 at 11:15 am

    Brilliant article thanks! Seems to work perfectly well with the latest versions of wordpress as well (3.3)
    Made the code a lot cleaner as mentioned and seems to have made life easier when trying to implement the comments form into side areas ect. (Had a nightmare with previous use of the normal code)

  47. Omar says

    April 24, 2012 at 8:44 pm

    Excelent…¡¡¡ Thanks for the tip. Its works good.

  48. Lulu Kemaludin says

    May 16, 2012 at 12:03 am

    You can generally use CSS to not display things like that. In your case adding the following to the CSS Inserts in the theme options should hide those tags.

    HTML Code:
    .form-allowed-tags {
    display: none;
    }

  49. Bill says

    May 24, 2012 at 4:25 am

    Thanks Kimi.. this tips works good on my site

  50. Tim says

    July 3, 2012 at 5:44 pm

    Hi Kimi,

    Thankyou for your post here, it is exactly what I was looking for, I am in the process of setting up my new blog and if your know zilch about php like me, coding tutorials such as yours are extremely useful.

    When I have time to write some content about WordPress I will make certain to link to your blog post here.
    All the best.
    Tim.

    P.S. Have you tried the Comment Luv plug-in? it can really help with your traffic and backlinks.

    • Kimi says

      August 2, 2012 at 12:54 pm

      Hello Tim,

      I used to learn a bit of WordPress coding the past, but it seems that I don’t really have time now as my kids are growing LOL

      I have also used comment luv plugin a few years ago, I agree it is a great plugin, but since I don’t have time to check my blog, I also don’t have time to check comments 🙁

      I will use it once I have a lot of blogging time again.

      I appreciate your visit

      Kind regards

      Kimi.

  51. swapnil says

    July 10, 2012 at 7:07 am

    thanks a lot kimi, it was looking really buggy

Comment form on this post is closed after 60 days.

Search

Worth Reading

  • WordPress CDN setupWordPress CDN Setup with MaxCDN and W3 Total Cache Plugin
  • WordPress Google maps in contact pageHow To Add Google Map in WordPress Contact Page
  • The configuration of YouTube Subscribe button in Google Developers web pageHow To Add YouTube Subscribe Button To WordPress Website
  • Adding Social Media Links to WordPress Menu With CSS Classes
  • Unable to create directory wp-content/uploads in WordPress
  • Forward Twitter to Facebook Using App and Feedburner Tutorial
  • Kitchen Sink WordPress - Seem Simple But Important
  • Admin Pointers, Drag and Drop WordPress 3.3 Media Upload Features
  • How to sell ebook in a wordpress blog?
  • Check your site's performance using Google labs Page Speed

Backup & Restore

Backup WordPress Without a Plugin or FTP

Export WordPress Database using phpMyAdmin

BigDump Alternative – When BigDump Failed Importing Large WP Database

At This Place The Current Query Includes More Than 300 Dump Lines

View All..

Live Online Website

View All..

Offline Installation

How to Upload WordPress localhost to live server manually

Steps to Install WordPress on Windows 8 and WAMP 2.4

Install WordPress on Mavericks OS X 2014

Maximum upload file size in WAMP WordPress

View All..


WPvidz Hosting Image

  • About Me
  • Contact
  • Affiliate Disclosure
  • Privacy Policy
  • Term of Use

Copyright© 2023 wpvidz.com SG2021 | sitemap.xml


WPvidz.com is independent from WordPress.org but is proudly powered by WordPress & its block-based editor (Gutenberg)

WpvidZ.com uses cookies" to give you the best browsing experience possible. If you click "I Accept" below then you are consenting to this. For more information about your privacy settings on this website, please visit the Privacy Policy page. I Accept