• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
WPFeed

WPFeed

  • News
  • Tutorials
    • WordPress Multisite
    • BuddyPress
    • Design
  • Reviews
    • Plugins
  • Roundups
  • Snippets
  • Giveaways
Home » BuddyPress » How to Remove HTML Allowed Tags in WordPress Comment Section

How to Remove HTML Allowed Tags in WordPress Comment Section

WordPress introduced HTML allowed tags in comment form since WordPress 3.0. This is the text you will see after the comment box that reads:

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>

We’ve seen lots of people were asking whether it’s possible to remove them. In this article, we’ll show you how to remove HTML allowed tags using three different ways:

1. Using Filter

You may use the following code to remove the HTML allowed tags text in your site. The code should be in functions.php of your child theme.

2. CSS

If you’re afraid of editing functions.php file, there’s an alternative. The HTML allowed tags form can be hide using a simple CSS code. Open up your style.css file and drop the code below:

3. Using Remove Comment Notes plugin

If really have no idea how to use any of the code below, there’s a plugin for this. All you need to do is to install and activate Remove Comment Notes plugin. Just activate the plugin and you are ready to go, no additional configuration is needed.

Reader Interactions

Leave a Reply Cancel reply

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

Primary Sidebar

Recent Posts

  • WordPress is a brilliant platform that is loaded with tons of stuff for websites.
  • How to Sync Stock & Price for WooCommerce Products
  • How to migrate a WooCommerce Store to a new site
  • How to Import WooCommerce Products
  • How to export WooCommerce Orders

Copyright © 2023 · WPFeed.com - A Project of TechAbout LLC.

  • About us
  • Advertise
  • Write for us
  • Terms and Conditions
  • Privacy Policy
  • Contact us