Problem: The client reported that after updating the
post_name
of a translated product, the permalink (URL) does not update to reflect the English version, even after trying to flush rewrite rules. Solution: We suggested using a custom function to ensure that when a post is duplicated in WPML, its permalink (slug) updates to match the original post's slug. Here is the function to add to your theme's functions.php file or a custom plugin:
We also recommended testing this solution in a sandbox environment and recording the process using a tool like https://www.loom.com/ to better understand the issue.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket for further assistance.
Problem: Você está tentando traduzir campos personalizados criados nas opções de Aparência > Personalizar do seu tema, mas o WPML não está conseguindo mapear esses campos para adicionar traduções de Português para Inglês e Espanhol. As strings dos campos personalizados não aparecem no WPML para tradução.
Se essa solução não for relevante para o seu caso, ou se estiver desatualizada, recomendamos que abra um novo ticket de suporte. Também recomendamos verificar problemas conhecidos em https://wpml.org/known-issues/, verificar a versão da correção permanente e confirmar que você instalou as versões mais recentes de temas e plugins.