DCO Comment Attachment

Description

DCO Comment Attachment allows your visitors to attach images, videos, audios, documents and other files with their comments. They will also be able to automatically embed links from Youtube, Facebook, Twitter and other services in the comment text.

With plugin settings you can:

  • Select an attachment image size from thumbnails available in your WordPress install.
  • Limit the maximum file upload size.
  • Make an attachment required.
  • Specify whether the attachment will be embedded or displayed as a link.
  • Attach an attachment to a commented post.
  • Restrict attachment file types.
  • Enable/Disable autoembed links (like Youtube, Facebook, Twitter, etc.) in the comment text.

You can also:

  • Add, replace or delete an attachment from a comment on Edit Comment screen.
  • Delete an attachment on Comments screen.

Attachments are uploaded to the WordPress Media Library and deleted along with the comment (if this is set in the settings).

DCO Comment Attachment is also available on GitHub.

Screenshots

Installation

  1. Upload dco-comment-attachment folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Reviews

July 1, 2019
Very grateful for providing these facilities. A finding at the precise moment.
Read all 2 reviews

Contributors & Developers

“DCO Comment Attachment” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.2.1

  • Fixed Quick Edit Comment function bug (thank you @bbceg)

1.2.0

  • Added the feature for autoembed links in comment text. You can disable it in Settings -> DCO Comment Attachment.
  • Introduced dco_ca_disable_display_attachment hook. Now you can display attachment in custom place with add_filter('dco_ca_disable_display_attachment', '__return_true'); filter and dco_ca()->display_attachment() function.

1.1.2

  • Fixed display of empty allowed types if the website administrator has forbidden the upload of all extensions of this type. (thank you @nunofrsilva)

1.1.1

  • Added filters for the attachment field customization

1.1.0

  • Now you can select and deselect Allowed File Types by the type in one click.
  • Added dco_ca_disable_attachment_field hook for disable the upload attachment field.
  • Reduced the effect of mime types filtering. Now it applies only for comment attachment upload.
  • Added the feature to attach an attachment to a commented post.

1.0.0

  • Initial Release