Support

Home Forums Multiple Event Registration Sorting Events

Sorting Events

Posted: December 24, 2012 at 7:47 am

Viewing 4 reply threads


glen newbury

    December 24, 2012 at 7:47 am

    Hi, I’ve got to sort my events by something other than dates.
    Currently I’m just making a new category for every event and then showing them like this:
    [EVENT_ESPRESSO_CATEGORY event_category_id=”confb”]
    but that’s awkward. Is there a way to sort them by one of the event meta boxes (or do you have a suggestion)?
    thanks!


    Josh

      December 24, 2012 at 9:54 am

      Hi Glen,

      The order by parameters are listed here:

      http://staging.eventespresso.com/wiki/shortcodes-template-variables/#event-list

      Since you’re already using categories, you might try something like:

      [EVENT_LIST order_by=category_id, id]


      glen newbury

        December 24, 2012 at 2:03 pm

        Hi,
        Yes, I saw that and was worried about this:
        Important: The [EVENT_LIST] shortcode should not be used as a replacement for the [ESPRESSO_EVENTS] shortcode. Replacing the [ESPRESSO_EVENTS] shortcode will break your registration pages.
        Thanks for your help.


        Josh

          December 24, 2012 at 2:29 pm

          Hi Glen,

          No need to worry about that. What that means is if you want to use the [EVENT_LIST] shortcode, by all means please use it on a new page. Then what you can do is hide the page with the [ESPRESSO_EVENTS] shortcode from the site’s navigation menu.


          glen newbury

            December 24, 2012 at 2:31 pm

            wow, Christmas eve service, thanks! Have a good holiday! Will try that.

            Viewing 4 reply threads

            The support post ‘Sorting 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 - Staging Server