Function getZenpageStatistic
Gets the statistic for pages, news articles or categories 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, articles and categories "news" for news articles "categories" for news categories "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 and news articles</p> |
boolean |
$sortdirection = true |
true for descending (default); false for ascending |
array
|
array |