Support

Home Forums Event Espresso Premium Display next events in a category

Display next events in a category

Posted: February 9, 2014 at 3:15 pm


Susie Price

February 9, 2014 at 3:15 pm

Wordpress – 3.8 : EE – 3.1 + Calendar Table : Registration page – http://slypn.org.uk/event-registration/

We have our events divided into categories: social, information, fundraising. I’m using the calendar template in the widget on the sidebar… and we love it! … However, as we get more events the page gets longer and longer and I wondered if there was some way I could possibly just profile the next social, info etc event automatically. At the moment the only way I can think of doing it is to create a category “next event”and then just profile those ones, but this would be an chore and likely be forgotten over time. I’m willing to experiment with a bit of coding , although I’m not that good but if it is possible, could you point me in the right direction.

Thanks in advance for your help.


Dean

February 10, 2014 at 2:06 am

Hi Susie,

The Custom Templates all use the [EVENT_LIST] as a basis so any of the parameters that work with the EVENT_LIST will work with the Custom Templates – https://eventespresso.com/wiki/shortcodes-template-variables/#event-list

What you could do then is use the limit parameter, so it will only show X number of events in one go.

You could further limit this by using the category_identifier parameter to only show from one category (then perhaps use several of the Template shortcodes each showing a different category)


Susie Price

February 11, 2014 at 5:16 pm

Thanks a lot I’ll give that a go


Dean

February 12, 2014 at 2:16 am

No problem, let me know if you have any further questions regarding this.

The support post ‘Display next events in a category’ 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