Home › Forums › General Issues › Get Gallery Field no view images from another post › Reply To: Get Gallery Field no view images from another post
Hi @donnafefe
Make sure that you’re actually just getting image ids with this:
$image_ids = get_field('imggal', false, false);
Also, does it work with the limit plugin deactivated? Maybe it also limits images to those uploaded to the post.
In the end it seems more like an issue/bug with the gallery shortcode in WordPress than ACF. If you truly are getting all 6 attachment IDs with the above code ACF is doing it’s part correctly.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.