Description
Bei WordPress gibt es das Tag “wp-list-authors”, mit dem sich eine Liste aller Autoren aufrufen lässt. Dieses Liste beinhaltet jedoch nur Autoren, die bereits einen Beitrag verfasst haben.
Wer in einem Multi-User-Blog eine Liste aller User erstellen möchte, also auch solcher, die noch keinen Beitrag verfasst haben, kann dies mit dem Plugin “List all authors”.Wordpress has the tag “wp-list-authors” to get a list of all authors. This list includes only those authors who already published a post.
Anyone who wants to have a list of users with AND without posts, for exmple in multi-user-blogs, can have it now with my plugin.
Installation
- Plugin runterladen, extrahieren und in den Ordner wp-content/plugins hochladen.
- Plugin aktivieren.
- Die Liste von Autoren an der gewünschten Stelle (Sidebar oder besondere Seite) mit folgender Funktion aufrufen:
Diese Funktion beinhaltet folgende Parameter:
optioncount=1 Anzahl der Artikel wird angezeigt. Falls dies nicht gewünscht ist, statt der 1 eine 0 setzen.
hide_empty=0 Auch User ohne Beiträge werden angezeigt. Falls nur User mit Beiträgen angezeigt werden sollen, hier eine 1 setzen.
exclude_admin=0 Der Administrator wird in der Liste angezeigt. Falls dies nicht gewünscht ist, statt der 0 eine 1 setzen.
Es können alle Parameter der WordPress-Funktion wp-list-authors genutzt werden.
Fertig!
Das Plugin steht kostenfrei zur Verfügung. Falls es Dir gefällt, schenk mir einen Kommentar.
For the english-speaking friends:
I got it! My first wordpress-plugin runs!1. Download Plugin, unzip it and upload it to the to the root of your WordPress “plugins” folder (should be file wp-content/plugins).
2. Acivate it on the admin panel.
3. You get the list of authors wherever you want (sidebar or separate page) by using the function wp_all_authors.
This function includes:
optioncount=1 The number of posts of each author is shown. If you don’t want this, write 0 instead of 1.
hide_empty=0 Users without posts are shown. If you only want to show users with posts, use an 1 instead of 0:
exclude_admin=0 The administrator of the blog is shown. If you don’t want this, use the 1 instead of 0.
You can use all parameters of wordpress-function wp-list-authors.
That’s it!
The plugin is for free use. If you like it, don’t give money, but a comment 😉
Enjoy!
Reviews
There are no reviews for this plugin.
Contributors & Developers
“List-all-authors” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “List-all-authors” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0 initial release