Function printZenpageStatistic
Prints the statistics Zenpage items as an unordered list
Package: plugins\zenpage
Author: Malte Müller (acrylian), Stephen Billard (sbillard)
Located at zp-extensions/zenpage/zenpage-template-functions.php
Author: Malte Müller (acrylian), Stephen Billard (sbillard)
Located at zp-extensions/zenpage/zenpage-template-functions.php
integer |
$number = 10 |
The number of news items to get |
string |
$option = "all" |
<p>"all" pages and articles "news" for news articles "pages" for pages</p> |
string |
$mode = "popular" |
<p>"popular" most viewed for pages, news articles and categories "mostrated" for news articles and pages "toprated" for news articles and pages "random" for pages, news articles and categories</p> |
boolean |
$showstats = true |
if the value should be shown |
boolean |
$showtype = true |
if the type should be shown |
boolean |
$showdate = true |
if the date should be shown (news articles and pages only) |
boolean |
$showcontent = true |
if the content should be shown (news articles and pages only) |
boolean |
$contentlength = 40 |
The shortened lenght of the content |
string |
$sortdir = 'desc' |
"asc" for ascending or "desc" for descending (default) |