blob: d6bc4a0df280cca4c60c9325ab74ae4776a9c6c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<div class="contentWrapper">
<?php
//the number of files to display
$number = (int) $vars['entity']->num_display;
//if no number has been set, default to 6
if (!$number) {
$number = 6;
}
echo '<div class="tidypics_widget_latest">';
echo tp_get_latest_photos($number, page_owner());
echo '</div>';
?>
</div>
|