Home›Support›English Support›[Resolved] Bricks builder gallery shows no images which are taken from ACF (custom post type)
[Resolved] Bricks builder gallery shows no images which are taken from ACF (custom post type)
This thread is resolved. Here is a description of the problem and solution.
Problem: You have created a custom post type named "Apartmány" using ACF PRO and are using a Bricks builder gallery module with dynamic data. After translating the post, the images are visible in the editor but not on the frontend in languages other than Czech. Solution: We recommend adjusting the settings in ACF to ensure the gallery images display correctly across different languages. Here are the steps: 1. Navigate to your WordPress Dashboard > ACF > Field Groups > Vlastnosti apartmánu. 2. At the top, you will find three options. Select the "Same fields across languages" option. 3. Save the Field Group. 4. Go to WordPress Dashboard > Apartmány. 5. Click the pencil icon next to one of the Apartment entries and click the translation complete option in the Advanced Translation editor. This adjustment should resolve the issue with the gallery images not displaying on the frontend in translated versions.
Please note that this solution might be outdated or not applicable to your specific case. If this does not resolve your issue, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Background of the issue:
I have created my own custom post type named "Apartmány" using ACF PRO. Everything works fine, except for gallery images. I am using my own template built with Bricks builder and have a section with the title "Galerie". Under the section, I have a Bricks builder gallery module with dynamic data using {acf_galerie_nemovitosti}.
Symptoms:
After post translation, I can see the images when editing the page, but they are not showing on the frontend. The gallery module containing images works only when the original language (Czech) is being used.
Questions:
Why are the gallery images not showing on the frontend after translation?
How can I make the gallery module work in languages other than Czech?
Thank you for contacting our support. Please get back to us with the page link for the clean installation that you replicated the Bricks Gallery Dynamic option problem.
I will check that and do my best to troubleshoot first. If I fail, I will report this to the compatibility team and will keep you in the loop.
I have created a duplicate of the problematic website on your testing server because I was unable to get ACF working properly on a clean installation. Please take a look and let me know if you can identify the issue.
Thank you
Unfortunately, that will not help as I need to provide the issue in a clean installation to the compatibility team.
I can take a look into the installation but if I fail to find a solution we have to replicate the issue on a clean installation.
For now would you please provide the login info for the imported website? I can not use the link provided before as your installation now does not allow to use the link to enter.
Please set the next reply as private to provide the login info.
If I fail to find a solution I will create a new installation and ask you to install bricks there.
Hi there,
thank you, I have already activated Bricks licence and created apartments template. Everything for testing is prepared. Can you please take a look at that? Thanks
The compatibility team managed to see the correct gallery work by simply installing the Advanced Custom Fields Multilingual plugins:
hidden link
This shows that there is no inherent compatibility issue with Bricks in the scenario and it should be some problem on your website.
As the previously imported website WOPML portion does not work, I'd appreciate it if you could copy your website to a staging version and get back to us with the login information so we can check your website specifically to see if we can find why it is not working there.
Hi,
nice to hear that, I have uploaded copy of the website to the staging version, but I cannot restore it, because I was logged out. It neverminds, you can find the copy of the website in plugin "WPVivid" and simply restore it.
Thank you for your time!