posts, 4); // make a chunk of 4 members for each row
$themeID = 'ID-' . (rand(1, 10)+time());
$st4['themeID'] = $themeID;
// data to be sent css and fonts to the partials/style.php
$data = array(
'st4' => $st4,
'fs' => $fs,
);
?>
loadTheme('style4/partials/style', array('data' => $data));
?>
$four_members ) {
echo '
';
// Second Loop start
foreach ($four_members as $member ) {
$member_info = $ADL_team->get_all_info_of_member($member);
$member_info['show_member_detail'] = !empty($show_member_detail) ? $show_member_detail: '';
$member_info['crop_image'] = !empty($crop_image) ? $crop_image: '';
$member_info['image_upscale'] = !empty($image_upscale) ? $image_upscale: '';
$member_info['popup_show'] = !empty($popup_show) ? $popup_show: '';
$member_info['image_width'] = !empty($st4['image_width']) ? $st4['image_width']: '270';
$member_info['image_height'] = !empty($st4['image_height']) ? $st4['image_height']: '322';
$ADL_team->loadTheme('style4/partials/member', array('member_info' => $member_info));
} // Ends Second Loop
echo '
'; // Ends adl-row
} // Ends First Loop
?>