Replace Default tribe_events_cat archive page

Home Forums Calendar Products Events Calendar PRO Replace Default tribe_events_cat archive page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #47276
    UNC Web Services
    Participant

    I need to completely customize the events archive category page. By default I think it is pulling the /views/lists.php file. I’ have added that to my theme in events/lists.php and can edit the content of the page, but I need to edit the layout and query for the page (to exclude some events).

    2nd (and I think related) question:
    I know I can set the template in Events – Setting – Template. I have set that to be a two column layout in my theme because that is what the archive pages need to be, but I need the single event’s to be a two column layout. How can I change that so that the single events only have a 2 column layout? The single.php in views (moved to /events/) seems to only control the content part, not the layout part.

    Thanks for your help!

    #47286
    Barry
    Member

    Right, so those are related and if you want different layouts for different views you might need to get creative.

    One option could be to use the default event templates (ecp-page-template.php and ecp-single-template.php) and tweak them so the share the style and appearance of your theme – you could then either make one a two column layout (ecp-page-template.php) and the other something else, or, you could even make it so that a completely new template (ecp-two-column.php – you could call it whatever you wanted) loaded instead when certain conditions are met, such as it is an events page and also an archive page.

    Does that sound like a workable plan here?

    #47350
    UNC Web Services
    Participant

    Ha! I should have known y’all would have some easy way to do this. That was just what I needed.

    Thanks a ton as always!

    #47457
    Barry
    Member

    No problem 🙂

    #979022
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Replace Default tribe_events_cat archive page’ is closed to new replies.