Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Ashby

    (@ashby)

    Resolved.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)