• Resolved SomebodyWithAName

    (@dreamwire)


    Hi,

    It is possible to use the file upload and save it as a featured image. But is it possible that a PDF or DOC (docx) file is saved and the url is displaying to the content field?

    Kind Regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    But is it possible that a PDF or DOC (docx) file is saved and the url is displaying to the content field

    yes, that exactly what happens when you map a file field to a meta field

    Thread Starter SomebodyWithAName

    (@dreamwire)

    @aurovrata the file gets automatically saved in the medialibary then or on a other place on the server? Because normally the file gets deleted of the server.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    the file gets automatically saved in the medialibary then or on a other place on the server?

    in the wp-content/uploads folder

    Thread Starter SomebodyWithAName

    (@dreamwire)

    @aurovrata is it possible to change that folder? So all the uploads from that form will saved in a custom folder i can set? wp-content/uploads/form-uploads

    Plugin Author Aurovrata Venet

    (@aurovrata)

    is it possible to change that folder?

    sure, the plugin uses WP core functionality to upload/store the file, namely the function wp_upload_bits(), which has an inbuilt filter to modify the path.

    See this stackexchange answer.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘File uploads (PDf and doc)’ is closed to new replies.