Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Calendar Table Add On | Event Espresso - Staging Server

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

  • Support Staff

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 – http://staging.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 - Staging Server