Title: WP Country
Author: andreyk
Published: <strong>Декабрь 28, 2013-ж.</strong>
Last modified: Апрель 16, 2016-ж.

---

Плагиндерди издөө

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-country.svg)

# WP Country

 Автору [andreyk](https://profiles.wordpress.org/andreyk/)

[Жүктөө](https://downloads.wordpress.org/plugin/wp-country.zip)

 * [Кенен маалымат](https://ky.wordpress.org/plugins/wp-country/#description)
 * [Сын-пикирлер](https://ky.wordpress.org/plugins/wp-country/#reviews)
 *  [Орнотуу](https://ky.wordpress.org/plugins/wp-country/#installation)
 * [Development](https://ky.wordpress.org/plugins/wp-country/#developers)

 [Колдоо](https://wordpress.org/support/plugin/wp-country/)

## Сүрөттөө

To use the WP Country plugin in your theme or plugin add `global $wp_country;` into
your theme or plugin PHP file,
 then:

 * `$wp_country->countries_list()` is an array of country names
 * `$wp_country->dropdown()` prints or returns countries as dropdown HTML tag.
 * `$wp_country->name($alpha2)` returns the name of a country by it’s 2-character
   code.

Russian translation is available now.

## Орнотуу

 1. Upload the `wp-country` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin.

## FAQ.KG

Advanced usage: `dropdown($blank, $echo, $args)`

  Parameters Description

 * _blank_: if not empty then `<option value=''>` will be added into dropdown list.
   Default: ”.
 * _echo_: prints the list if true else returns. Default: true.
 * _args_: an array of extra parameters. Default: `array('include' => array(), '
   exclude' => array(), 'name' => 'country', 'id' => '', 'selected' => array(), '
   multiple' => false)`.

  Description of `args` components

 * _include_, _exclude_: an array of country codes (alpha2) should be included into
   dropdown list or excluded from it.
 * _name_: `name` attribute of the SELECT tag.
 * _id_: `id` attribute (not displayed by default).
 * _class_: `class` attribute of the SELECT tag (empty by default).
 * _multiple_: enables multiple select.
 * _selected_: adds the `selected` attribute.

## Сын-пикирлер

There are no reviews for this plugin.

## Contributors & Developers

“WP Country” is open source software. The following people have contributed to this
plugin.

Мүчөлөрү

 *   [ andreyk ](https://profiles.wordpress.org/andreyk/)

[Translate “WP Country” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-country)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-country/), check
out the [SVN repository](https://plugins.svn.wordpress.org/wp-country/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/wp-country/) by 
[RSS](https://plugins.trac.wordpress.org/log/wp-country/?limit=100&mode=stop_on_copy&format=rss).

## Өзгөртүүлөр

 * 0.2 Add `class` parameter for dropdown list.
 * 0.1 Initial version.

## Мета

 *  Нуска **0.2**
 *  Акыркы жаңыртуу **10 жыл мурун**
 *  Активдүү орнотуулар **90+**
 *  WordPress нускасы ** 3.6 же андан жогору **
 *  Tested up to **4.5.33**
 *  Тил
 * [English (US)](https://wordpress.org/plugins/wp-country/)
 * Тег:
 * [countries list](https://ky.wordpress.org/plugins/tags/countries-list/)[country](https://ky.wordpress.org/plugins/tags/country/)
   [dropdown](https://ky.wordpress.org/plugins/tags/dropdown/)[select](https://ky.wordpress.org/plugins/tags/select/)
 *  [Advanced View](https://ky.wordpress.org/plugins/wp-country/advanced/)

## Рейтинг

Азырынча эч кандай сын-пикир жок.

[Your review](https://wordpress.org/support/plugin/wp-country/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-country/reviews/)

## Мүчөлөрү

 *   [ andreyk ](https://profiles.wordpress.org/andreyk/)

## Колдоо

Комментарийлер барбы? Жардам керекпи?

 [Колдоо форумун көрүү](https://wordpress.org/support/plugin/wp-country/)