display_records — Get HTML for records.
Added in version 3.2.
Summary
- display_records($recordType, $count = 3, $partialPath = null, $partialParams = array(), $query = array())
Get HTML for records.
- Parameters:
$recordType (
string) – Type of record to display (Item, Collection, etc.)$count (
int) – Maximum number of records to display$partialPath (
string|null) – Custom partial to use to display each record; pass null for the default$partialParams (
array) – Parameters to pass to the partial$query (
array) – Query passed to get_records to get the records to display; default is “random featured”
- Returns:
string