Listo

描述

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 supports 27 lists.

安裝

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

評價

2020年8月29日
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.
2020年5月11日
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 );
閱讀全部12個評價

貢獻者及開發者

“Listo” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Listo 外掛目前已有 10 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Listo 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.7

  • Requires WordPress 6.2+ and PHP 7.4+.

1.6

  • Removes the switch_to_locale() and restore_previous_locale() calls.

1.5

  • Adds a module for subdivisions of Poland.

1.4

  • Uses switch_to_locale() to switch locale.