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