How to nest multiple events under 1 date?

Home Forums Calendar Products Events Calendar PRO How to nest multiple events under 1 date?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1320589
    inhouse
    Participant

    A list view design calls for me to nest all events that fall on the same date under a single date rather than repeat the date for each event. I found an example in the showcase: http://events.unc.edu. How do I customize the markup to achieve this? Any help is appreciated!

    Aug 1
    -Event 1
    -Event 2
    -Event 3

    Aug 2
    -Event 4
    -Event 5
    -Event 6

    #1321438
    Cliff
    Member

    Hi. This looks to be a customization of our List View. Please reference our Themer’s Guide for /wp-content/plugins/the-events-calendar/src/views/list/loop.php and possibly also tribe_events_list_the_date_headers().

    We do not provide such in-depth customizations, per our Scope of Support / Terms, but, if you need some coding help, you may want to ask your developer or reference our documentation and list of known customizers.

    Please let me know if you have any follow-up questions on this topic.

    #1321450
    inhouse
    Participant

    I see how moving tribe_events_list_the_date_headers out of the loop would get it to stop repeating for each event; however, I get an error when I move it just above while(have_posts()).

    <h2><?php tribe_events_list_the_date_headers(); ?></h2>
    <?php while ( have_posts() ) : the_post(); ?>

    Notice: Undefined variable: prev_event_month in /var/www/vhosts/stpetersarts.org/httpdocs/wp-content/plugins/the-events-calendar/src/functions/template-tags/loop.php on line 348

    Any change you have some example of this from another site I can peek at? I expect that many other websites that have multiple events per date nest events under a single date display as opposed to repeating the date for each event.

    #1321478
    Cliff
    Member

    I’d guess you’d have to make your own new function like tribe_events_list_the_date_headers() but for days instead of months, and then include that new function into the List View template instead.

    I do not know of other sites with this customization in effect.

    #1331196
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How to nest multiple events under 1 date?’ is closed to new replies.