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
various even lists | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium various even lists

various even lists

Posted: March 12, 2014 at 2:51 pm

Viewing 3 reply threads


Gijsbert Vandeweerdt

March 12, 2014 at 2:51 pm

Hello,

I’m testing the event list, currently it looks like this: http://www.sintjansberg.be/event-tester/
Which is fine to me.

However, I would like to show a short event list (without description or pictures) on other pages.
[EVENT_LIST event_category_id=”2″]

What are the parameters to do this? Couldn’t find them in the documentation.

Thank you
G


Lorenzo Orlando Caum

  • Support Staff

March 12, 2014 at 2:56 pm

Hello,

These are the available shortcodes for Event Espresso 3 for the event list:

https://staging.eventespresso.com/wiki/shortcodes-template-variables/#event-list


Lorenzo


Gijsbert Vandeweerdt

March 13, 2014 at 4:26 am

I don’t manage to get it done with this page alone.

I guess I have to use a css class, but which one?
[EVENT_LIST css_class=my-custom-class]

Question rephrased: how do I show event list with short description on one page and without short description on other pages?

thank you


Dean

  • Support Staff

March 14, 2014 at 2:34 am

Hi,

Not easily, there certainly isn’t a shortcode or parameter for that.

The event list template gets the description and shortens it if the more tag is in it.

As such there are only two choices I can see, both require template customisation.

1) Add in a new variable in event_list.php to grab the full description (e.g. $event_desc2 ) and then in the event_list_display.php use an if else statement to check for the category and display the appropriate variable.

2) Don’t use the more tag and in the event_list_display.php use an if else statement to check the category and then either reduce the description accordingly or show the full description.

Viewing 3 reply threads

The support post ‘various even lists’ 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