This thread is resolved. Here is a description of the problem and solution.
Problem:
The client wants to remove WPML menu links from the Appearance > Menus page in the WordPress admin area.
Solution:
We explained that these links are essential for creating different menus in various languages and recommended not removing them. However, if the client insists on hiding these links from the UI without affecting the functionality, we suggested injecting custom CSS. Here is the code to add to the functions.php file or a custom plugin:
add_action('admin_head-nav-menus.php', function () {
echo '<style>
.icl_lang_menu.icl_nav_menu_text {
display: none !important;
}
</style>';
});
Please note that handling custom code is generally beyond our support scope, and we recommend consulting an independent developer for further customization.
If this solution does not apply to your case, or if it seems outdated, please check the related known issues, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If issues persist, we encourage you to open a new support ticket.
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 3 replies, has 0 voices.
Last updated by 1 week, 6 days ago.
Assisted by: Andreas W..
