- This topic has 3 replies, 2 voices, and was last updated 1 year, 10 months ago by .
NOTE: this question might not be related to this extension but I'd really appreciate an answer.
I have a custom post type (gallery, not created with MetaBox) and in it I have a MetaBox.io field [Image Upload] where I add my gallery images.
Now, I want to pull those images from another regular post. What is the best way to do that (code would be much appreciated)?
If you need further info:
On my regular posts:
I have post format support for 'gallery' format
I need a [select] MetaBox.io field which lists all my 'gallery' post types
AND I have a 'gallery' custom post type (which contains only your 'Image Upload' field, title and slug).
I will use the gallery custom post type to upload the images for the gallery and the idea is:
When editing a normal, regular post, I want to grab images from a particular gallery (grab the images from 'Image Upload' field, from a specific 'gallery' custom post, by its ID).
I also drew what I want to achieve if I'm not making any sense, please see the provided screenshot:
- You must be logged in to reply to this topic.