Опис
Listo is a simple plugin that supplies other plugins and themes with commonly used lists.
Usage
$countries = listo(
// List type
'countries',
// Options
array(
'group' => 'un',
'orderby' => 'value',
'order' => 'DESC',
)
);
Встановлення
- Upload the entire
listo
folder to the/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
Відгуки
Учасники та розробники
“Listo” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
Учасники“Listo” було перекладено на 13 локалізацій. Дякуємо перекладачам за їх роботу.
Перекладіть “Listo” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
1.9
- New list module:
emoji_flags
— Unicode emoji flag sequences - Introduces the
Listo_DataList
class and thedatalist
shortcode. - Adds the
telephone_country_codes
andtelephone_country_codes_noflag
data list types. - Adds utility methods to the
countries_a2a3
andtelephone_country_codes
list modules.
1.8
- Updates country names in modules/countries.php.
- Adds support of the
orderby
andorder
options tolisto()
. - Adds modules/countries-a2a3.php as the mapping table of ISO 3166-1 Alpha-2 and Alpha-3 codes.
- Adds modules/telephone-country-codes.php as the list of ITU-T E.164 country calling codes.
- Потрібна версія WordPress 6.4+.