Support

Home Forums Event Espresso Premium can a venue be selected as the default venue for events?

can a venue be selected as the default venue for events?

Posted: April 19, 2022 at 6:17 am


codingforsail

April 19, 2022 at 6:17 am

Hi,
ESSA have only one venue, yet for each event they need to select that venue.
Is there a way to select that by default?
Best wishes,
Anita


Tony

  • Support Staff

April 21, 2022 at 7:28 am

Hi Anita,

Yes, this is possible and t can be done a couple of different ways.

One option is to filter the select element and set the default value to be the ID of your venue, like this:

https://gist.github.com/Pebblo/b189b8360761973f27db75a2868f6e05

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

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

Set the ID of the venue on Line 13 and EE will default to that venue when an event is created.

The support post ‘can a venue be selected as the default venue for 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