Listo

Beschreibung

Listo ist ein einfaches Plugin, das anderen Plugins und Themes häufig verwendete Listen bereitstellt.

Verwendung

$countries = listo(
    // List type
    'countries',
    // Options
    array(
        'group' => 'un',
        'orderby' => 'value',
        'order' => 'DESC',
    )
);

Installation

  1. Lade den ganzen Ordner listo in das Verzeichnis /wp-content/plugins/ hoch.
  2. Aktiviere das Plugin über das Menü „Plugins“ in WordPress.

Rezensionen

29. August 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. Mai 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 );
Alle 12 Rezensionen lesen

Mitwirkende & Entwickler

„Listo“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

„Listo“ wurde in 12 Sprachen übersetzt. Danke an die Übersetzerinnen und Übersetzer für ihre Mitwirkung.

Übersetze „Listo“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

1.9

  • New list module: emoji_flags — Unicode emoji flag sequences
  • Introduces the Listo_DataList class and the datalist shortcode.
  • Adds the telephone_country_codes and telephone_country_codes_noflag data list types.
  • Adds utility methods to the countries_a2a3 and telephone_country_codes list modules.

1.8

  • Ländernamen aktualisiert in modules/countries.php.
  • Unterstützung der Optionen orderby und order hinzugefügt zu listo().
  • Zuordnungstabelle der Codes ISO 3166-1 Alpha-2 und Alpha-3 hinzugefügt unter modules/countries-a2a3.php.
  • Liste der Ländervorwahlen nach ITU-T E.164 hinzugefügt unter modules/telephone-country-codes.php.
  • Erfordert WordPress 6.4 oder höher.