diff --git a/page-sponsors.php b/page-sponsors.php index 6147f57..b2db166 100644 --- a/page-sponsors.php +++ b/page-sponsors.php @@ -24,13 +24,21 @@ get_header(); ?> while ( $sponsors->have_posts() ) : $sponsors->the_post(); ?>
-'; + } + if ( has_post_thumbnail() ) { the_post_thumbnail(); } else { the_title(); } + if (!empty ($custom['url'])) { + echo ''; + } the_excerpt(); ?>