Custom MEC Archive Page

I’m wondering if I can make my own custom events archive for MEC? I’ve searched through the documentation and as of 2022 it still wasn’t possible. I’m just wondering if things have changed and I can now use my own?

Hello @MGoedhart,

Thank you for the inquiry.

It’s now possible to create Single and Archive layouts for MEC. You can find the info here:

Cornerstone 7.6.0, Pro 6.6.0, and X 10.6.0

  • Modern Event Calendars can have custom Single and Archive layouts

The following thread should also help:

Modern Event Calendars Single and Archive layouts support

And for more info about archive layouts, please check this documentation:

https://theme.co/docs/archive-templates
https://theme.co/docs/archive-dynamic-content

Let us know if you need more info.

Best regards.

That’s great! I tried to create an archive page but when I tried to set the condition I don’t see one for “events” are being viewed. Which condition should I choose to make sure when someone goes to the events archive that one shows? With the blog it’s easy but there are multiple events options but I don’t see one for just the events archive. I must be missing something lol

Thank you

Thank you for the update. You should be able to select taxonomies related to events in the Conditions option. If this is not available, please provide the login details in a secure note so we can check the site settings.

I did figure it out thank you. Aside from the title and featured image and the content, how do I tell what the keys are for the different parts of the post? When I choose post:meta it has a selection of items but it just shows the id number and it doesn’t show things like event details like time and location and organizer name and picture, etc. I tired to just use the MEC sidebar widget but it’s not showing up at all. I did go to Wordpress dashboard and go to appearance and widgets and choose the MEC single sidebar and added the MEC single sidebar items. I also went to the Settings in MEC calendar and went to single event and sidebar, everything is checked. And I have it added on the page as a widget.

Hello Melanie,

You may need to use the Widget Area element in your custom layout.

This will then allows you to select the MEC sidebar widget to display in your layout.

Kindly let us know how it goes.

I tried but I can’t get the widget to show anything. I followed the instructions, I even made my own sidebar and tried that. I can view other sidebars but not the MEC Single Event Widget.

Also my single layout is pulling multiple events through. The condition only allows me to set it to post type = event. I can’t choose mec-events. And unless I set a Looper Provider as a query builder it only pulls through my blog posts.

Hey Melanie,

We would love to check your custom layout if we can get access to your WP dashboard. You can create a secure note in your next reply with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
– Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

image

Cheers.

Ok, thank you. I have not added the archive page to the menu yet as it is a new feature on my clients website and it’s not ready yet but it is live and the articles are published.

Thank you for the update. You may have forgotten to include the site URL. Please include the info in the secure note.