What page template do I use?

Home Forums Calendar Products Events Calendar PRO What page template do I use?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #48252
    shawn
    Participant

    This question pertains to the new beta. I sent an email a few days ago and never got an answer, so posting here in the hopes that someone sees the question and has an answer:

    Normally when I am working with custom templates for custom post-types, I simply have to create a couple of templates and they override the entire system, that is how WordPress was built. So all I need is a single-custom_post_type_name.php and an archive_custom_post_type_name.php and for the most part those 2 templates will override the standard templates.

    I went through all the code and I see that for some unknown reason that the events calendar is not following this procedure and is instead relying upon the page.php file as the ‘base’ before your overrides.

    So, that being the case, how do I override the base wrapper to make a page-events.php, one each for single views and one for archive views?

    I understand how to use a child theme and I have already placed all the events templates into the events folder, that part makes total sense.

    I just don’t know what to do in order to change the base so that I can call a totally different header, sidebar, and footer for events, which of course is found in page.php

    #48313
    Barry
    Member

    Hi Shawn,

    I’ll alert Rob and Leah to your email – it’s possible it got trapped in a spam filter or it may simply be that they haven’t had time to reply yet (we don’t typically provide weekend coverage, so if it was sent on Thursday/Friday last week that’s a possibility).

    If you can you confirm what email address you used to send the email (please use our private reply facility to tell me this) that would be great – the team can then get back to you by email, as we don’t support beta code here on the forum.

    #48417
    shawn
    Participant

    This reply is private.

    #48418
    Barry
    Member

    A private forum for beta testers isn’t a bad idea, however it may need to wait until the next phase. I’ll pass a note to Rob that you had emailed with feedback 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘What page template do I use?’ is closed to new replies.