Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (12 sloc) 581 Bytes
<?php foreach (sudweb_get_sponsors() as $type): ?>
<div class="<?php echo $type['post']->slug; ?>">
<h3><span><?php echo $type['post']->name; ?></span></h3>
<ul class="<?php echo $type['post']->slug; ?>">
<?php foreach ($type['sponsors'] as $post): setup_postdata($post); ?>
<li><a href="<?php the_permalink() ?>" rel="bookmark">
<?php (has_post_thumbnail() && $type['post']->slug != 'bronze') ? the_post_thumbnail('sponsor-logo-'.$type['post']->slug, array('class' => 'illustration')) : the_title(); ?>
</a></li>
<?php endforeach ?>
</ul>
</div>
<?php endforeach ?>