Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
I am trying to show an Elementor Template on secondary language custom product taxonomies like it works for native product categories and tags. While the English version displays correctly, the Spanish version doesn't. I have followed the documentation on WPML and ensured settings are as recommended. A video link is provided to demonstrate the issue.

Solution:
Based on a similar known issue, first check the link provided (https://wpml.org/errata/divi-product-category-archive-template-not-applied-to-translated-category-archive/) and apply the mentioned workaround.

Relevant Documentation:
https://wpml.org/documentation/getting-started-guide/translating-post-categories-and-custom-taxonomies/
https://wpml.org/documentation/getting-started-guide/translating-custom-posts/
https://wpml.org/errata/divi-product-category-archive-template-not-applied-to-translated-category-archive/

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.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Christopher Amirian 1 year, 4 months ago.

Assisted by: Christopher Amirian.

Author Posts
September 15, 2023 at 11:46 pm #14405681

calebW-2

Tell us what you are trying to do?
Show an Elementor Template on a secondary languages custom product taxonomies like they do for native product categories and tags.

Is there any documentation that you are following?
https://wpml.org/documentation/getting-started-guide/translating-post-categories-and-custom-taxonomies/
https://wpml.org/documentation/getting-started-guide/translating-custom-posts/

Is there a similar example that we can see?
Here is a screen recording showing the issue: hidden link

What is the link to your site?
English version (correct): hidden link
Spanish version (incorrect): hidden link

Thank you all so much! The video should hopefully explain it well.

September 16, 2023 at 11:07 am #14406603

calebW-2

Hello, again, WPML 🙂

I just wanted to confirm for you that in WPML > Settings > Taxonomies Translation that the Custom Taxonomies are indeed set as "Translatable only show translated items", and also that the WPML > Settings > Custom posts slug translation options has the checkbox checked. To my knowledge everything is set as it should be per the documentation (which I think you'll see when you login).

Thank you so much for your assistance! Happy to send login details when we can make the post private, etc. Thank you!

September 18, 2023 at 2:00 pm #14412881

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Thank you for the video, the known issue below seems to be something like your website instance:

https://wpml.org/errata/divi-product-category-archive-template-not-applied-to-translated-category-archive/

I know the errata is talking about the default taxonomy but it might be the fact that it will have the problem for custom taxonomies too, so I suggest that you try the workaround mentioned there.

If the problem continues, please check if the issue is happening on a minimal installation:

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except Elementor, Elementor Pro, WPML and WPML add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.

Thanks.

September 18, 2023 at 9:11 pm #14415421

calebW-2

This solution worked perfectly and is a perfect workaround for now/moving forward, Christopher - thank you!

QUESTION: With known issues like this, is it common for the WPML team to work through them little by little over time, or do some of them never get tended to and we just rely on the snippet in the meantime?

I am asking so I can make a mental note that at some point in the future I may be able to delete/remove this snippet.

Thanks, again, so much for the perfect solution!