Meta Box
Support Forum
Support › General › File advanced only specific extensions
Hi Long,
I have 3 Advanced Filed fields. The first one may only select an *.geojson file, the second an *.gpx and the third only and *.pdf
How can I add this to the custom fields? I have tried mime-type but that goes wrong.
Thanks
Cees
Hi Cees,
Using the filter mime type will work for all file extensions, refer to the topic https://support.metabox.io/topic/how-to-upload-vcf-file-to-custom-post-type-custom-field-upload-file/ https://wordpress.org/support/topic/allow-gpx-file-upload-fails/