问题
I added a custom link to menu in WordPress, as shown below.
How do I remove the text Language:
? In other word, how do I add a custom link with empty navigation label? I try to use empty string ""
, but it does work.
回答1:
This looks like a custom plugin or template. The part where it says "Language:" is most likely uneditable without creating a child template or modifying the source code. Can you give me a list of the plugins you are using ?
回答2:
what if you leave it blank without quotes
回答3:
I find the soluation. Change the URL
to,
#qtransLangSw?title=none
Refer to Can I change the look of Language Switcher Menu?.
来源:https://stackoverflow.com/questions/39649682/how-do-i-add-a-custom-link-with-empty-navigation-label-to-menu-in-wordpress