Hello Rob,
I used template tags in Vamtam theme page.php but did not get any result.
I used the same template tag code on twentyfourteen theme and it works.
I have taken the code from you documentation:
<?php
global $post;
$current_date = date(‘j M Y’);
$end_date = date(‘j M Y’, strtotime(‘1 days’));
$get_posts = tribe_get_events(array(‘start_date’=>$current_date,’end_date’=>$end_date,’posts_per_page’=>10) );
foreach($get_posts as $post) { setup_postdata($post); ?>
<div class=”post”>
<h4 class=”post-header”>” id=”post-<?php the_ID(); ?>”><?php the_title(); ?></h4>
<span class=”event-date”>“><?php echo tribe_get_start_date($post->ID, true, ‘M j, Y’); ?></span>
<div class=”post-content”><?php the_content(); ?></div>
</div>
<?php } //endforeach ?>
<?php wp_reset_query(); ?>
Please do suggest me what should i do in Vamtam theme https://vamtam.com/?theme=church-event to print the event tag result.
Thanks
Shantanu