Support

Home Forums Event Espresso Premium Trying to place 2 shortcodes on the same page not working

Trying to place 2 shortcodes on the same page not working

Posted: January 13, 2016 at 1:18 pm


Burnt Orange Design

January 13, 2016 at 1:18 pm

Can I have 2 shortcodes 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”]

I’ve tried removing the quotes. I’ve tried removing the css_class. No Matter what I try, it only shows the events for the “day-camp” category in both sections.

I’ve double-checked to make sure the category names are correct. There was a previous post where I had the same problem. It was fixed in an older version of EE4 (I think 4.4). I have version 4.8.20 and it’s not working for me.


Lorenzo Orlando Caum

  • Support Staff

January 13, 2016 at 1:29 pm

Hello,

I’ve verified that you can use the ESPRESSO_EVENTS shortcode with the event category parameter twice on a page:

http://cl.ly/3K181Q1e2d08

Could you please update to a current version of Event Espresso 4?

You can see the changes since your version here:

https://eventespresso.com/wiki/ee4-changelog/


Lorenzo

The support post ‘Trying to place 2 shortcodes on the same page not working’ 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