>
Download This Plugin | |
Download Elegant Themes | |
Name | Comment Attachment |
Version | 1.5.5 |
Author | latorante |
Rating | 100 |
Last updated | 2015-01-28 11:47:00 |
Downloads |
6330
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Comment Attachment plugin added 18 bytes of resources to the Home page and 167 bytes of resources to the sample Post page.
Comment Attachment plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Comment Attachment plugin ads no tables to your Wordpress blog database.This plugin allows your visitors to attach files with their comments, such as documents and images. It uses only built in wordpress hooks, and provides you with multiple settings in you admin (using native WP_Settings API). With these you can:
All attachments are inserted in your main wordpress media gallery, and are attached (if set in settings) to current commented post. (if set in settings). Upon comment deletion the attachment in that comment is deleted as well (if set in settings).
If an error occurs, like required attachment, or visitor trying to upload not allowed file type, plugin uses native wp_die()
to handle the error, which can play nicely, if you use some other plugin for handeling comment form errors in a different way, like this one.
To control the output, in your css, you can use these classes and id's. For form elements:
.comment-form-attachment {}
.comment-form-attachment label .attachmentRules {}
.comment-form-attachment input#attachment {}
and for inner comment elements:
.attachmentFile {}
.attachmentFile p {}
.attachmentLink {}
.attachmentLink img {}
It should be easy peasy for you to style it! :)