Support

Home Forums Community Forum Having trouble with order of events

Having trouble with order of events

Posted: March 31, 2015 at 8:54 am

Viewing 4 reply threads


Ashley Fletcher

March 31, 2015 at 8:54 am

I am trying to change the order of our events. We have several events happening on the same day and I want to alphabetize the list. I have tried the event list shortcodes.

These are the ones I tried: [EVENT_LIST order_by=event_name] and [EVENT_LIST order_by=event_name sort=ASC]

And I keep getting these warning messages.

Warning: preg_match() expects parameter 2 to be string, array given in /home/blackhawk/www/lovemadison/sitefiles/wp-includes/wp-db.php on line 1604

Warning: preg_match() expects parameter 2 to be string, array given in /home/blackhawk/www/lovemadison/sitefiles/wp-includes/wp-db.php on line 1606


Dean

April 3, 2015 at 3:39 am

Hi,

It looks like you have used the [EVENT_LIST order_by=event_name] and [EVENT_LIST order_by=event_name sort=ASC] on the Event Registration page, is this correct?

If so, have you changed you Main Page containing the [ESPRESSO_EVENTS] to something else?

The [ESPRESSO_EVENTS] is required for the plugin to work correctly. You can check the Event Espresso > General Settings > Page setting section to get a list of the core pages and their appropriate shortcodes.

Here is a a screenshot of the default setup: http://take.ms/v5zvm


Ashley Fletcher

April 6, 2015 at 11:07 am

No, the Main Page has not changed. It’s the Event Registration Page. Yes, I have used the event list order on this page. But it’s not putting them in the right order.


Dean

April 7, 2015 at 4:23 am

Hi,

The Main Registration page should contain this: [ESPRESSO_EVENTS]

Ideally nothing else should be on the page and definitely no shortcode parameters.

If you want to use the [EVENT_LIST] shortcode and its parameters, please use it on a separate page.


Ashley Fletcher

April 7, 2015 at 8:07 am

Opps. I said that wrong. The [EVENT_LIST] shortcode is on a different page. The main registration page just has [ESPRESSO_EVENTS]. When I put the [EVENT_LIST] on the other page, it shows the two warning messages that I put above.

Viewing 4 reply threads

The support post ‘Having trouble with order of events’ 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