Use one template for Calendar and different one for single listings?

Home Forums Calendar Products Events Calendar PRO Use one template for Calendar and different one for single listings?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1020122
    Robin
    Participant

    I would like my single event listings to appear the way they do when I select “Tribe Events Styles” and “Default Page Template” in the Basic Template Settings under the “Display Settings” tab.

    However, I prefer the look of the Events Calendar page when it is on the “Default Events Template”. How can I use both templates?

    thanks…

    #1020151
    Cliff
    Member

    Hi Robin. Thanks for your detailed question.

    https://theeventscalendar.com/knowledgebase/wp-admin-settings-overview/#display describes our Display settings.

    And it links to a help article about the “Events template” option in the settings page: https://theeventscalendar.com/knowledgebase/stylesheets-and-page-templates/

    If I understood your request, your plugin settings are “Tribe Event Styles” and “Default Page Template”, but you want the “Default Events Template” only for the main calendar/archive page.

    I think you could accomplish what you’re wanting by referencing our Themer’s Guide. You could copy the template file you’re wanting to use to your child theme (e.g. for the month view).

    Does this make sense?

    #1020254
    Cliff
    Member

    Robin, possibly another way to accomplish what you’re wanting (possibly without the need for the Themer’s Guide unless you want additional customizations) is to leverage the template_include filter.

     

    In my quickie testing, I didn’t get it to work perfectly, but it could be a hint in the right direction.

     

    #1025543
    Robin
    Participant

    Hi Cliff,
    Thank you for your suggestions. I apologize for my delay in responding.

    I’m afraid your solution referencing https://codex.wordpress.org/Plugin_API/Filter_Reference/template_include
    is beyond my current skills. I kind of understand the idea but don’t really know how to implement it, as I don’t know php.

    What’s frustrating to me is that on the 2.x version of the Events Calendar that I was using up until about 6 weeks ago, the pages displayed perfectly, as I describe in my OP. The Calendar Grid view used a full-width template page and the single event views used a default page template with a sidebar, where the event list widget appeared. And I have no recollection as to how I set it up to work that way!

    The themer’s guide you reference shows me how to select and copy the plugin files into my theme, but again, not knowing php I don’t know how to modify them to suit my needs.

    Any other suggestions?

    thank you,

    Robin

    #1026710
    Cliff
    Member

    Robin, I am sorry to hear your upgrade from version 2 to 3 wasn’t as smooth as you would have wanted.

    Heads up: we’re planning to release version 4 within a month or so.

    Hopefully you’ll agree that versions 3 and 4 are major improvements over version 2.

    Regarding this specific ticket’s main topic, we cannot provide support for your in-depth customization request, per our Scope of Support Terms. But you’re welcome to browse our Feature Requests and possibly submit a new issue.

    I appreciate your understanding and please know that you are a valued customer.

    #1075642
    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 ‘Use one template for Calendar and different one for single listings?’ is closed to new replies.