Finding Your Events & Adding Them To The Menu
We’ve been getting a lot of feedback the past few weeks from users with the question: I understand how to add my events on the backend, but where exactly do I find the calendar where they appear on the frontend? In retrospect this no surprise…to users of the open source community, our switch from treating events as regular posts to an events custom post type is a major change. (1.3.3 PRO users were already aware of this since the switch was previously made in the 1.x code base).
To help, I put together a quick screencast a minute ago answering that question, as well as another that has come up more than we’d expected: how do events get added to the header menu?
Finding your calendar on the frontend
By default, your events will live at /events on your site. However, to verify this or change that location, just do the following:
- On the backend of your site, go to Settings –> The Events Calendar.
- Find the section for “Events URL Slug.” It will have a field (likely populated with “events”), and a link that shows your current events URL. You’ll notice that URL is just your site’s URL, followed by the word you see in the slug field above.
- Clicking that link will take you to your frontend events listing. If you change the word “events” to something else (say, “calendar”), when you save your changes the link below will be updated to reflect this as well. At that time when you click the link, it’ll take you to /calendar on the frontend — which will be your new calendar URL.
Note that you’ll follow this same method whether you’re using The Events Calendar 2.0 or Events Calendar PRO 2.0 — the slug’s behavior and functionality is identical between the two.
Adding events to your menu
Adding events to the header menu is another process that doesn’t change regardless of whether you’re using The Events Calendar or Events Calendar PRO. Follow these steps:
- On your site’s backend, navigate to Appearance –> Menus.
- In the middle column, scroll down until you see an option for “Events.” You’ll notice that underneath it are other event-related metaboxes: Venues, Organizers, and Event Categories. You can add any of the above to your menus by just clicking the checkbox next to them and hitting “Add to Menu.” They’ll as a result appear in the list of menu items in the right-hand column.
- Notice that if you go into the Events section on this page and toggle from “Most Recent” to “View All,” you’ll see the first item in the list is “Events.” Adding this will add the entire events calendar (at /events, by default) to the header menu. Every other item in that list is an individual event listing — only this first “Events” item is the broader category. Keep that in mind as you go about your additions.
- Upon saving the menu changes and navigating to the frontend, you should see the events-related links in the menu that you added them to. You’ll notice that if you click into an individual event, the menu item is “highlighted” (bold) to be consistent with the way WordPress’ menus handle other post types.
If there are any other lingering questions you still have about plugin basics, do let us know so we can put together some appropriate documentation to guide you towards the light.