Background of the issue:
I am trying to create a custom language switcher for my site under development using WPML. I want the dropdown language switcher in my menu to display a globe (my custom image) that does not lead to a language. When the visitor clicks or hover the globe, all languages are shown in the dropdown, possibly excluding the current language. I use the Elementor template builder to build my header. An option for the dropdown could be a mega menu that is an Elementor section or similar, with WPML functionality so the flags lead to the corresponding page in the other language.
Symptoms:
I haven't found a solution in the documentation I have been following.
Questions:
Is it possible to get the dropdown language switcher in my menu to always display a globe in the main menu, that does not lead to a language, but on hover display the dropdown with all the languages in it?
Is there a way to make the dropdown a mega menu as an Elementor section with WPML functionality?
主题 “[關閉] Custom language switcher” 已关闭,不接受新回复。
管理 Cookie 同意
我们使用 cookies 来优化我们的网站和服务。 您的同意允许我们处理浏览行为等数据。 不同意可能会影响某些功能。
功能性
始终启用
为了我们的网站正常运行和通信所需的信息。
首选项
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.