'sponsors', 'orderby' => 'rand' ); $sponsors = new WP_Query( $sponsors_args ); $sponsor_count = 0; if ( $sponsors->have_posts() ) : while ( $sponsors->have_posts() ) : $sponsors->the_post(); ?>
'; } if ( has_post_thumbnail() ) { the_post_thumbnail(); } else { the_title(); } if (!empty ($custom['url'])) { echo ''; } the_excerpt(); ?>