Zap_Recent_Commented (Wordpress Plugin)
Deutsch:
Das Plugin Zap_Recent_Commented zeigt die Artikel mit den neuesten Kommentaren an (z. B. in der Sidebar). Es wird nicht der Kommentar selbst ausgegeben, sondern die Artikel in der Reihenfolge der letzten Kommentare. Der Artikel mit dem neuesten Kommentar erscheint in der Liste ganz oben. Die Anzahl der darzustellenden Beiträge kann festgelegt werden (Standard 5). Klickt man auf den Link des Artikels, gelangt man direkt zum letzten Kommentar des Beitrags.
Installation
- Datei zap_recent_commented_v1.0.zip herunterladen und entpacken (WinZip)
- Datei zap_recent_commented.php in das Plugin-Verzeichnis der Wordpress-Installation kopieren
- Plugin Zap_Recent_Commented im Administrationsbereich aktivieren
Verwendung
An entsprechender Stelle im Theme die Funktion zap_recent_commented() aufrufen. Beispiel Sidebar:
<li>
<h2>Kommentare</h2>
<ul>
<?php if (function_exists(zap_recent_commented))
zap_recent_commented(); ?>
</ul>
</li>
Folgende Variablen in der Datei zap_recent_commented.php können geändert werden (Zeilen 14-24):
- $show_commented – Anzahl der Beiträge, die angezeigt werden sollen (default: 5)
- $today – Das Wort „Heute“ in deiner Sprache (default: „Heute“)
- $yesterday – Das Wort „Gestern“ in deiner Sprache (default: „Gestern“)
- $show_pingtrack – true, wenn Pingbacks und Trackbacks berücksichtigt werden sollen (default: false)
Demo
Im Einsatz kann man das Plugin in meiner Sidebar unter dem Punkt „KOMMENTIERT:“ sehen.
English
No, zap doesn‘t mean „to zap“. In fact Zap is a short name for my nickname Zappelfillip!
The wordpress plugin Zap_Recent_Commented shows recent commented posts (e.g. in sidebar), not the comment itself but the post title. The post with latest comment will be displayed first. Number of posts shown can be specified (default 5). Post title links to article’s last comment.
Installation
- download and unpack zap_recent_commented_v1.0.zip (WinZip)
- copy zap_recent_commented.php into plugin directory of your wordpress installation
- activate plugin Zap_Recent_Commented in admin panel
Usage
Call function zap_recent_commented() in your template. Example for sidebar:
<li>
<h2>Recent Commented</h2>
<ul>
<?php if (function_exists(zap_recent_commented))
zap_recent_commented(); ?>
</ul>
</li>
The following variables in zap_recent_commented.php can be changed (lines 14 to 24):
- $show_commented – number of posts showd (default: 5)
- $today – the word „today“ in your language (default: „Heute“)
- $yesterday – the word „yesterday“ in your language (default: „Gestern“)
- $show_pingtrack – true if pingbacks and trackbacks shall be considered (default: false)
Demo
Look at my sidebar on „KOMMENTIERT:“.
Thematisch verwandte Artikel
- Gedankenübertragung
- Zap_ImgPop schon wieder runderneuert
- WP-OnlineCounter erweitert (Wordpress Plugin)
- deutsche Umlaute in WP-ContactForm
- Ganz kurz in eigener Sache















