WordPress.org

Ready to get started?Download WordPress

Plugin Reviews

qTranslate remove one language menu item

Remove untranslated menu items from menu by simply removing the language string. Use when a menu should appear in one language only.

4 reviews
Average Rating
2 stars
2.8 out of 5 stars
3 stars
Allison - you are great!
By , for WP 3.8.1

I also initially liked the plugin but had the same issues. Without your hack I would have given up. Don't see why the developer does not fix this. On the downside I have to edit the CSS if I ever change the menu names. I am using WP 3.8.1 and latest Genesis framework.

3 stars
Kinda buggy, but I have some temporally solution
By , for WP 3.6.1

At the first moment, I loved the plugin's idea.
I implemented it on my site to solve the "(Language) Page Title" problem.

But it leaves some blank spaces in the menu and sometimes changes the item order depending which language is active.

After some hours, I was able to find a solution.

  • About the blank spaces
    The plugin leaves a blank list item (li) where isn't a title for the active language, with a blank class menu-item- where it should be menu-item-POST_ID. So, in my css I wrote:

    #mymenu li.menu-item- {display: none !important;}
  • About wrong item order
    In the qtranslate-remove-menu-item.php file in the plugin folder, there is the following code in the myMenuExits function:

    return empty($strings[$lang]) ? 'null' : $obj;

    It completely destroys the object, making WordPress behaving in a strange way. So, I replaced the line I quoted for:

    if( empty($strings[$lang]) )
    	{
    		$obj->ID 		= '';
    		$obj->title 	= '';
    		$obj->post_name = '';
    		$obj->db_id 	= '';
    	}
    
    	return $obj;

I hope this temporally solution helps some people!

1 star
Does not seem to work
By , for WP 3.6.1

This plugin does not seem to work with the most current WordPress version. A shame because I do love the concept of functionality!

4 stars
Empty spaces
By ,

Hi,
I like the plugin. It solves my problem. There is one thing: it doesn't clear "li" or "a" tags, just removes text. So there could be a small gap between 2 menu item. Thanks.

You must log in to submit a review. You can also log in or register using the form near the top of this page.