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?