random_featured_items
— Get HTML for random featured items.
Summary
- random_featured_items($count = 5, $hasImage = null)
Get HTML for random featured items.
- Parameters:
$count (
int
) – Maximum number of items to show.$hasImage (
bool
) – Whether or not the featured items must have images associated. If null, as default, all featured items can appear, whether or not they have files. If true, only items with files will appear, and if false, only items without files will appear.
- Returns:
string