Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: [Resolved] Limited Checkbox Selection

@heathernew

Participant
<?php if ( count($expertise) <= 5 ) : ?>
	<div class="expertise">
		<p><strong>Areas of Expertise:</strong></p>
		ul>
			<?php $track <= 5; foreach ( $expertise as $area ) : $track++; ?>
				<li><?php echo $area; ?></li>
				
		<?php if ( $track== ceil( count($expertise) / 3 ) ) : $track = 0; ?>
		/ul>
		ul>
		<?php endif; ?> 
				
			<?php endforeach; ?>
		/ul>
	</div>
<?php endif; ?>

This is located in the member-header.php

Skip to toolbar