Hello, thanks to Barry’s patience I got my first issue to work now and I am trying to learn the basics of php. Now I have another question.
I do show calandar events in the main blog loop along with normal blog postings. For the normal blog postings I do want to show the date they were published, using
<?php the_time(get_option('date_format')); ?>
and for the calendar events I do want to show the date published and the event duration, using
<?php echo tribe_events_event_schedule_details(); ?>
From what I have learned from my previous support thread I can do that if I knew how to distinguish blog post from calendar event.
Like this:
<?php if ( <strong>is_a_tribe_event</strong>() ) ?>
<?php echo tribe_events_event_schedule_details(); ?>
<?php endif ?>
Is there a tag for “is a tribe/calendar event”? Because I could not find one browsing the support section.
Kind regards,
Nicola