Posted: December 8, 2014 at 3:23 pm
|
My registration page has that nice sort option at the top however it is not functioning! If I select a category, the filter displays nothing. The sort function is working perfectly however with my calendar. Any ideas? I use this code: Also I seem to remember seeing an option to just do away with the sort feature all together but can’t seem to find that now. |
|
Here is a link to the page for better visual: |
|
Hi, It seems to be functioning. What I’m seeing is if you select Art, no events show, presumably because there are no events in that category. If you select Classes for 5-11 yr olds, then 3 events show up. Is this not correct? Adding the shortcode parameter category_filter=”false” will remove the filter, e.g. [ESPRESSO_EVENTS_TABLE_TEMPLATE order_by=event_name sort=ASC” category_filter=”false”] |
|
Dean- that is in fact what is happening, but there are indeed Art classes that are just no displaying. There are about 15 classes for kids ages 5-11 also not showing. They show in the calendar filter though… |
|
I just tried copying and pasting your code and it might be working now except if you go to: |
Hi Tamara, The Events table has a limit of 10 by default, so add limit=100 to the shortcode. You will also find that by default 10 events will be shown on each page, you can also change this by using ‘table_pages=xx’ where xx would be the events per page. So using Deans example, with limit, would be: [ESPRESSO_EVENTS_TABLE_TEMPLATE order_by=”event_name” sort=”ASC” category_filter=”false” limit=100] If you also wanted 15 events per page: [ESPRESSO_EVENTS_TABLE_TEMPLATE order_by=”event_name” sort=”ASC” category_filter=”false” limit=100 table_pages=15] |
|
|
Thank you! All is fixed! |
The support post ‘trouble with front end sort function’ 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.