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.
This topic is split from https://wpml.org/forums/topic/shortcode-is-shown-in-de-navigation-instead-of-switcher/
Tagged: Compatibility
This topic contains 21 replies, has 2 voices.
Last updated by Nicolas V. 1 year, 8 months ago.
Assisted by: Nicolas V..
Author | Posts |
---|---|
July 28, 2023 at 12:02 pm #14116983 | |
Nicolas V. Supporter
Languages: English (English ) French (Français ) Timezone: America/Lima (GMT-05:00) |
Hi Niels, A quick update: we deleted some headers but the issue persist. We also found some errors in Console and some issues is translator's pairing languages. Our team will do test that theme on a new sandbox site to see if the issues are related to the theme itself (compatibility) or if it's something specific to your site. I'll get back to you when I have some feedback. Thanks for your patience. |
August 1, 2023 at 5:41 am #14130361 | |
evaK-2 |
Hello, Thanks for the update! The only thing i can say is that the issues came out of nowhere, everything worked fine for a few months and then the problems came one by one. I first contacted the support of the theme, but they could not help me. Kind regards Niels |
August 2, 2023 at 1:32 pm #14142895 | |
Nicolas V. Supporter
Languages: English (English ) French (Français ) Timezone: America/Lima (GMT-05:00) |
Hello, Just a quick message to let you know that we're still working on your ticket. It has been escalated to compatibility. |
August 3, 2023 at 9:13 pm #14152035 | |
Nicolas V. Supporter
Languages: English (English ) French (Français ) Timezone: America/Lima (GMT-05:00) |
Hello, I have a first feedback: Their child theme has a complex structure of templates. {"slug":"header","theme":"luminate-child"} but it is <!-- wp:template-part {"slug":"header"} /--> That's why it is giving the warning. I will look further into why it is like this and try to replicate it. As a workaround you can rename the search.html to ___search.html this will bring back the header in all languages. |
August 4, 2023 at 10:24 am #14154241 | |
evaK-2 |
Hello, Thanks for the first feedback! Kind regards Niels |
August 4, 2023 at 3:01 pm #14155609 | |
Nicolas V. Supporter
Languages: English (English ) French (Français ) Timezone: America/Lima (GMT-05:00) |
Hi Niels, Yes, by the template structure used in the child theme. We're still investigating this. |
August 9, 2023 at 4:20 pm #14177435 | |
Nicolas V. Supporter
Languages: English (English ) French (Français ) Timezone: America/Lima (GMT-05:00) |
Hello, I think we find the culprit. Here is the answer from my colleague: 1. I set up the themes child and parent on a fresh copy but I can't replicate the issue. So it was confirmed the issue is from client's database. 2. I checked the WP query for the template and found the reason is wp_theme taxonomy was translated. I did not suspect this taxonomy earlier because it was locked. My assumption is: 3. To fix the DB: DELETE FROM `wp_icl_translations` WHERE `element_type` = 'tax_wp_theme'; DELETE FROM `wp_icl_translations` WHERE `element_type` = 'tax_wp_template_part_area'; - Delete these terms from WP tables. DELETE FROM `wp_terms` WHERE `term_id` IN ("3872","3873","3874","3875","3876","3877"); DELETE FROM wp_term_relationships WHERE term_taxonomy_id IN ("3872","3873","3874","3875","3876","3877"); DELETE FROM wp_term_taxonomy WHERE term_id IN ("3872","3873","3874","3875","3876","3877"); - Correct the slug of Header-w template UPDATE `wp_posts` SET post_name = 'header' WHERE `ID` IN (7296,30865,30798,30873) 4. Disable WPML Media Translation if you're not using different images per language. Please let me know if this solves your issue. |