Thread Starter
aself
(@aself)
Thanks Angelo. Looks like a good place to start, but I’m not sure how to use it. Do I replace something in the function with a category name?
If you just use [category_events_list_group] in a page, the events will be grouped by category.
Thread Starter
aself
(@aself)
This is the shortcode I’m currently using, [events_list_grouped mode=”monthly” category=”tucson”][/events_list_grouped]. I have a different page for each location already. Does Angelo’s suggestion do anything different?
After further reading, it seems like custom taxonomies might be a good solution. I’d like to display the main event (called a mcvay-a-thon) with the location, description, etc., but have shorter, individual events displayed underneath. I would list them in the description, but want to offer the option of registering for an individual event ONLY online. This is how we currently do it on our old (very old) website, http://cdavidmcvayschool.com/continuing_education/pima.htm
Are custom taxonomies the right solution?
Thanks again.
Thread Starter
aself
(@aself)
Sorry to post twice, but I think I can accomplish what I need with css. How can I add a css class to an event and target it in my style.css file?
Thanks!
you can try something like this
[events_list_grouped mode="monthly" category="tucson"]
<a href="#_EVENTLINK"> #_EVENTNAME </a>
[/events_list_grouped]
http://wp-events-plugin.com/documentation/placeholders/
Thread Starter
aself
(@aself)
I’m not able to see how that groups events any differently than what I have now.
This is what I have so far in “Default event list format”:
<li class="event-item">
<div class="event-date">
{not_long}#_EVENTDATES{/not_long}{is_long}Starts #_EVENTDATES{/is_long}<br/>
{not_long}#_EVENTTIMES{/not_long}
</div>
<div class="event-main">
<h3>#_EVENTLINK</h3>
<p class="cat-att">#_ATT{Continuing Education Category}</p>
<p class="event-description">#_EVENTNOTES</p>
</div>
<div class="event-location">{has_location}<i>#_LOCATIONTOWN</i>{/has_location}
</div>
</li>
When I add an event, can I assign a css class to that event somehow so that the css class will be included in the output of that event?
OR
Is it possible to write a function that says, “If an event has a certain attribute, apply this styling to it”?
Thanks again for working this out with me.