@heathernew
10 years, 3 months ago
<?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
I found a way to hide the list if they didn’t choose the suggested number but ideally I would like it to give them a pop up notification that you can only select 5 instead of just being listed in the description under the box.
Any luck with this yet Nick? I’m also wanting to do the same thing, javascript would be great with a little more instruction