Make listing image required

When adding a listing, users have both a “Gallery” button and a “File” button to upload images. Now I do require images on the listings but it’s redundant to have both buttons. Selecting require attachments makes the File button appear… I want to require attachments just from the gallery. Here’s all the Listing settings + what users see:




Hi,

You can disable the Require file attachments feature and instead use this PHP snippet to make the gallery field required Require uploading at least one image for listings #hivepress #listings · GitHub

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.