תיאור
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
listofolder to the/wp-content/plugins/directory. - Activate the plugin through the 'Plugins' menu in WordPress.
סקירות
18 ביוני 2023
Great country list to avoid us to list them manually
27 במאי 2021
Hola como funciona, lo instale pero no veo las opciones
gracias
29 באוגוסט 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 במאי 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 );
21 במאי 2019
Thank you so much for making this plugin.
29 בנובמבר 2017
Have a lot of default lists, but i couldn't customize with my own lists
מפתחים
"Listo" הוא תוסף קוד פתוח. האנשים הבאים תרמו ליצירת התוסף הזה.
תורמים“Listo” תורגם ל-13 שפות. תודה רבה למתרגמים על תרומתם.
ניתן לתרגם את "Listo" לשפה שלך.
מעוניינים בפיתוח?
עיינו בקוד, ראו את הקוד ב-SVN repository, או הירשמו ללוג פיתוח באמצעות RSS.
שינויים
1.9.1
- Changes the author name to Rock Lobster Inc. (a Japan-based company that the original author, Takayuki Miyoshi, owns)
- Confirmed WordPress 7.1 compatibility.
1.9
- New list module:
emoji_flags— Unicode emoji flag sequences - Introduces the
Listo_DataListclass and thedatalistshortcode. - Adds the
telephone_country_codesandtelephone_country_codes_noflagdata list types. - Adds utility methods to the
countries_a2a3andtelephone_country_codeslist modules.