Support

Home Forums Event Espresso Premium Events Listing Page shows Single event, how to show multiple?

Events Listing Page shows Single event, how to show multiple?

Posted: July 2, 2019 at 2:24 pm

Viewing 6 reply threads


wilmed2019

July 2, 2019 at 2:24 pm

I have my events displaying a single event and then a row of buttons like a gallery for my events. Clicking any of the buttons takes you to a new page.

I want options/method for displaying multiple events on the events page simultaneously so users can add an event to their cart directly on that page.

Can you help? Thank you in advance.


Josh

  • Support Staff

July 2, 2019 at 2:42 pm

Hi,

One way to display multiple events on a page is add a new “Page” and place this shortcode on it:

[ESPRESSO_EVENTS]

There’s more about this shortcode in the documentation:

https://eventespresso.com/wiki/ee4-shortcodes-template-variables/

Please note there are settings in Event Espresso > Events > Templates under “Event Listing Settings”. Any changes you make to the settings there will affect the display of [ESPRESSO_EVENTS]. For example you may want to set the option to display the ticket selector because that will allow users to add events to their cart on that page.


wilmed2019

July 3, 2019 at 3:50 pm

I do love the shortcode you shared but that doesn’t address my issue.

My base issue is how do I give my users the opportunity to select all the events they would like to signup for on one page.

The events page kind of comes closest to satisfying that requirement because after I sign up for one event, I get the dialog box offering to send me back to the “/events” dynamic page. And that solution would work great, if only the javascript popup offered to send me to the nice new page using the [ESPRESSO_EVENTS].

So my problem is either:
1. (again) how do I control the output of the “events” page to display the “[ESPRESSO_EVENTS]” shortcode?

2. How do I control the URL that prompts users to return to a custom page that is not the events page but also uses the “[ESPRESSO_EVENTS]” shortcode?

3. Is there a less dumb solution that I’m thoroughly ignorant of and missing?

Nearly 2 in 10 of our signups are for multiple events so it’s an important issue for us. Thanks!


wilmed2019

July 3, 2019 at 4:02 pm

Or y’know, just have a page that allows my users to select and add multiple to their shopping cart without leaving the page…is that possible or easy to do with EE?


Josh

  • Support Staff

July 3, 2019 at 4:15 pm

Hi,

In Event Espresso > Events > Templates under “Event Listing Settings”, you’ll want to set “Display Ticket Selector?” to Yes. This will allow adding any event to the cart without leaving the page. It will also add the ticket selector to the /events page.

If you also want to control the URL that prompts users to return to a custom page that is not the events page but also uses the “[ESPRESSO_EVENTS]” shortcode, you can add this code snippet to a functions file on your site:

function ee_mer_change_event_list_url(){
	return 'https://example.com/new-url';
}

add_filter(
'FHEE__EED_Multi_Event_Registration__set_definitions__events_list_url',
'ee_mer_change_event_list_url' 
);

You can add the above to a functions plugin or, if available, into your WordPress child theme’s functions.php file.


wilmed2019

July 3, 2019 at 5:05 pm

Thank you sir! I will try that soon and report back after the US flag holiday. Appreciated.


wilmed2019

July 3, 2019 at 5:48 pm

I couldn’t wait to try the URL functions file solution. Works like a dream. Thank you so much. I have everything I need for this issue. Much appreciated.

Viewing 6 reply threads

The support post ‘Events Listing Page shows Single event, how to show multiple?’ 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