Function printMostPopularItems
Prints the most popular pages, news articles and 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 and articles "news" for news articles "pages" for pages</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 |