This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Randomize

Description

Randomize zeigt Text und andere Inhalte in zufälliger Reihenfolge an. Im Adninistrationsbereich können Sie Zitate, Fakten, Bilder, Videos und vieles mehr kategorisiert hinzufügen. Mit einem Widget, Shortcode oder PHP-Template-Tag werden die Inhalte dann ausgegeben.

Für Übersetzung vorbereitet

Seit 1.4 veröffentlicht wurde ist Randomize übersetzungsfähig. Du bist eingeladen deine Sprache unter translate.wordpress.org hinzuzufügen oder an der Verbesserung beizutragen!

Entwicklungshinweis

Ich bin nicht der Originalautor dieses Plugins. Da der ursprüngliche Autor die Entwicklung jedoch eingestellt hat habe ich mich vor Längerem dazu entschieden die freie Verteilung unter dem neuen Namen «Randomize» weiterzuführen. Es basiert auf «Random Text» von pantsonhead.

Screenshots

  • Beispielausgabe im Forntend
  • Import eines Inhalts, der HTML-Code enthält
  • Massenverarbeitung mit mehreren Zeilen
  • Übersicht von Randomize
  • Konfiguration per Widget

Installation

  1. Laden Sie die ZIP-Datei im Administrationsbereich unter «Plugins installieren» hoch und aktivieren Sie es.
  2. Wechseln Sie zu «Anpassen» -> «Widgets» zur Einrichtung des Widgets, oder verwenden Sie alternativ den Shortcode oder das PHP-Template-Tag.
  3. Einträge können unter «Einstellungen» -> «Randomize» verwaltet werden.

Hinweis: Während der Installation legt Randomize eine Tabelle in der WP-Datenbank an, um die Einträge zu speichern. Nach der Installation sollten bereits zwei Beispiele in Randomize zu sehen sein.
Sofern Sie das Plugin mal deinstallieren wird auch die Tabelle wieder entfernt.

FAQ

Kann ich Shortcodes benutzen?

Natürlich! Sie können verwenden:
[randomize] für alle eingefügten Inhalte
[randomize category=’EXAMPLE_CATEGORY›] für eine spezifische Kategorie
[randomize category=’EXAMPLE_CATEGORY› random=’1′] für eine spezifische Kategorie mit Zufälligkeitsmodus

Wie sieht es mit Template-Tags aus?

Diesen Code können Sie verwenden, wobei ‹EXAMPLE_CATEGORY› mit der Kategorie ersetzt werden muss, aus der die Inhalte angezeigt werden sollen:

<?php randomize('EXAMPLE_CATEGORY'); ?>

Kann ich Bilder einfügen?

Mit dem bekannten HTML-Tag können Bilder eingefügt werden, die zuvor zum Beispiel in der Mediathek hochgeladen wurden. Es ist manchmal übrigens empfehlenswert eine einzelne Kategorie für Bilder anzulegen.

Reviews

30. August 2022
The plugin does what it should and the bulk actions and categories are super solved! It would still be nice if you could output each widget with an indvidual class or format such as Div, H1, H2.
5. Juni 2022
It is a really simple plugin and it works as intended but there are no docs on the plugin page about what the shortcode syntax, turn to the FAQ here and you will find that there is a spelling mistake in the shortcode docs, with randomise instead of randomize, only the american spelling 'randomize' will work. Author if you are still about, can you correct this please and maybe add a little to the plugin config page with the shortcode syntax so we don't have to hunt it down here. Thanks
10. Februar 2019 1 reply
I utilized this plugin to generate random text links. It works fine on the default rotation setting but not at all on the random setting. On your widget you state that when using large numbers of entries, that some will never show up in random mode. I'm using 9 (soon to be 12) text links and it only brings up the first row in the database. Could this be because the random function has a static number used as the maximum random value? I know PHP but am just learning Wordpress hooks & functions. I will try and look at the underlying code when I get a chance. When I use the random function in a LAMP environment I make 2 database queries. One to get the row count of files, then I use that variable as the maximum value when I call the random function.
4. Oktober 2016
I have problem, i just started with WP and migrate my web from another CMS, so I have enabled debug mode and it says: Notice: The called constructor method for WP_Widget in randomize is deprecated since version 4.3.0! Use __construct() instead. Can comebody fix this plugin? Yes, I know if I disable debug mode, message goes away.
Read all 8 reviews

Contributors & Developers

“Randomize” is open source software. The following people have contributed to this plugin.

Contributors

“Randomize” has been translated into 8 locales. Thank you to the translators for their contributions.

Translate “Randomize” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

v1.4.2 2018-08-01

  • Lokale Sprachdateien entfernt (werden nicht mehr benötigt)
  • Kleinen Spendenlink im Administrationsbereich hinzugefügt

v1.4 2018-04-27

  • auf Mehrsprachigkeit vorbereitet
  • deutsche Sprachdatei hinzugefügt
  • erfordert nun WordPress 4.6 oder neuer
  • erfordert nun PHP 5.6 oder neuer

v1.3.1 2018-04-26

  • mit WordPress 4.9.5 getestet
  • Lizenz zu GPLv3 aktualisiert
  • Vorschaubilder aktualisiert
  • FAQ für PHP-Template-Tags aktualisiert
  • Benötigte PHP-Version aktualisiert

v1.3 2017-03-05

  • Hotfix

v1.1 2016-10-20

  • Funktion «WP_Widget()» mit «parent::__construct()» ersetzt (veraltet seit WordPress 4.3)

v1.0 2014-06-03

  • Erste Veröffentlichung