Closed markusfinell closed 2 years ago
Would be good to enable aliasing of meta fields.
meta_key => [
_event_date => 'Evenemangsdatum'
]
Also handle different types of fields, so we can sort as date, string, numeric.
Maybe as a setting (so you select "Sort as" when you pick a field) to avoid an overly complex configuration.
This was solved in #58
There is currently a setting to change in which order posts should be displayed, ascending or descending by date. We should add support for sorting by title and menu_order by default.
We should also enable custom sorting options by post meta. This could be defined in the config: