Skip to Main Content

How to allow attachments in comments

Divi: the easiest WordPress theme to use

Easily create your website with Elementor

Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]

Would you like to allow attachments in comments? where would you like to allow users to add attachments in WordPress comments?

By default, WordPress comments are limited to text but you can allow users to upload attachments like images and Gifs to make comments more fun.

In this tutorial, we will show you how to allow adding attachments in WordPress comments.

But, if you've never installed WordPress discover How to Install a WordPress Blog in 7 Steps et How to search, install and activate a WordPress theme on your blog 

Then back to why we are here.

allow attached files in comments

You must first install and activate the plugin " How Attachment ". For more details, check out our step by step guide on how to install a WordPress plugin.


After activating the plugin, you must visit " Settings> Chat "And scroll to the" Attachment Comments To configure the plugin settings.

SETTINGS-debate-how attachmenta

How Attachment allows you to choose file types, maximum file size, and how to display attachments on your website.

You can also choose where you want display the download form (before or after the fields of the default comment form).

Divi: The best WordPress theme of all time!

With over 901.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]

If the attachment is an image, you can choose the size of the image to display, and whether you want it to be linked to the original file.

Allowed file types:

The plugin allows you to select the types of files you want to allow. By default, it allows users to upload images in "jpeg, gif, png" format.

like de-authorized files

You can also activate support for PDF files, Doc, spreadsheets, presentations, audio files, and video file types.

However, we recommend that you only allow images because audio and video can take a lot more resources on your hosting.

Do not forget to click on the button « Save Changes To save your settings.

You can now visit your website and see the attached file field in action in WordPress comment forms. Try uploading files to see how they appear in the comments.

comment-file-field-joint-tutorial wordpress

You can see attachments uploaded by users when moderating comments in WordPress like this:

moderation-of-reviews-wordpress-pieces attached

If you don't want to delete an attachment, you can simply click on the " Delete Attachment Under the commentary.

That's it, you can now visit your website to see the changes take place.

Also discover some additional premium WordPress plugins 

You can also use plugins to rate the comments of your WordPress blog. Here is a brief list of a few.

1. Reactive Search Pro

This is one of the best premium WordPress search plugins. It is unique and has a lot of great features.

Reactive search pro advanced wordpress search filter map grid plugin wordpress
Its features include: support for custom publication types, search Google Maps, more than 10 grid layouts, over 15 search tools, no coding skills required, and more.

Download | Demo | Web hosting

2. Gravity Forms Rating FieldStar Rating Field

Easily add a star rating form (or thumbs up, hearts, smiling faces, etc.) with the WordPress Gravity Forms plugin.Gravity forms star rating field plugin wordpress

Choose from 14 different rating styles and set configuration options for your rating field. So if you are already using Gravity Forms then you should consider using Gravity Forms Star Rating FieldStar Rating Field.

See also our 6 WordPress plugins to add auto-completion to your forms

Its features include: customization and display of the current note on mouseover, customization and display of help on tooltip, and more.

Download | Demo | Web hosting

3. User Rating / Review Add on for UserPro

User Rating / Review Add on for UserPro is a premium WordPress star rating plugin specially designed for UserPro. Easily add your star ratings to your UserPro community with the User Rating / Review Add on for UserPro plugin.User rating review add on for userpro plugin wordpress

Its main features are among others: the possibility of evaluating two users using notes or using textual comments, the possibility adjust evaluation restrictions depending on the role of the user, support for shortcodes and multilingual and much more.

Download | Demo | Web hosting

Recommended Resources

Find out about other recommended resources to help you build and manage your website.

Easily create your Online Store

Download free WooCommerce, the best e-commerce plugins to sell your physical and digital products on WordPress. [Recommended]


Here is ! That's it for this tutorial. We hope that it will allow you to be able to allow attachments in the comments of your WordPress blog.

However, you can also consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on WordPress blog creation.

Feel free to share this article with your friends on your favorite social networks. But, in the meantime, let us know your comments and suggestions in the dedicated section.


This article features 0 comments

Leave a comment

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

This site uses Akismet to reduce unwanted. Learn more about how your comments data is used.

Back To Top