Support

Home Forums Event Espresso Premium Displaying All Events On Registration Page

Displaying All Events On Registration Page

Posted: July 31, 2013 at 3:33 pm


Nicole Ouellette

July 31, 2013 at 3:33 pm

Hi,

One of my clients has a series of events happening in the next three weeks but for some reason after a certain amount (I’m thinking 50 but I haven’t counted), the events go onto a second page. You can see online here (scroll all the way down and you see we’re on page one of two): http://schoodicartsforall.org/events/event-registration/

Is there a way to force them all to display on one page? I waded through the forums a bit here but I didn’t see a topic like this, my apologies if there is one!

Thanks,
Nicole

Wordpress version 3.5.2
EE version: 3.1.33.3.P


Josh

  • Support Staff

July 31, 2013 at 3:58 pm

Hi Nicole,

It turns out there’s more than one way to change this. One way is to edit a line of code in event_list.php. It’s line 63 and it reads like this:

'events_per_page'			=> 50,

Then after making the change copy event_list.php and event_list_display.php into /wp-content/uploads/espresso/templates to keep the changes from getting overwritten on an update.

There is another way that does not involve any code changes, but it does involve making a new page and changing the menu item in your website’s navigation bar that’s pointing to the Registration page. Here are the steps:

1) You make a new page and place [EVENT_LIST events_per_page=100] on it.
2) The go into the WP menu manager and change the menu item for “Summer Festival Registration” to point to your new page.

An important note, the Registration page will still be active on the site for registration, but when the visitors of the site click on the link for summer festival registration it will initially load up the longer list of events.

The support post ‘Displaying All Events On Registration Page’ 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