跳转至内容 跳转至侧边栏
Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

支持人员时区: Asia/Kathmandu (GMT+05:45)

本主题包含 0 則回覆 ,有 1 嗓音 。

最后由 magnusJ-3 3 months, 2 weeks前 更新。

协助者:: Shekhar Bhandari.

作者 帖子
7 5 月, 2025 于 7:48 上午 #17004740

magnusJ-3

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” 已关闭,不接受新回复。