How to add an Attachment in WordPress Comment

| Last Updated: | In: WordPress, WordPress Beginners


Want to add an option to attachment of media files like images, audio files, and video files in your WordPress comment system. If yes, then this tutorial is the only design for you.

In this tutorial, I will explain how to add an attachment in WordPress Comment system of your WordPress websites. Comment Attachment is best WordPress plugin which allows your site visitors to attach media file like documents, images, audio and video files.

How to add an Attachment in WordPress Comment

Download Plugin From WordPress.org

This plugin use the WordPress hooks and multiple admin settings in site admin using native WP_Settings API There are lots of features this plugin have, below are the list of some features:

  • Make attachment a required field
  • Option to allow which file types are allowed to be attached.
  • Decide whether attachment can be downloaded.
  • Select position of attachment in comment, either before the main comment, or after it.
  • Option to restrict file size of uploaded attachment.
  • Enter label of attachment in comment text (by default ‘Attachment:’)
  • Audio & video player will work with WordPress 3.6 and above versions.

You can change the output of attachment field on the front website by using the below CSS classes.

and for the inner comment style

How to Install Comment Attachment Plugin

The installation of this plugin is very simple & easy as other plugins. Download the latest version of this plugin from wordpress.org directory and login in your site admin then navigate to the dashboard => Plugins => Add New button. Search “Comment Attachment” in search text box and click on the install now button.

After installation of this plugin click on the Activate button to enable this plugin feature on your website. Go to the comment setting to configure plugin setting as per your requirement.

Plugins Screenshots

screenshot-1

After configuring this plugin you will from admin panel visit the front-end site and an attachment field will be displayed in the comment section.
screenshot-2

Over to You

Do you like & share this article with your friends, and don’t forget to follow us on Facebook and Twitter to learn cool WordPress tutorials.

Tags: , , , ,


About: Prem Tiwari

Prem Tiwari is the founder of freewebmentor.com and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby.


You may also like:

Get Free Access of 450+ Scripts

Don't worry you'll not be spammed!

Featured eBook

WordPress Security Guide

Free Guide: Learn how to implement security guideline in your WordPress site...

DOWNLOAD

Free WordPress Setup Service

Free WordPress Setup

Want to Setup WordPress Blog Setup? I will help you in the setup of your WordPress blog.

Click Here

Discount Coupons

Pincode Finder

pincode-finder tool

Online Pincode Finder

Best tool to locate post Office address and pincodes of all india...

SEARCH NOW