Support

Home Forums Event Espresso Premium Event attendee shortcode delete limit

Event attendee shortcode delete limit

Posted: January 4, 2019 at 1:28 pm

Viewing 5 reply threads


renefi

January 4, 2019 at 1:28 pm

Hi, there seems to be a limit to 10 with the attendee list shortcode. I managed to use limit=30 to increase the limit. But can I delete this restriction somewhere. Couldn’t find anything in the php-files. We never have more than 25 participants, So it would be fine to just use the regular shortcode without the limit=30.

Thank you


Josh

  • Support Staff

January 4, 2019 at 1:51 pm

Hi,

If your site is using WordPress 5 you could use the Attendee block instead. The Attendee block includes a slider to control the limit.


renefi

January 4, 2019 at 2:57 pm

Thank you Josh, no I want to display it directly in the event and I use Divi Builder not Gutenberg anyway. So if not possible I will stick to the way I do it now.
Rene


Tony

  • Support Staff

January 7, 2019 at 4:27 am

Hi Rene,

You can use a snippet like this:

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

That sets the default limit value to whatever you set on Line 5 (in my example its 250).

Note that the limit value was introduced to prevent timeout when pulling all of the information into the page, you’ll need to monitor how you server handles that limit and decrease if needed.


renefi

January 7, 2019 at 12:20 pm

wonderful. thanks Tony


Tony

  • Support Staff

January 7, 2019 at 4:21 pm

You’re most welcome.

Viewing 5 reply threads

The support post ‘Event attendee shortcode delete limit’ 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