Hey there Ashby. Thanks for the note here; is it possible you hadn’t set the number of events posts to just 1? This is a specific setting you need to configure under Events -> Settings: http://d.pr/i/McMj. If you set that to “5”, it should display properly on the frontend.
Give that a go and let me know if you’re still having problems. Thanks for your patience so far.
Thread Starter
Ashby
(@ashby)
Thanks for the response roblagatta.
I wish that were the case, but the number of events post was set at 10 in the Events Settings.
The fix we found was on line 26 of list.php:
Original—
<?php if (have_posts()) : ?>
<?php $hasPosts = true; $first = true; ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php global $more; $more = false; ?>
New—
<?php if (have_posts()) : ?>
<?php $hasPosts = true; $first = true; ?>
<?php $query = new WP_query(array(‘posts_per_page’=>10,’post_type’=>’tribe_events’));
?>
<?php while ( $query->have_posts() ) : $query->the_post(); ?>
<?php global $more; $more = false; ?>
I don’t know why the settings options wasn’t working for me, but it looks like it might only be applicable to my site dev. 🙂
Thanks for the help.
Thanks for the follow-up here, Ashby. Sorry to hear the ‘out of the box’ solution wasn’t working…but from the looks of things you’ve found a workaround, correct?
Let me know if not and if you’re still having problems here. Otherwise, if you think we can mark this RESOLVED, let me know and I’ll take care of it.
Fantastic to hear! Thanks for confirming as much, Ashby, and for using The Events Calendar. If we can do anything else down the road just let us know.