@agelonwl
I did already do a separate post on this:
http://wordpress.org/support/topic/plugin-events-manager-how-to-group-events-by-month?replies=4
Not had any helpful replies yet. Basically i want to get my events table, http://contactdance.co.uk/events/, to have subheadings of the months so that people can easily view what’s happening each month. @barkerbaggies was looking for something similar I think.
Do you know any tips to do this?
we’re working on a shortcode for this. sorry if I missed that one
@marcus great news. Keep up the good work!
@marcus – yes that really is great news. Many thanks!
@marcus – sorry to bother you, I am sure you are very busy! I was just wondering in what version you were planning to include this shortcode?
actually, this is already available – events_list_grouped
need to update the docs π
@marcus, that’s great news!
So, if i want events grouped by month, where do I enter that code? Somewhere within ‘Default event list format’?
a little different, you’d use mode=monthly/daily/weekly/yearly within the shortcode. t should automatically display months with h2 tags (on months with events)
I tried writing mode=monthly under within ‘Default event list format’ but it just lists mode=monthly before the table! Is that what you meant?
Sorry, I am a novice when it comes to code writing (i just do it by trial and error guessing what might do what as i go along!)
nono, what you want is [events_list_grouped mode=”monthly”], which you add on an actual wordpress page.
currently, you can’t get it to overwrite the default events page page, unless you know a little php
Hi @marcus,
Thanks for this, I have now created a page that looks more like how I want it to look which is great!
http://contactdance.co.uk/events/
However, the links within the listing do not work unless the default events page is activated. I have tried selecting [no events page] which meant all the links within the events listing went to a 404 page. Then I tried recreating a default links page
http://contactdance.co.uk/events/events-2/
and ‘Excluding’ it from the navigation, but again the links stopped working. Currently I have two events pages which is obviously not ideal.
Do you have any suggestions?
Saskia (@Bristol CI)
atm you need the default events page. What people usually do is remove it from the menus so that it is only used by page you generate links on.
in v5 this won’t be needed because events will be posts, so won’t need an ‘event page’
it does work for me though… clicking the link on your intended page redirects to the correct event.
Thanks Marcus,
All sorted now – I more or less have it looking like i want it too!
Hi Marcus,
With the new upgrade to v5 i have lost all the formatting based on category in my events table – i’m guessing this is because “categories are now custom taxomonies” (i have no idea what that means!)
Where before i had the code e.g.
}
tr.eventcat-2{
background:#ebebeb;
border:1px solid #000000;
border-right:2px solid #000000;
border-left:2px solid #000000;
color: #801103
}
to specify what category “2” looks like in the table, i cannot work out what to change the tr.eventcat-2 section of the code to, to work with the changes.
Any help would be really appreciated π
Saskia
It depends what you’ve changed, assuming you’re outputting a category ID in a class, just change eventcat-2 to eventcat-x, x being the new cat ID.