Coming events
-
My event calendar is for 4 different 1-3 day classes. They occur 1-3 times a week in various cities. They are scheduled a few months in advance, but with no particular pattern.
I looked into the reoccurrence option, but that doesn’t look like it will work in my case. Instead, I created a set of categories. One for each class.
This gives me a unique color for each of the class types on the full calendar. It also allows me to create a course listing for each type of class. All this is working great.
What I’m looking to add is a list of the coming dates for a specific class with the single event page. In other words, when the user clicks on the full calendar they are taken to the event page. After Date: and Venue:, I’d like to show Upcoming Dates: for that same type of class.
Since they all have the same category, I’m thinking of modifying the “event-meta-event-single” file to include a query for events that match the given category (of $this event).
First – is this the right approach, or is there a better way.
Second – my idea of adding a query for the same category in ‘event-meta-event-single’ seems like a it would be just a few lines of code, but I’m not sure what the code would be.
Before I spend too long on this idea, I’m looking for comments/suggestions.
- The topic ‘Coming events’ is closed to new replies.