We seem to be having an issue with masonry & wpml when using domain switching.
For example, we have an English & French website. Masonry works well and as expected with domain.com/gallerypage and domain.com/fr/gallerypage, showing the appropriate language content for each url.
When we switch though to: frenchdomain.com/gallerypage we are getting the English content showing. It doesn’t seem to be picking up the language change. The rest of the page (the non masonry content) is displaying correctly in French.
Is this a known issue, has it been encountered before? Is there something we can do to make it pick up the correct language settings?
Sorry about the issue and thank you so much for sharing the solution with us. But the main issue here is that, we need to use the admin_url function to find the admin url. We can’t manually code wp-admin. Some plugin are known to change wp-admin folder as well.
We will check this issue in details and see what we can do here.