Perhaps instead of having a repeatable upload field, use conditional logic to tie a dropdown or radio which asks how many uploads the user needs (1, 2, 3, 4, 5…), and then a series of pre-built upload boxes which show up based on what number was selected. It’s not 100% dynamic, but hopefully you have some kind of limit as to how many of these you want in the first place.
I would then store these as meta fields and refer to them. You can map each upload box to a meta field. Then when that post is generated (it is a post right?) you can reference the post_meta.
Related Posts:
- How does WP media uploader create the 3 different sized images, and how can I duplicate it
- simple solution for restricting access to (some) uploads/downloads
- How to get all files inserted (but not attached) to a post
- Password protect some uploaded files, so only logged-in users can view them
- How to check if an image attachment exists before uploading
- File upload from front-end form (as attachment) not working
- Add suffix to filename of uploaded images
- Gravity Forms – Repeatable “File Upload” field using “gform_column_input_content” filter [closed]
- Check if image exists before uploading with media_sideload_image()
- Add a YouTube or Vimeo video as a post attachment?
- How can I save the original filename to the database?
- ACF attachment custom field in rest response
- How to solve: An error occured in the upload
- Images not being generated at correct size
- How to manage a big collection of files with wordpress?
- Use the WP media uploader dialog for uploading a form attachment (non-admin). Offering progress and drag and drop feedback
- Rename attachment filenames to attachment ID on upload
- What is the way to add additional fields to attachments in 3.5+?
- How to edit attachment with media-upload.php?
- Upload iPhone video clips to blog via native WP app
- How to load attachment in media library for current user?
- How does WordPress decides how many sizes of an image to create?
- Upload and attach to a post multiple image files [closed]
- wp_generate_attachment_metadata for non-images files
- How to add filetype to meta value when using wp_upload_bits?
- Insert attachments from custom uploader into post (regular uploader style)
- How to download CSV from sub directory in uploads folder
- PDF Upload from Input Error
- Do custom post type (CPT) attachments/media store the parent post ID?
- Manipulate the files uploaded via Gravity Forms before they are stored
- Using unzip_file() to get contents of file
- What is wrong with my wp_insert_attachment code?
- Adding attachment custom field metadata to TinyMCE tag
- Updating the attachment from front end doesn’t show the new change
- Using Gravity Forms to upload media into library, then attach to post
- Set attachment category from file name on upload
- “Could not write file” error in wp_upload_bits function
- _d_improd_ directory in uploads breaking site images
- Check if author or uploader id of the attachment(uploaded) image is match?
- Limit attachment caption characters
- controlling whether upload is attached to post or not
- How to force attachment size for every post
- Attachment Metadata not updated while uploading audio files
- Upload file to front-end form and send as email attachment
- Limit number of uploaded attachments of specific context
- How do I protect my uploads?
- How do I update attachment urls after changing site domain
- How to properly move media files and update data?
- Saving Media – Which Hook is Fired?
- How to restrict access to uploaded files?
- Is it possible to allow zip files to be uploaded in WordPress?
- Settings in ‘Media > Settings’ is ignored when inserting images
- using media uploader to select image of specific size, enforce cropper
- Change URLs for static content
- How to save media files under “http://example.com/custom_folder” for a specific page
- HTTP Error when uploading images
- Accessing Media/Files outside the_content
- Media uploader not work properly [closed]
- “HTTP error” randomly on image uploads
- Bug when uploading pictures with international characters?
- How to retrieve alt attribute for an attachment (uploaded image)?
- How to remove some media upload icons from post editor?
- Upload file without attaching it to a POST
- WooCommerce Images are uploading to the server but not attaching
- Why would media_sideload_image() not work locally?
- Media upload on WordPress changes title of image
- Upload file programmatically
- move_uploaded_file() not working on wordpress front end
- Remove upload file types filter for admin
- Prevent small image sizes from being uploaded
- Front-End Social photo upload [closed]
- WordPress Uploads Directory not using dates in links
- Limit image upload
- Is there any good way to use SVN for uploads directory?
- Uploaded images do not show on localhost
- Uploading PDF file and providing download links to them
- tb_show not showing a media upload window . custom plugin
- Storing WordPress Media Library Uploaded files onto a separate domain
- Error: The uploaded file exceeds the upload_max_filesize directive in php.ini [duplicate]
- Creating a podcast directory site – how to allow user to upload “large” files?
- Upload multiple image with media_handle_upload with multiple file field [duplicate]
- Better solution for managing media attachments with `wp_editor()`?
- Upload PDF and other files from the Front-End
- How to disable image thumbnails from media manager but not post media uploader?
- Get uploaded video URL
- How Do I Change the File Permission For Uploaded Files in WordPress?
- An error occurred in the upload. Please try again later
- media_handle_upload fails with gravity form submitted image
- Why I am not able to upload media files?
- Featured image to grayscale with PHP imagefilter – which hook to use?
- Store uploads on an external server?
- Force relative path in media library for LAN deployment
- Make thumbnail from uploaded image without plugin
- Making Site A Use Site B’s wp-content Folder
- Set featured link not showing
- increase maximum upload file
- make default upload folder year/month/day wordpress without plugin [duplicate]
- Display Image Upload from Contact Form 7 on Redirect Page [closed]
- media_handle_sideload() fails
- Is it possible to restrict the number of media uploads (photos) per user?