Use template function and load as needed
This commit is contained in:
8
templates/event-staff.php
Normal file
8
templates/event-staff.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
if ( ! isset( $id ) )
|
||||
$id = get_the_ID();
|
||||
$staff = (array)get_post_meta( $id, 'sp_staff', false );
|
||||
|
||||
$output = '';
|
||||
|
||||
echo apply_filters( 'sportspress_event_staff', $output );
|
||||
Reference in New Issue
Block a user