Skip to content Skip to sidebar

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 21 replies, has 2 voices.

Last updated by Kor 1 year, 8 months ago.

Assisted by: Kor.

Author Posts
January 29, 2024 at 2:15 pm #15238844

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I apologize for the delay. I'm able to replicate the issue on our sandbox site here hidden link . The footer doesn't seem to be translatable and the issue seems to be related to the custom theme.

Our 2nd Tier Support will continue to check on this and we'll come back to you once we've feedback.

Login link for our reference : hidden link

January 30, 2024 at 6:43 pm #15246199

karleK

Any news? Not sure what to do here. 10web is messed up aswell now and not possible to talk to customer support.

January 30, 2024 at 6:44 pm #15246200

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

No updates yet from our 2nd Tier Support and I will follow up closely.

January 30, 2024 at 6:50 pm #15246204

karleK

Now I saw that my Woocommerce not finished products are also searchable and visible for people on google altough I left it on maintenance mode. I'm guessing that maintenance mode isn't working propery while the site is left like this. Incredibly slow and painful proccess.

January 30, 2024 at 6:54 pm #15246210

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thank you for getting back to us.

It seems that Google Robots may have crawled your site while the maintenance mode was disabled. If you wish to prevent any content from appearing on Google, you can follow the instructions outlined here: hidden link.

We apologize for the delay, and please know that we are putting in our best efforts to resolve this issue. As you are aware, this is a custom theme, and some of its functions may not adhere to the WordPress coding standards, making it challenging for us to pinpoint the exact problem. We appreciate your understanding in this matter.

January 30, 2024 at 7:50 pm #15246383

karleK

Ok. Thank you for putting in the effort

January 31, 2024 at 6:22 am #15247287

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

Our second-tier support found a solution and I've applied the workaround below to fix it.

Workaround
Open the app/public/wp-content/plugins/tenweb-builder/templates/base.php file
Look for the print_builder_content() method (around line 45):

protected static function print_builder_content($template_id){
  Templates::get_instance()->add_loaded_templates(static::get_slug(), $template_id);
  echo \Elementor\Plugin::instance()->frontend->get_builder_content_for_display($template_id);
}

Replace with:

protected static function print_builder_content($template_id){
  $template_id = apply_filters( 'wpml_object_id', $template_id, get_post_type($template_id) , TRUE  );
  Templates::get_instance()->add_loaded_templates(static::get_slug(), $template_id);
  echo \Elementor\Plugin::instance()->frontend->get_builder_content_for_display($template_id);
}

Please take note of these links:

https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/
https://wpml.org/documentation/related-projects/woocommerce-multilingual/wcml-hooks-reference/

January 31, 2024 at 7:16 pm #15251415

karleK

Thank you very much!