该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Country Specific Menu Items

描述

Country Specific Menu Items* allows you to either hide or show individual menu items to your website’s visitors located in different countries. The plugin adds additional settings to each menu item listed under Appearance > Menus. Just select one or more countries and choose whether to show or hide the menu item from those countries. CSMI provides the option to use MaxMind Geolite data to determine users’ locations from their IPv4 or IPv6 Addresses. MaxMind databases are automatically updated every 30 days. Visit http://www.maxmind.com to learn more. *A City Specific Menu Items plugin is in the works.

用法

  1. After installation, go to Appearance > Menus and create or edit a menu item.
  2. Choose one or more countries in the select box titled “Set Visibility”
  3. Select the radio button titled “Hide from these countries” to hide the menu item from all the countries you selected above, or select the radio button titled “Only show to these countries” to display the menu item only to the countries you selected above

屏幕截图

  • Go to Menus Page
  • Select Countries
  • Select Visibility

安装

  1. Upload the /location-specific-menu-items-by-country/ directory to the /wp-content/plugins/ directory
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. Optionally, click the button in the admin notification to download Geolite databases
  4. Locate the ‘Menus’ item on the ‘Appearance’ menu
  5. While editing a menu item, you will see a new option called Set Visibility Select one or more countries, and then select whether to only show or to hide these menu items from the specified countries.

常见问题

Installation Instructions
  1. Upload the /location-specific-menu-items-by-country/ directory to the /wp-content/plugins/ directory
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. Optionally, click the button in the admin notification to download Geolite databases
  4. Locate the ‘Menus’ item on the ‘Appearance’ menu
  5. While editing a menu item, you will see a new option called Set Visibility Select one or more countries, and then select whether to only show or to hide these menu items from the specified countries.

评价

2016 年 11 月 22 日 1 回复
Hello author we are using custom theme and use this plugin but we can not see any option in menu list Please assist even its working on normal wordpress themes Thank You
2016 年 9 月 3 日 1 回复
Best way to customize menu to different visitors audiences.
阅读所有5条评价

贡献者及开发者

「Country Specific Menu Items」是开源软件。 以下人员对此插件做出了贡献。

贡献者