Wrap event staff with template tag

This commit is contained in:
Brian Miyaji
2015-03-03 17:20:54 +11:00
parent 7cf5946880
commit 0ce341f33a

View File

@@ -21,9 +21,10 @@ if ( ! $staffs ) return;
extract( $defaults, EXTR_SKIP ); extract( $defaults, EXTR_SKIP );
?> ?>
<p class="sp-event-staff"> <div class="sp-template sp-template-event-staff">
<?php <p class="sp-event-staff">
foreach( $staffs as $staff_id ): <?php
foreach( $staffs as $staff_id ):
if ( ! $staff_id ) if ( ! $staff_id )
continue; continue;
@@ -51,6 +52,7 @@ foreach( $staffs as $staff_id ):
echo $name . '<br>'; echo $name . '<br>';
endforeach; endforeach;
?> ?>
</p> </p>
</div>