This thread is resolved. Here is a description of the problem and solution.
Problem:
The client reported that a responsive menu plugin was compatible with WPML, but only one deleted menu (menu 1) was working correctly in both languages. The other menus were not accessible from wp-admin and were not being called by WPML when switching languages.
Solution:
First, we advised the client to modify a line of code in the responsive menu plugin:
if( $m->term_id == $this->option('menu') ) $menu = $m;
should be changed to
if( $m->term_id == get_option('wprmenu_options')['menu'] ) $menu = $m;
This change was to be made in the file
wp-content/plugins/wp-responsive-menu/inc/wprmclass.php
on line 483.
However, we then realized there was a mistake and instead provided a screenshot with the correct modifications to be made in the file
wp-responsive-menu/inc/templates/menu-elements.php
.
If you're experiencing a similar issue, we recommend trying the steps above. However, please note that the solution might be outdated or not applicable to your case. If the problem persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket with us.
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 contains 20 replies, has 2 voices.
Last updated by 1 year, 2 months ago.
Assisted by: Kor.