yiannosM
The navigation menu in the Greek language appears expanded.
yiannosM
I forgot to mention, that if i change the theme to "Twenty Twenty-Four", the menu seems to be working.
Christopher Amirian
WPML Supporter since 07/2020
Languages:
English (English )
Timezone:
Asia/Yerevan (GMT+04:00)
Hi there.
Thank you for informing that. The issue has already reported to the compatibility team.
Just to make sure we are on the same page it might take time to get an answer.
I will update you here if I have news.
Thanks.
Christopher Amirian
WPML Supporter since 07/2020
Languages:
English (English )
Timezone:
Asia/Yerevan (GMT+04:00)
Hi there,
The compatibility team asked me to replicate the issue on a clean installation to know if this is a core issue with a compatibility with OceanWP and WPML or it is isolated for your website.
I created a clean installation of WordPress and WPML in English and Greek.
I also installed Elementor and Elementor Pro.
You can access the dashboard here:
hidden link
Please follow the steps below:
- Install OceanWP
- Add a pop up in Elementor
- Use the WordPress Menu element there to create the menu.
- See if the same thing happens like your website.
Depending on the result of the test I will be able to follow up with correct path.
Thanks.
yiannosM
I added 4 pages and a created a menu.
I copied/pasted the popup and navigation header.
In English (hidden link ) it appears "OK", and again in greek it is not (hidden link )
Christopher Amirian
WPML Supporter since 07/2020
Languages:
English (English )
Timezone:
Asia/Yerevan (GMT+04:00)
Thank you, the matter is reported to the compatibility team.
yiannosM
Just to be sure, you are working on the sandbox and not on the actual website? I need to make adjustments to the website.
Also in the website i will try to re-do the menus from scratch, and see if the issue appears again.
Christopher Amirian
WPML Supporter since 07/2020
Languages:
English (English )
Timezone:
Asia/Yerevan (GMT+04:00)
Hi there,
Yes, we are working on Sandbox and not your website.
We have a workaround that we will need you to test and see if it works ok for you.
Please go to the file below:
wp-content/plugins/elementor-pro/modules/popup/tag.php
Change this code:
public function render() {
$settings = $this->get_active_settings();
if ( 'close' === $settings['action'] ) {
$this->print_close_popup_link( $settings );
return;
}
$this->print_open_popup_link( $settings );
}
To:
public function render() {
$settings = $this->get_active_settings();
if ( 'close' === $settings['action'] ) {
$this->print_close_popup_link( $settings );
return;
}
// WPML Workaround for compsupp-7039
if ( class_exists('Sitepress') && isset($settings['popup']) ) {
$settings['popup'] = apply_filters( 'wpml_object_id', $settings['popup'], get_post_type($settings['popup']) , TRUE );
}
$this->print_open_popup_link( $settings );
}
It fixed the issue in Sandbox installation. Please test if it works for you.
Another alternative solution is to use manual Translation for the POP up which is like this:
https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/
Thanks.