Page Customization

Home Forums Calendar Products Events Calendar PRO Page Customization

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1017413
    Caleb
    Participant

    I recently purchased your plugin. I am trying to figure out how to change the design of the ‘default’ template for the EVENTS and CALENDAR pages. It currently has a header that I would like to change or remove. Can you help with that?

    #1017545
    George
    Participant

    Hey @Caleb,

    We unfortunately cannot help with customizations, but if you specify what header you would like removed, we might be able to help a little bit 🙂

    Can you take a screenshot of the header you want removed? Then, post the screenshot to Imgur.com and share a link to that Imgur image here.

    Thank you!
    George

    #1017546
    Caleb
    Participant

    I guess I wasn’t completely clear. I don’t need you to help with the customization necessarily. I’m just trying to figure out where your plugin spits the calendar out to? I know on my website, it goes to allthingsmidmo.com/events, but within the site, I don’t see that “page” to be able to edit, other than the settings within the plugin on that page. Does that make any more sense?

    #1018060
    George
    Participant

    I apologize for my misreading your question, @Caleb!

    I know on my website, it goes to allthingsmidmo.com/events, but within the site, I don’t see that “page” to be able to edit, other than the settings within the plugin on that page. Does that make any more sense?

    Your question definitely makes sense and is in fact a rather common one, because there is no “page” in your admin proper that you can edit for this. In fact, if you were to make a page whose slug was /events/, this could actually cause problems…

    The reason our plugin works this way is because a static page would not work nearly as well for the needs of “calendar” features; so we generate what is more like a feed endpoint or API endpoint at the /events/ URL, which allows us to power features like going X months into the future; Y days into the past; etc.

    I know that this reply is rather vague; I’m happy to go into as much technical detail about the choice to develop this way if you’re interested, but the long and short of it is that there is no “page” called Events powering this. It’s a dynamically-generated URL endpoint at /events/ (or whatever you set your slug to in the “events URL slug” plugin option 😉 ).

    So how does this all play into customizing templates?

    Well, a lot of template code is still pulled from your theme as expected, like the HTML header and footer and so on. But then there’s a layer of Events Calendar-specific templating that you can learn more about here → https://theeventscalendar.com/knowledgebase/themers-guide/

    I hope that my reply here and that guide above will help with customizations!

    Cheers,
    George

    #1018655
    Caleb
    Participant

    Yeah, I’ve gone through the Themers Guide and didn’t really see anything. I get it that it’s not a typical page. I am just trying to figure out how to access it so I can get the design in line with the rest of the site.

    #1018982
    George
    Participant

    The methods for accessing and customizing the components of the events template are all described in-depth in the Themer’s Guide – if you’re curious about the specific role of each file in src/views in your Events Calendar plugin files, then for example the main default-template.php file there is probably the best place to start for your needs.

    If you have the “Events template” option in your wp-admin set to “Default events template”, this is the template file that will be loaded; so code-specific customizations can start here.

    I’ll close up this thread for now since we’re not able to help with those customizations, but I wish you the best of luck with your custom code – be sure to keep good backups of all custom code you write to minimize the risk of losing it!

    Cheers,
    George

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Page Customization’ is closed to new replies.