Support

Home Forums Event Espresso Premium Calendar Table Add On

Calendar Table Add On

Posted: January 7, 2014 at 6:13 am

Viewing 1 reply thread


David Whitlock

January 7, 2014 at 6:13 am

I purchased Calendar Table and am using it in a widget space in my sidebar.
I have customized the CSS and it is working great.

Only thing I can’t figure out:
I want to limit the number of events that show in the sidebar. I want to prevent the list from getting too long.

My Question:
How can I adjust code so it will only display 5 of the most recent events from any category?
How can I adjust the code so it will only display 5 of the most recent events from one specific category?


Dean

January 7, 2014 at 11:49 pm

Hi,

The custom templates are all based off of the EVENT_LIST shortcode so the parameters for EVENT_LIST will work with the custom template.

In your case it would be something like:

Any category
[EVENT_CUSTOM_VIEW template_name=”calendar-table” limit=”5″]

One category
[EVENT_CUSTOM_VIEW template_name=”calendar-table” category_identifier=”my_example_category” limit=”5″]

See here for more parameters – https://eventespresso.com/wiki/shortcodes-template-variables/#event-list

Viewing 1 reply thread

The support post ‘Calendar Table Add On’ 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