Listo

Mô tả

Listo is a simple plugin that supplies other plugins and themes with commonly used lists (such as lists of countries, subdivisions of countries, and currencies). Listo is also able to filter list items based on defined subgroups. For example, Countries provides a list of countries and dependent territories based on the ISO 3166 standard (249 items), and its subgroup ‘un’ only includes members of the United Nations (193 items).

Listo currently has the following lists and subgroups.

  1. Countries (countries) — A list of countries and dependent territories based on the ISO 3166 standard (249 items).

    Subgroups:

    • un — Members of the United Nations (193 items)
    • olympic — Countries and dependent territories that have their National Olympic Committee (205 items)
  2. U.S. Subdivisions (us_subdivisions) — The list of subdivisions of the United States based on the ISO 3166-2:US standard (57 items).

    Subgroups:

    • states (50 items)
    • districts (1 item; District of Columbia)
    • outlying_areas (6 items)
  3. Currencies (currencies) — A list of currencies based on the ISO 4217 standard (156 items).

    Subgroups: None

  4. Time Zones (time_zones) — UTC offsets.

    Subgroups: None

  5. Subdivisions of India (in_subdivisions) — The list of subdivisions of India based on the ISO 3166-2:IN standard (36 items).

    Subgroups:

    • states (29 items)
    • union_territories (7 items)

Cài đặt

  1. Upload the entire listo folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Đánh giá

29 Tháng Tám, 2020
LISTO is an excellent little addition to Contact Form 7. Saves lots of time. Only one small snag in the list of countries is that they're sorted in alphabetical order of the 3-letter code for each country, rather than the country's name. Most of the time that makes hardly any difference, except for the United Kingdom, whose three-letter code is GBR, which places the UK between Gabon and Guinea (or somewhere around there) in the drop-down list, making it v diff to find. But this is easily sorted. Just manually move that line by editing the list in the file countries.php in wp-content/plugins/listo/modules/. Problem solved. Great plugin.
11 Tháng Năm, 2020
Excellent and useful plugin, unfortunately list countries are not accurately by alphabetical order. Thanks to the community, add this to you function.php and it will work like a charm. function wpcf7_listo_ordered( $data) { sort($data); return $data; } add_filter( 'wpcf7_form_tag_data_option', 'wpcf7_listo_ordered', 11, 1 );
27 Tháng Tư, 2017
Great plugin. Just want to suggest adding the date of birth option with date: 1 to 31, the months and years
7 Tháng Ba, 2017
It makes the work easier. I'm using it with Contact Form 7.
Đọc tất cả 10 đánh giá

Người đóng góp & Lập trình viên

“Listo” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Listo” đã được dịch qua 7 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Listo” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.2.3

  • REST API: Adds the permission_callback argument to the endpoint definition.

1.2.2

  • “Stable tag” refers to trunk.

1.2.1

  • Modified some code following the WordPress coding standard.
  • Confirmed compatibility with the current WordPress.
  • Language files have moved to translate.wordpress.org so removed them from the plugin package.

1.2

  • Added a REST API endpoint.
  • Added the in_subdivisions (Subdivisions of India) module.
  • Updated the olympic group of the Countries list module based on the countries and dependent territories that have their National Olympic Committee.