There is also a fix that can be implemented programmatically into “cr3ativ-sponsor.php”:
$output = '';
$temp_title = '';
$temp_link = '';
$temp_excerpt = '';
$temp_image = '';
$count = 0;
$output .= '<div class="cr3_sponsorwrapper">';
if (have_posts($args)) : while (have_posts()) : the_post();
$temp_title = get_the_title($post->ID);
$temp_sponsorurl = get_post_meta($post->ID, 'cr3ativ_sponsorurl', $single = true);
$temp_excerpt = get_the_content($post->ID);
$temp_image = get_the_post_thumbnail($post->ID, 'full');
if( $columns == '1' ) {
$output .= '<div class="ones-column">';
;} elseif ( $columns == '2' ) {
$output .= '<div class="twos-column">';
;} elseif ( $columns == '3' ) {
$output .= '<div class="threes-column">';
;} else {
$output .= '<div class="fours-column">';
}
if( $image == 'yes' ) {
if( $link == 'yes' ) {
$output .= '<a href="'.$temp_sponsorurl.'" target="_blank"><div class="cr3_sponsor_image">'.$temp_image.'</div></a>';
;} else {
$output .= '<div class="cr3_sponsor_image">'.$temp_image.'</div>';
;}
;}
if( $title == 'yes' ) {
if( $link == 'yes' ) {
$output .= '<h2 class="cr3_sponsorname"><a href="'.$temp_sponsorurl.'" target="_blank">'.$temp_title.'</a></h2>';
;} else {
$output .= '<h2 class="cr3_sponsorname">'.$temp_title.'</h2>';
;}
;}
if( $bio == 'yes' ) {
$output .= '<p>'.$temp_excerpt.'</p>';
;}
$output .= '</div>';
$count++;
if ($count == intval($columns)) {
$output .= '<br style="clear:both"/>';
$count = 0;
}
endwhile;
endif;
This is inside the ‘sponsor_level_cat_func’ function on the very last if statement. I added in a counter to check if it is on the last item in a row. If it is, then it appends a page break and clears the float styles in order to create a new row. I hope that Cr3ativ includes this fix in their next update.