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 );
?>
<p class="sp-event-staff">
<?php
foreach( $staffs as $staff_id ):
<div class="sp-template sp-template-event-staff">
<p class="sp-event-staff">
<?php
foreach( $staffs as $staff_id ):
if ( ! $staff_id )
continue;
@@ -51,6 +52,7 @@ foreach( $staffs as $staff_id ):
echo $name . '<br>';
endforeach;
?>
</p>
endforeach;
?>
</p>
</div>