Support

Home Forums Event Espresso Premium EE$: Multi Event Registration – /Events page not pulling event listings

EE$: Multi Event Registration – /Events page not pulling event listings

Posted: July 6, 2015 at 12:59 pm


Niamh O’Brien

July 6, 2015 at 12:59 pm

My default landing page for my events is http://drsketchyireland.com/book/ as I have styled it and used shortcodes.

With the new Multiple Registration addon (which is going to be very useful, thank you!), the instructions direct people to http://drsketchyireland.com/events/
This page should contain a feed of my events but instead says “no posts to display”.

I’ve tried creating a new page with the same name, but that’s been unsuccessful. Any suggestions on how to change the direct or how to ensure the event listings show up on /Events?

Thank you!


Josh

  • Support Staff

July 6, 2015 at 1:13 pm

Hi Niamh,

You can do either. You change the back to event list button to go to another URL by using a WordPress filter. There is example code in the documentation here:

https://eventespresso.com/wiki/ee4-multiple-event-registration-add-on/#change-list-url

RE: the /events/ url returning a 404. It looks like the WP theme or another plugin is also using the /events/ url as an archive. There is a setting in Event Espresso (in Events > Template Settings) where you can change the /events/ slug to be something else like classes, upcoming-events, workshops, etc.


Niamh O’Brien

July 21, 2015 at 4:29 pm

Hi Josh,

Could you please tell me exactly Where in the file:

EED_Multi_Event_Registration.module.php do you add the code:

function ee_mer_change_event_list_url(){
return ‘http://drsketchyireland.com/book’;
}
add_filter( ‘FHEE__EED_Multi_Event_Registration__set_definitions__events_list_url’, ‘ee_mer_change_event_list_url’ );

Unfortunately, so far when we add it in, it breaks the website!


Lorenzo Orlando Caum

  • Support Staff

July 21, 2015 at 5:56 pm

Hi Niamh,

We’ll never ask you to edit the core plugin. This is because the core plugin folder is removed and replaced when you update Event Espresso which means any edits will be lost when you upgrade your software*.

*If you have already edited the core plugin while trying to make other changes, then please create a new support post with information on those changes and we’ll share feedback on a safer location for those customizations:

https://eventespresso.com/support/forums/

On your question regarding adding the filter to change the location for events listing URL, there are two locations that you could add the code snippet. You could add it to your child theme’s functions.php file using an SFTP or FTP client such as FileZilla or Cyberduck.

This is usually:

wp-content/themes/nameofyourchildtheme/functions.php

Another option is to create a site specific plugin:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Let us know if this helps!


Lorenzo

The support post ‘EE$: Multi Event Registration – /Events page not pulling event listings’ 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