Soory, I selected the wrong website. I need help with hidden link
I ran the WP Menu Sync option on my website and I have accidentally caused all of my menu's to break. I would like to undo the menu sync and revert back to the original language so only the original language (English) version of the menu is shown on the whole website, regardless of what language you are looking at. Is this possible?
Alternatively, is it possible to duplicate the original English menu and apply it's same structure to all of the other language menus?
I have added custom CSS to specific menu items (such as '.menu-item-420 a:hover') so that various menu items are different colours. For this reason I would like to revert back to the original language version and possibly use strings or another form of translation to edit each menu item without causing it to have a new menu item ID. Is this possible?
The website is currently under construction. I can provide login details privately.
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
Hi,
You can delete the translated menus like this - this will basically undo the sync.
And then don't translate menus and it should preserve assigned CSS classes on translations, while if you don't translate them, IDs should also be the same as these are assigned to menu items and not based on page IDs (apart from page-item-ID, but others will remain the same).
That's amazing, thank you! I am have managed to restore the menu items back to their original state.
My client is populating the site has so far completed translations of the News (Habari) and Contact (Wasiliana) pages into Swahili. In the attached screenshot you can see how these menu items retain their custom underline colour which is perfect. However, if I am viewing the Swahili version of the website and I click on the News (Habari) or Contact (Wasiliana) page it takes me to the English version of the page.
Also, you can see in the second screenshot that I also have 'Custom Links' for About, Regions, and Themes that act as drop-down menus for normal pages. The pages within each drop-down correspond to the colour of the underline of the parent page above.
Please can I ask you for your recommended process to achieve the following:
1. Have the translated menu items appear in the same colour applied via CSS
2. Link the translated menu items to the translated pages
3. Translate the 'Custom Links' parent menu items
4. Have any pages that aren't yet translated display as links to their original English language and link to that original page
But if you're using custom links for translated pages, these would not get translated automatically - you need to translate these URLs in string translation as per above documentation.
The topic ‘[Closed] I ran 'WP Menus Sync' and would like to undo it and revert back’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.