show past events

Home Forums Calendar Products Events Calendar PRO show past events

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1006341
    Gloria
    Participant

    Hi there,

    I’ve done a search but couldn’t quite find the answer so here it is again: I would like to have past events show up on the Venue page e.g. http://caochangdi.co/venue/harks-gallery/ like how Related Events appear on an Event page e.g. http://caochangdi.co/event/echo/

    Please and thank you.

    #1006480
    George
    Participant

    Hey @Gloria,

    Thanks for reaching out!

    Achieving the exact thing you’re looking for here would unfortunately require a level of custom coding that is beyond the scope of our support forums. I’m sorry to bear that news.

    However, you should be able to get started on this by doing a few simple things:

    First, check out our Themer’s Guide and read through it to get an understanding of how to make these sorts of customizations. Our themer’s guide is online here → https://theeventscalendar.com/knowledgebase/themers-guide/

    Next, check out the /views/pro/related-events.php file in your Events Calendar Pro plugin files. Reading this, along with its related CSS, will show you how the “Related Events” module is assembled and made to look like it does.

    Finally, with all of this information in mind, you should then customize venue-related views so that they have Events content similar to the layout of /views/pro/related-events.php

    I hope this is information all helps, Gloria.

    Best of luck with your customizations! 🙂

    — George

    #1007576
    Gloria
    Participant

    Thanks, George. There’s quite a lot to chew over!

    I’m going through the steps you’ve given and looking at TRIBE_GET_RELATED_POSTS(). Could you tell me where I can find this function to better understand how it is generated?

    #1007747
    Gloria
    Participant

    Also, it would help to know which are the hooks used on the Single Venue view. Thanks!

    #1008215
    George
    Participant

    Hey @Gloria,

    To find that tribe_get_related_posts() function, you’ll need to head to your Events Calendar Pro plugin files and then navigate specifically to src/functions/template-tags/general.php.

    As for finding out more about the code running in the single venue template, to find this out you can head to your Events Calendar Pro plugin files and then navigate to src/views/pro/single-venue.php

    I hope this all helps!

    #1013065
    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 6 posts - 1 through 6 (of 6 total)
  • The topic ‘show past events’ is closed to new replies.