Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- global $post;
- $posts = get_field( 'relationship' );
- if( $posts ):
- foreach( $posts as $p ):
- setup_postdata( $p );
- // Display the date of the event
- $p_event = tribe_get_start_time ( $p->ID, 'j F à H h i' );
- if ( $p_event ) {
- echo $p_event;
- }
- else '';
- endforeach;
- endif;
- ?>
Add Comment
Please, Sign In to add comment