Support

Home Forums Event Espresso Premium URGENT…code to limit events in sidebar NOT WORKING

URGENT…code to limit events in sidebar NOT WORKING

Posted: December 14, 2014 at 4:25 pm

Viewing 1 reply thread


Spider

December 14, 2014 at 4:25 pm

the code to control # of events showing in sidebar on homepage at one time is not working…[EVENT_CUSTOM_VIEWtemplate_name=”calendar table” max_days “10” event_category_id=”featured”]


Dean

December 15, 2014 at 3:40 am

Hi,

You have two options which you can use separately or together:

[EVENT_CUSTOM_VIEW template_name=”calendar-table” max_days=”30″]

The above will only show events that have a Start Date in the next 30 days

[EVENT_CUSTOM_VIEW template_name=”calendar-table” limit=”2″]

The above will only show the the next 2 available events

[EVENT_CUSTOM_VIEW template_name=”calendar-table” max_days=”30″ limit=”2″]

The above will only show two events within the next 30 days.

Viewing 1 reply thread

The support post ‘URGENT…code to limit events in sidebar NOT WORKING’ 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