Is it possible to sort events by end date whilst honouring sticky events?
I’m guessing the answer is no as I’ve been testing this using 1.3.0, but I was wondering if there might be a workaround?
Using the default start date/time does honour sticky events, however, if I change this to use orderby="low_events:end" is does not seem to work.
Any tips would be appreciated.
Thanks,
Simon
Replies
Low 21 Jul 2014 14:43
Ah, no. Currently, having sticky entries *and* ordering by the end date is not supported.
thoughtful_web 21 Jul 2014 14:52
Hi Low,
Thought so, but worth asking in case I was missing something.
We have a number of sites where we show events listed by day, however, any event that has been assigned a long date range always appear at the front of the list pushing the events that run only on that day to the end. That’s why ordering by end date is so useful for us and has worked a treat until our client ask to push an event to the front of the list using the sticky feature.
Is it possible to add this to a feature request list as it would be very useful?
Thanks,
Simon
Low 21 Jul 2014 14:56
I'll definitely consider it.
You could also try and work around it by using a custom field instead, and using the search:field="yes" (or something similar) to mimic the sticky functionality. You'd have to use two Entries tags.