From b437acaaa723300e06525abf58ed0f067877eb50 Mon Sep 17 00:00:00 2001 From: Monika Eftimova Date: Sun, 5 Oct 2014 03:23:42 +0300 Subject: [PATCH] Add page template for sponsors --- page-sponsors.php | 51 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/page-sponsors.php b/page-sponsors.php index e69de29..db73537 100644 --- a/page-sponsors.php +++ b/page-sponsors.php @@ -0,0 +1,51 @@ + +
+ +
+
+
+ 'sponsors', 'orderby' => 'rand' ); + $sponsors = new WP_Query( $sponsors_args ); + $sponsor_count = 0; + + if ( $sponsors->have_posts() ) : + while ( $sponsors->have_posts() ) : $sponsors->the_post(); +?> +
+ +
+ +
+
+ + +
+ +