• Hi,

    Most posts of Post Types enabled in “Falang” > “Settings” > “Translate Options” can be locale-specific: most posts may show only in specified languages.

    However, Navigation Menu Item nav_menu_item is a post type too but I can’t seem to find a “Select Language visibility” option like with other post types (because they don’t have a /wp-admin/post.php?post=POST_ID&action=edit screen).

    How would I achieve the same outcome with Navigation Menu Items?

    Right now I’m handling hiding menus with custom CSS (hiding based on html[lang="zh-CN"] #menu-item-[ITEM_ID]) but this is not a sustainable solution.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Maybe u can try to use the current-language slug to manually filter items? $GLOBALS[‘falang_core’]->current_language->slug

    Plugin Author sbouey

    (@sbouey)

    Actually i haven’t make this possible , it’s possible on post/page/cpt and widgets (not the new versio yet)

    It’s in the TODO but i don’t have date of release yet.

    Stéphane

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide menu in specific language’ is closed to new replies.