Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Country Specific Menu Items

Apraksts

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.

izmantot

  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

Ekrānuzņēmumi

  • Go to Menus Page
  • Select Countries
  • Select Visibility

Uzstādīšana

  1. Upload the /location-specific-menu-items-by-country/ directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  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.

BUJ

Installation Instructions
  1. Upload the /location-specific-menu-items-by-country/ directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  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.

Atsauksmes

22 novembris, 2016 1 atbilde
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
3 septembris, 2016 1 atbilde
Best way to customize menu to different visitors audiences.
Lasīt 5 atsauksmes

Autori un izstrādātāji

“Country Specific Menu Items” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Country Specific Menu Items” savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

1.0.0

  • First release!

1.0.1

  • Changed the plugin to store user location is a session variable. This drastically increased page load speed by reducing calls to the database.
  • Fixed problem with conflicting CSS from other plugins

1.0.2

  • Changed plugin name from Location Specific Menu Items by Country to Country Specific Menu Items. I was originally planning to add different types of locations (city, state, continent, etc.) to this plugin and then remove the by Country, but have decided instead to just create a completely new plugin for each type of location.

1.0.3

  • Move list of countries into an array in a seperate file.

1.0.4

  • Hunted down and replaced a with ” that is apparently no longer supported as of 4.7.4 – Yes, it actually broke the plugin.