Unfortunately, it’s not an ideal solution.
In my WordPress ACF settings, I made a repeater field inside a flexible content field. There is an image field inside that repeater. I’m getting the images’ data with ‘get_sub_field(‘image’)’ and put these in a gallery(royalslider).
Solved it!
There was an error in a plugin I was using: Polylang plugin
In the settings there was an error saying that not every page and/or post had a language setup. Selected option to set standard language for every page and post and everything was fine!
This problem only occurs on my test server. On my localhost, which has the exact same settings, everything works perfectly fine.
I know there’s a setting where you can limit the media library choice. But i’ve checked that already and it’s set to ‘all’.
I am using galleries as sub field and they are working perfectly. At my localhost anyway. When I tested my website on my test server, the galleries didn’t show… What could be going on?
Thanks
In my case, I am using the gallery as a sub field. It works fine on my localhost but not on my test server. What could be going on?
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.