• Resolved Lara C

    (@larissacas)


    Hi,

    is there any short code, to show a list, with thumbnails, for upcoming events, but only for events that are not yet full?

    Month by month we open several meetings, and people can subscribe to them. The invitations are limited to 25 attendees. We have an waiting list, if someone give up, we subscribe the next on the waiting list (that we are building this list separately, by e-mail).

    I want to feature on home page only the events that still have tickets, and promote them, as the others are already sold out.

    I was looking at the documentation, and didn’t see how can I make this featured list.

    Do I have to write a custom code?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Check this documentation:
    https://wp-events-plugin.com/documentation/conditional-placeholders/

    You could use something simple as:
    [events_list limit="5" scope="future"]{has_spaces}<p><a href="#_EVENTURL">#_EVENTIMAGE{150,150}<br>#_EVENTNAME</a></p>{/has_spaces}[/events_list]

    Thread Starter Lara C

    (@larissacas)

    Thanks, @duisterdenhaag I had not see this section before, it wasn’t clear for me about what it was in the documentation first page.

    As I said, I have a fully 2019 agenda, but the upcoming events only open to subscribe/register closer to the date, so only one month earlier.

    Now we have the events for August open. In August we’ll have September, and so…

    In the admin panel, I already programmed when tickets will be available, until December. So this conditional includes this events too.

    Is there a way I can set more the one conditional? Because I set up categories for each month. I tried with category id conditional, but this structure only allows one conditional for short code.

    You can either limit how many events are shown wit scope=”x”, or to prevent a lot of manual work each month, you set the ticket availability from and until, not just the cut-off date. {bookings_open} looks at the ticket availability dates.

    https://wp-events-plugin.com/documentation/conditional-placeholders/ :

    {bookings_open}content{/bookings_open}
    event has bookings enabled and spaces are available for the current user viewing the page

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shortcode to events with tickets’ is closed to new replies.