Hi,
I have a custom query pulling in 4 events on my home page. Im trying to get those to link to the corresponding Events page that is created for them. I have tried both of the below but none work. You can also see my custom code im using below.
<?php the_permalink(); ?>
<?php echo tribe_get_event_link() ?>
<?php $events = tribe_get_events( array('posts_per_page' => 4) );
foreach ( $events as $event ) { ?>
<tr>
<td>">
<?php echo $event->post_title; ?>
</td>
<td>">
<?php echo tribe_get_start_date( $event->ID ) ?>
</td>
<td>">
<?php echo tribe_get_city( $event->ID ); ?>
</td>
</tr>
<?php wp_reset_postdata(); } ?>