Replace content on main Events page

Home Forums Calendar Products Events Calendar PRO Replace content on main Events page

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1012137
    Tony
    Participant

    I need to replace the default content on the main events page (mysite.com/events) with my own custom content instead of displaying a view of all events. The reason is that I have events in multiple cities and I’m using Event Categories to separate the events for users. It isn’t very useful to see a main events page that has all events in all cities.

    Instead I want the main events page to display a list of all the Event Categories with hyperlinks. I know how to create my own query to output the list of Event Categories and hook it into the main events page, but I don’t see any obvious way to UNHOOK all the default Events Calendar content that normally shows on the main events page. What’s the best way to do this? My default view is Month.

    The conditional I plan to use to unhook default content and add my own content is:

    is_post_type_archive(‘tribe_events’)

    #1012259
    Brian
    Member

    Hi,

    Thanks for using our plugins. I can help out here.

    To edit any of the event templates we have our themer’s guide:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    To show you how to move and edit a template in your theme.

    Following that guide you could go to the month template and remove the next call for the template to now show it. However, if you are just going to overwrite the template I would use a template such as the list or photo view instead.

    There is also this list of conditionals I have that might help out too:

    https://gist.github.com/jo-snips/2415009

    Let me know if you have any follow up questions.

    Thanks

    #1016866
    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 ‘Replace content on main Events page’ is closed to new replies.