Support

Home Forums Event Espresso Premium shortcode for showing all events at a particular venue ESPRESSO_VENUE_EVENTS

shortcode for showing all events at a particular venue ESPRESSO_VENUE_EVENTS

Posted: January 17, 2015 at 2:37 pm

Viewing 1 reply thread


Vantage Websites

January 17, 2015 at 2:37 pm

Hi, I want to create specific pages to show all events scheduled at a particular venue. [ESPRESSO_VENUE_EVENTS id=1]

REMOVING AVAILABLE SPACE LISTING
I found .spaces-available {display:none;} and it works… I would rather add to the shortcode on the page though so I dont have to have it removed sitewide… Is the addition to the shortcode possible?

ADDING DESCRIPTION
I notice that with using [ESPRESSO_VENUE_EVENTS id=1] doesn’t display the descriptions, can you please advise how to add?

ADDING START/END TIME
I notice that with using [ESPRESSO_VENUE_EVENTS id=1] doesn’t display the start and end times, can you please advise how to add?

Size of container box and featured image
Please see this link: http://www.bestpaintingparties.com/test/
Can you advise how to make the featured image stay within the box?


Dean

January 19, 2015 at 12:48 am

Hi,

REMOVING AVAILABLE SPACE LISTING

There isn’t a parameter to remove this but you have a couple of choices that can make it page specific.

1) Use the css_class=my-custom-class in the shortcode (e.g. [ESPRESSO_VENUE_EVENTS id=1 css_class=”myspecialclass”], then you can use .myspecialclasss .spaces-available {display:none;} to remove the items.

2) Similar to the above, but wrap the shortcode in a DIV via the TEXT tab and add a class or ID to it (e.g.

[ESPRESSO_VENUE_EVENTS id=1]

), then you could use #myspecialevents .spaces-available {display:none;}

The parameter is probably the better option.

ADDING DESCRIPTION

That shortcode is virtually the same as the EVENT_LIST shortcode and as such it uses the same options settings. So, in Template Settings make sure that “Display short descriptions in the event listings?” is turned to yes.

One caveat: this is a site wide change.

ADDING START/END TIME

None of the event listing shortcodes or systems show the time. It can be added but would require a template edit.

This example though slightly old, still seems valid: https://eventespresso.com/topic/event-list-start-date-start-time-end-date-end-time/

FEATURED IMAGE

That should not be happening, might be a CSS conflict. This CSS should fix it:

div.event-data-display {
overflow: auto !important;
}

That CSS can be added to your themes style.css, though in order to preserve the CSS through theme updates we recommend adding it to either: a child themes style.css, your themes CSS options if it has any, or a plugin such as My Custom CSS.

Hope that helps, let me know if you have any other questions.

Viewing 1 reply thread

The support post ‘shortcode for showing all events at a particular venue ESPRESSO_VENUE_EVENTS’ 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