blackbird9
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Cheers Barry. This is the main loop I have to display a list of events:
<!-- Events Loop --> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="event contain hovertint bordertop roundedcorners-bottom"> <div class="info contain"> <h3><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h3> <h4><?php echo tribe_get_start_date(null, true); ?></h4> <p><?php the_excerpt(); ?></p> <a class="btn btn-primary" href="<?php echo strip_tags(tribe_get_event_website_link()); ?>">Get tickets<span class="glyphicon glyphicon-tags" aria-hidden="true"></span></a> <a class="btn btn-info" href="<?php the_permalink(); ?>">More info<span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span></a> </div><!-- info --> </div><!-- event --> <?php endwhile; ?> <?php endif; ?>Changing the datetime format here creates output as either Saturday 14 October, or strangely Saturday 10 October.
Cheers scdan – that solved it for me!
Forum: Plugins
In reply to: [The Events Calendar] Time not displayingCheck your settings in Events > Settings > Display and try adding tokens for time into your date format. For example, add “g:ia” to show “4:22pm” or “H:i” for “16:22”. Just a suggestion; I’m new to this plugin.
Viewing 3 replies - 1 through 3 (of 3 total)