Support

Home Forums Event Espresso Premium Shortcode stopped working

Shortcode stopped working

Posted: December 21, 2014 at 10:59 am

Viewing 6 reply threads


Laurita Winery

December 21, 2014 at 10:59 am

I have nothing but the following shortcode on this page: http://lauritawinery.branchescatering.com/shortcode-test/

[ESPRESSO_EVENTS order_by=”start_date,id” limit=3]

As you’ll see, nothing is showing up where there should be at least 1 event.

This seems to have happened after updating the theme to its latest version.

WordPress – 4.1
Event Espresso – 4.5.0.beta.038
Event Espresso – Calendar (EE 4.3+) – 3.2.1p
Event Espresso – Ticketing (EE4+) – Version 1.0.0.beta.004


Josh

  • Support Staff

December 22, 2014 at 10:31 am

Hi Jason,

Do you have a copy of the previous version of the theme to test your idea out?


Laurita Winery

January 4, 2015 at 1:29 pm

It seems it was just this part of the shortcode that wasn’t working:

order_by=”start_date,id”


Greg Scherrer

January 4, 2015 at 7:24 pm

We had the same issue — removing the shortcode’s order_by clause allows the shortcode to display correctly. We are using a custom shortcode processor, but derived almost directly from the standard ESPRESSO_EVENTS short code (with modifications to adjust the way it displays). Jason, what specific modifications did you make to order_by to make this work?

This appears to have changed in 4.4.7.


Dean

January 5, 2015 at 2:49 am

Hi,

Thanks for reporting this, I’ll raise a ticket to look into it.

It looks like the order_by parameter will currently only work with a single value, e.g. order_by=”id” or order_by=”start_date”


Laurita Winery

January 5, 2015 at 10:59 am

@greg I had to remove the order_by portion of the shortcode to get it to work.


Josh

  • Support Staff

January 27, 2015 at 2:47 pm

Hi there,

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

Viewing 6 reply threads

The support post ‘Shortcode stopped 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