#3115 closed enhancement (fixed)
Enable sessions shortcode to order sessions by date AND time
Reported by: | mrwweb | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | WordCamp Site & Plugins | Keywords: | needs-patch good-first-bug |
Cc: |
Description
Currently, [sessions] output can be ordered by date but not time.
Either orderby="date" should be sorting by date and time or a new option for orderby="date-time" should be introduced. Either way, this sort should likely be the default option (an argument for just updating orderby="date" to account for time).
This way, if a user outputs all sessions for a single day (e.g. [sessions date="YYYY-MM-DD"]), the output roughly aligns with the schedule.
This is essentially the front-end version of #24.
Change History (6)
#1
@
7 years ago
- Summary changed from Enabled sessions shortcode to order sessions by date AND time to Enable sessions shortcode to order sessions by date AND time
This ticket was mentioned in Slack in #meta-wordcamp by coreymckrill. View the logs.
7 years ago
#4
@
7 years ago
- Resolution set to fixed
- Status changed from new to closed
I believe this is fixed with [6013]. Setting the orderby
parameter to session_time
takes into account both the date and the time of the sessions.
#5
@
7 years ago
Appears to be working on WordCamp Seattle 2017 schedule.
Especially if this isn't the default, make sure it gets documented in the handbook!
The former is definitely preferable. It doesn't seem like it would be a breaking change for existing sites.
Agreed, and
date
is already the default.