Connect a File Upload field to a Gallery Custom Field
-
Hi! I’ve been using your plugin for about a year now and it’s been awesome!
Now i’m trying to do something a bit more tricky: to populate some custom fields and publish a post, the simple fields like text were no issue, but the only image i’m able to succefully populate is the Featured Image, is there a way to do this?
One of the Custom Fields is an image_advanced field (https://docs.metabox.io/fields/image-advanced/) which lets the user upload up to 6 images.
I created a File Upload field in forminator and linked it to the Custom field ID, but it doesn’t populate the fields with images, only the plain URL.
I’ve seen a lot of post where you fix this with shortcodes in the mu-plugin folder, but i believe that it was for a single image field, is there a way to do it for a multiple images field?
I’ve uploaded the json generated in forminator and the snippet that i tried to modifie from a previous post:
https://drive.google.com/drive/folders/1aoDUn2Ad7rkYxOsX-IuNSJZGteDNdeD1?usp=sharing
(I couldn’t export a “prettier” json, if there is a way, please let me know!)The gallery custom field id is “blc_slider”
Thanks in advance,
Tomás.The page I need help with: [log in to see the link]
- The topic ‘Connect a File Upload field to a Gallery Custom Field’ is closed to new replies.