跳到内容

Country Specific Menu Items

v1.0.4

Ryan Stutzman · 2016年3月6日 上架

Control the visibility of individual menu items based on a user's country.

正在使用
10+
评分
4.5 / 5
累计下载
5,432
最近更新
2017年5月6日
4 条评价需要 WordPress 3.1+已测试到 4.8.35

贡献者

截图

Go to Menus Page
Go to Menus Page
Select Countries
Select Countries
Select Visibility
Select Visibility

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.

Usage

  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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums