Okay
  Public Ticket #1094398
Upload multiple attachments
Closed

Comments

  •  11
    Issac started the conversation

    Is it possible to add multiple attachments (ex. pdfs) in one cell? Currently, I can only upload one file per cell, can I do it without using html editor input type if possible?

    If not, how hard to do the customization?

    Thanks!

  • [deleted] replied

    Hi issacchua,
    Thank you for the purchase.

    Unfortunately something like this is not possible out of the box. It is pretty hard to achieve something like this especially because there should be ajax call for removing and adding each file separately and probably custom uploader should be implemented instead of WordPress native uploader.

  •  11
    Issac replied

    Hi Milos,

    What I meant is not uploading the files simultaneously, what I would like to achieve is when I select multiple files (instead of one file) in media library, it will have the link for each selected file prepared line by line in the cell. For example, when I select multiple files, the end result in the cell might look like this:

    Attachment 1, Attachment 2, Attachment 3

    Thanks a lot!

  • [deleted] replied

    Hi issacchua,

    I understand, but unfortunately something like this requires custom coding. If you are famialiar with JS you can take a look at fileUploadInit function in ../wp-content/plugins/wpdatatables/assets/js/wpdatatables/wpdatatables.js