Support

Home Forums Event Espresso Premium espresso_events shortcode with multiple variables

espresso_events shortcode with multiple variables

Posted: January 16, 2015 at 8:48 am

Viewing 8 reply threads


Burnt Orange Design

January 16, 2015 at 8:48 am

Is there a way to display the [ESPRESSO_EVENTS] shortcode with multiple variables? For example: [ESPRESSO_EVENTS category_slug=”day-camp”, css_class=”event-boxes”]

I tried the above, but it’s not working. It’s still displaying all events and not just the category. The css_class variable is working though. Thanks

  • This topic was modified 9 years, 9 months ago by Tony. Reason: fixed title


Tony

  • Support Staff

January 16, 2015 at 9:01 am

Hi,

Is this using EE3 or EE4?


Burnt Orange Design

January 16, 2015 at 9:06 am

I’m using EE4. Sorry about that.


Burnt Orange Design

January 16, 2015 at 9:07 am

And sorry about the “shortcake” in the title. Autocorrect on my mac 🙂 It should obviously say “shortcode”


Tony

  • Support Staff

January 16, 2015 at 9:19 am

I have fixed the shortcake title so no-one will ever know 😉

You’ll need to remove the comma between the parameters, so this should work:

[ESPRESSO_EVENTS category_slug=”day-camp” css_class=”event-boxes”]

Also when copying and pasting shortcodes from here (or anywhere with formatting) be sure to paste the shortcode in ‘Text’ mode and check that no extra formatting has been copied with it (such as being wrapped in span tags)


Burnt Orange Design

January 16, 2015 at 10:07 am

Thanks,
Can I have 2 of those shortcakes on the same page? I want 2 sections on the page. Each section shows a specific category. Like the following…

Summer Camps Ages 9-18
[ESPRESSO_EVENTS category_slug=”day-camp” css_class=”event-boxes”]

Summer Camps Ages 5-8
[ESPRESSO_EVENTS category_slug=”youth-day-camp” css_class=”event-boxes”]

The first group shows up fine, but the second group is showing the events that belong in the first group and they get all out of order. They’re not ASC properly.

Thanks!


Lorenzo Orlando Caum

  • Support Staff

January 16, 2015 at 1:19 pm

Hi, we were able to verify the issue and are working on a fix. We’ll update this support post once we have more information.


Lorenzo


Josh

  • Support Staff

January 27, 2015 at 2:44 pm

Hi there,

This is fixed in Event Espresso 4.4.9.p, available now.


Burnt Orange Design

January 29, 2015 at 1:48 pm

Thanks!

Viewing 8 reply threads

The support post ‘espresso_events shortcode with multiple variables’ 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