Skip to content

Instantly share code, notes, and snippets.

<?php
// Set up arrays to hold the post objects
$rotator_items = $testimonial_items = array();
// Loop through rotator items
$rotator_args = array( 'post_type' => 'rotator' );
$rotator = new WP_Query( $rotator_args );
$c1 = 0;