Wrap event staff with template tag
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user