Support

Home Forums Event Espresso Premium Howto group events by month

Howto group events by month

Posted: November 29, 2012 at 10:17 am


patrick sanders

November 29, 2012 at 10:17 am

Here’s an example of what I am trying to do:

Print out Month/Year (once)
List all events in this month/year
Print out next Month/Year
List all events in this month/year

So this would show
November 2012
event
event, etc

December 2012
event
event, etc

I am comfortable modifying the event_list and event_list_display template files.

Thanks


Jonathan Wilson

November 30, 2012 at 1:54 pm

Hello Patrick,

I hope I am understanding correctly.
Have you tried to use the [EVENT_LIST order_by=date(start_date),id] shortcode? (More Info Here)

Also, you could set up a category for each month and attach the appropriate category to each event. Then you could use the [CATEGORY_NAME event_id=1] to display the events on separate pages.

Does this help?


patrick sanders

November 30, 2012 at 2:07 pm

What I want to happen:

November 2012
event
event, etc

December 2012
event
event, etc

What IS happening:

November 2012
event
November 2012
event, etc

December 2012
event
December 2012
event, etc

Note the repeated date? How do I suppress that in a shortcode? (Your example above doesn’t do this).

Thanks


Jonathan Wilson

December 3, 2012 at 2:43 pm

Hi Patrick, How many times are you posting the shortcode on the page? You should only have to do it one time and all events for the month (category) will show on the page.

Also, you may want to try this shortcode instead: [EVENT_LIST order_by=date(start_date),event_category_id=”jan”]


patrick sanders

December 3, 2012 at 3:41 pm

It’s posted once.
Wouldn’t it make more sense to have a group_by to pass to EVENT_LIST? Like, group_by=month?


patrick sanders

December 13, 2012 at 11:16 am

Any more on this? Group_by month, category, etc would be extremely helpful.


Josh

  • Support Staff

December 13, 2012 at 2:02 pm

Hi Patrick,

At this time, the event list shortcodes do not have a feature that groups the event by month. Adding this will require custom development. I can suggest using the calendar to display groups of events by month.

The support post ‘Howto group events by month’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso