Display Past Events

Home Forums Calendar Products Events Calendar PRO Display Past Events

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1371236
    Adam
    Participant

    Hi there guys,

    Just a quick one on this earlier query:
    https://theeventscalendar.com/support/forums/topic/display-past-events-in-reverse-order-snippet/

    I want my home page to have upcoming events in one section, and then my past events in another section below it. My last theme had Visual Composer; it had a function called “Post Grid”, which would allow me to display “Tribe_events”, and order them by Meta Key “_EventStartDate”

    I have rebuilt the site and am trying to find how to do the above via your provided shortcode. So far I have a masonry grid showing up with:
    [tribe_events view=”photo” date=”2010-01″ tribe-bar=”false”]

    However:
    1. I can’t seem to change the title – I’ve put this in and it doesn’t seem to have any effect:
    title=”Past Events”

    2. I need them to be in descending chronological order like all major websites – Facebook, Eventbrite, Ticketmaster, etc. So most recent event at top of widget list, and least recent event at bottom. Below addition to shortcode doesn’t seem to work:
    order=”DESC”
    I’ve also tried the following code:
    https://theeventscalendar.com/support/forums/topic/display-past-events-in-reverse-order-snippet/
    However I get debug error:
    PHP Notice: Undefined index: tribe_event_display in [mywebsite]/wp-content/themes/[mytheme]/functions.php on line 15

    Finally, is there a way to have it displayed as a grid (uniform height for each post in grid), rather than masonry grid?

    I will attach pictures in private message.

    Thanks so much for your help!

    Adam

    #1371243
    Adam
    Participant

    This reply is private.

    #1372094
    Victor
    Keymaster

    Hi Adam!

    Nice to see you again! Let me try to help you with this.

    1. I can’t seem to change the title – I’ve put this in and it doesn’t seem to have any effect:
    title=”Past Events”

    The tribe_events shortcode does not accept the title attribute > https://theeventscalendar.com/knowledgebase/embedding-calendar-views-tribe_events-shortcode/. The title attribute is only available in the PRO widget shortcodes > https://theeventscalendar.com/knowledgebase/pro-widget-shortcodes/#common-to-all

    If you were to change that title, you might want to customize the templates by following one of the methods described in our themer’s guide > https://theeventscalendar.com/knowledgebase/themers-guide/

    2. I need them to be in descending chronological order like all major websites – Facebook, Eventbrite, Ticketmaster, etc. So most recent event at top of widget list, and least recent event at bottom. Below addition to shortcode doesn’t seem to work:
    order=”DESC”

    The order attribute is also not available any shortcode. The following snippet worked for me when viewing past events > https://theeventscalendar.com/knowledgebase/show-past-events-in-chronological-order/. Could you please let me know in which page you get the PHP notice?

    Additionally, If you want to make some deeper customizations I’d recommend you check out the following article about using the tribe_get_events() function > https://theeventscalendar.com/knowledgebase/using-tribe_get_events/

    is there a way to have it displayed as a grid (uniform height for each post in grid), rather than masonry grid?

    There is no built-in option to achieve this, but there is a great tutorial by one of our users that will accomplish exactly that by making a template override and adding some styles > https://theeventscalendar.com/knowledgebase/change-photo-view-to-equal-height-grid/

    I hope that helps! Let me know how it goes and if you have further questions.

    Best,
    Victor

    #1389101
    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 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Display Past Events’ is closed to new replies.