Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

How to Add Quicktags in WordPress Comment Forms

Last updated on by
Follow WPBeginner on YouTube
How to Add Quicktags in WordPress Comment Forms

By default WordPress comment box allows visitors to use some basic HTML tags in their comments. However, most bloggers are unaware of this and most users don’t know how to write HTML. If you have or want to have specific formatting for your comments, then you can really benefit from this article. In this article, we will show you how to add quicktags in WordPress comment forms which will allow you to better style each comment element while giving your users bunch of quick tags to work with.

What is a Quicktag?

You are probably wondering what are quicktags? Quicktags are buttons that you can offer users to easily style their comments. For example a simple button to bold highlighted text is a quicktag. When you see a toolbar that has the option to bold, italicize, add headings, etc, those are all quicktags. Now that you know what are quicktags, let’s take a look at how you can add these in your comment form.

Video Tutorial

If you don’t like the video or need more instructions, then continue reading.

How to Add Comment Form Quicktags

First thing you need to do is install and activate the Comment Form QuickTags plugin. Once activated, the plugin adds quicktags buttons to comment form on your website. Depending on which HTML tags are allowed on your comment form it will display some basic formatting buttons.

Comment Form Quicktag Example

You can create your own quicktags from the plugin’s settings page. Add an ID for the tag, which you can later use for styling purposes. Then add a name for the tag, like for example heading. After that provide start and end tags, like <h4> for start tag and </h4> for end tag. Assign an access key, for example “h”. Save the settings and a heading button will appear in your quicktag toolbar above the comment box.

Adding a New Quicktag

Comment form quicktag also has the option to enable the quicktags only for selective user roles. You can activate the user role limitation and select from the user roles to enable quicktags only for them. Selecting all the user roles will enable the toolbar for all registered users on your website.

In some WordPress themes, there may be some code conflict with the plugin. In most cases it is just CSS. For example, Comment Form Quicktags does not appear correctly with the Twenty Eleven theme. The label for the form appears above the toolbar and to fix this you need to edit Twenty Eleven theme or create style rules for quicktag toolbar. Also note that Comment Form Quicktags plugin is not compatible with Jetpack Comments module.

Do you think that adding quicktags in comments is a good idea? or is it a waste of time? Let us know your thoughts in the comments.


Editorial Staff at WPBeginner is a team of WordPress lovers led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »
  • mr jeqnko T

    Cool been looking for this kind of a plugin for a long time

  • Adrian Robertson

    I can see some quick tags being useful, others not so. I guess it depends on the type of forum you are trying to promote. I can certainly see how a link could be useful on many tech / web blogs, but general styling (bold, italics, headings, etc) not so sure about.

    Having said that, it hasn’t stopped me installing this plugin on my own site!

    I’ll be curious to see who uses the styling buttons (if anyone)