Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Wang Bin

    (@ouhinit)

    Hello PixArt
    The display of the menu what do you use?
    wp_nav_menu
    OR
    wp_page_list
    Please tell me

    And
    Please tell methe URL of the site.

    Thread Starter PixArt

    (@pixart)

    I used wp_nav_menu . I resolved this issue with simple js function:

    $(document).ready(function () {
    	if ( $('html').attr('lang') == 'en-US' ) {
    		 $("#menu-item-80, #menu-item-70, #menu-item-81").hide();
    	};
    });

    For me it’s sufficient, but you can also add your resolve.

    Plugin Author Wang Bin

    (@ouhinit)

    If I am, you might use a regular expression of PHP,
    I think this good.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to hide something in different languages?’ is closed to new replies.