erikture on "[Plugin: qTranslate X] Menu visible despite empty label"

ساخت وبلاگ

I am using the latest version of the plugin available in Github, 3.4.8.
I have two languages, Swedish and English.
I have removed most of the names of the English menuitems to hide them.
My problem is that one menuitem is still visible, Klubbholmen.
The menuitem has no text in the english version but the Swedish text is shown for that menu when visiting the english part of my site.
If I enter some text for that menu item in the english part the menuitem gets that text. But I do not whant to shown that menu at all.

A bug?

The address to my demo site is http://batklubb.joodit.com

/Erik

https://wordpress.org/plugins/qtranslate-x/

I found out that if I write the following in the Theme-Customiser it works, and the menuitem is hidden.

[:sv]Klubbholmen[:en][:]

But I still think that is a bug!

/Erik

John Clause
Member
Plugin Author

Posted 1 hour ago #

Thanks a lot for the report. I could not reproduce it though. 3.4.8 is not stable or well tested, I would not recommend to use it.

erikture
Member
Posted 46 minutes ago #

The bug is present in 3.4.6.5 to so I upgraded to 3.4.8 to see if it was fixed. But it was not.

/Erik

John Clause
Member
Plugin Author

Posted 38 minutes ago #

I see. Can you reproduce it under a standard theme, like twenty sixteen, and with no other plugins?

erikture
Member
Posted 26 minutes ago #

Yes I can.
If you visit my site:
http://batklubb.joodit.com and http://batklubb.joodit.com/en

The menuitem Klubbholmen should not be visible in the english version.
The only plugin active is qtranslate-x.

Tell me when I can switch back to my ordinary theme and reactivate the plugins.

/Erik

John Clause
Member
Plugin Author

Posted 7 minutes ago #

I see. Could you tu on "Editor Raw Mode" on page /wp-admin/options-general.php?page=qtranslate-x#advanced and see what is shown in the menu title field for "Klubbholmen"? Maybe there is a space or some other weird thing there? It should be like this: "[:sv]Klubbholmen[:en][:]" as you pointed out.

erikture
Member
Posted 1 minute ago #

This is whats in the menu title field: [:sv]Klubbholmen[:]
And so is it in all other menuitems that is only visible in the swedish site.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 120 تاريخ : يکشنبه 5 ارديبهشت 1395 ساعت: 1:44