Tagged: wpml
Hi guys,
only with the WPML secondary language pages (English) I get an TypeError in slideshow.js and shortcode.js “_self.imageUrls[key] is undefined”, see example in private content area. This issue does not occur using the German = main language pages. As result the space where the slideshow should be shown stays empty.
Thanks for support!
Klaus
Thanks Dude! Uploaded the files via ftp, theme confirms version 4.4.2-dev-wpml.
However the issues stays the same.
Any other idea?
Thanks!
Klaus
Hi,
In this case you need to talk to the wpml support team. They tested our theme (dev version) with their wpml (dev version) plugin and they told us it should work now. Basically we had to replace the get_post() function with get_posts() in enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php because wpml does not hook into get_post(). However I checked the code on your website and wpml still doesn’t return the translated slides/images for unknown reasons. I also checked the ids of the slides (media attachment ids) and they’re valid and exist – so there’s no obvious reason why the get_posts() query doesn’t work with wpml.
Best regards,
Dude