Question on how to show the following months events

Home Forums Calendar Products Events Calendar PRO Question on how to show the following months events

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #984609
    siparent
    Participant

    To whom it may concern,

    I am currently using the Agenda view to list out all of the events in a single list (Small code snippet below). The only issue I am having is by default the list is showing the entire list of events from the current month you are in and the following month, IE: July and August.

    How can I get this view to ONLY show the events for the next month (IE: if we are in July I want to see the list of events for August, if we are in August I would need to see September, etc…). I was looking around the entire Agenda view set of files and can not get it to show only the following months events.

    I appreciate any and all help in this matter, thank you so much in advance.

    Code Snippet – This is in single-event.php:

    <?php echo tribe_get_start_date( null, false ); ?><br />
    <?php the_title() ?><br />
    <?php echo tribe_get_venue(); ?><br />
    <?php echo tribe_get_phone(); ?><br />
    <?php echo tribe_get_start_date( null, false, ‘g:i a’ ); ?>  •  <?php echo tribe_get_cost( null, true ); ?>  •  <?php echo tribe_the_custom_fields(‘Age’); ?>
    <br />

    #984671
    George
    Participant

    Hey Roselle,

    We unfortunately cannot offer support for customizations or snippets 🙁

    However, I’ll happily offer some general advice before just closing the thread outright!

    First, single-event.php will almost certainly not be the source of these problems you’re facing, nor the solution. The problem seems to be with the timespans your events view queries are generating themselves.

    Next, to try and isolate the source of the problem, make good, complete backup of all your customizations, and then try removing your custom “Agenda” view.

    After you remove the Agenda view, do the other default views work correctly? If these “out-of-the-box” views work correctly, then we can be sure that this problem is stemming from your custom Agenda view code directly.

    So – do this test, and if you want to, you can share your complete Agenda related code by coping the related functions and stuff that you’ve made into separate Gists at http://gist.github.com. Then, link to each Gist from here and we can take a closer look.

    Cheers,
    George

    #989313
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Question on how to show the following months events’ is closed to new replies.