Function printLatestNews
Prints the latest news either only news articles or with the latest images or albums as a unordered html list
NOTE: Latest images and albums require the image_album_statistic plugin
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 = 5 |
The number of news items to get |
string |
$category = '' |
Optional news articles by category (only "none" option" |
boolean |
$showdate = true |
If the date should be shown |
boolean |
$showcontent = true |
If the content should be shown |
integer |
$contentlength = 70 |
The lengths of the content |
boolean |
$showcat = true |
If the categories should be shown |
string |
$readmore = NULL |
Text for the read more link, if empty the option value for "zenpage_readmore" is used |
boolean |
$sticky = true |
place sticky articles at the front of the list |
string
|
string |