• Resolved URLmedia

    (@urlmedia)


    with the recent update my list has changed from sorting to day, month, year to now reads year, day, month.
    In other words the year is the priority which i don’t want. I need to have the table show the day first, and all events on this day grouped, so all events on this day show in the one day irrespective of year eg.

    09-08-2020 Died on this day
    15-08-2019 Died on this day
    15-08-2020 Died on this day
    18-08-2019 Died on this day
    18-08-2020 Died on this day
    21-08-2019 Died on this day
    21-08-2020 Died on this day

    At the moment it is sorted by year which it was not before. I am using the code: [tdih_tab month=c]. Is there a new shortcode i have to use?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Anonymous User 393930

    (@anonymized-393930)

    The default order was changed to be chronological (ascending by year-month-day) because this makes the most sense for tabular list of dates.

    I’ve added a new option in version 3.8 called order_dmy to allow for cases in which the sort order should be ascending by day-month-year.

    Change your shortcode to

    [tdih_tab month="c" order_dmy=1]

    and your list will be the same as before.

    Thread Starter URLmedia

    (@urlmedia)

    Hi BC
    thanks for the quick reply. Glad to hear it will be included in the next update. After all the plug-in name is “This Day In History.” My visitors like to know what happened on this day, which is very important. The year is a secondary concern.

    Unfortunately the shortcode you supplied did not work, as it only showed what happened today. The list did not go back to what it was before with preference to the day-month-year. Any other suggestions while i wait for the plug-in update? Thanks for your response.

    Anonymous User 393930

    (@anonymized-393930)

    You need to update to 3.8 Then the new shortcode will work.

    Thread Starter URLmedia

    (@urlmedia)

    Hi BC
    Plug-in updated to 3.8 and shortcode does not fix the problem.
    [tdih_tab month="c" order_dmy=1] only shows today’s event.
    [tdih_tab month=c] still shows all events for current month and gives priority to year not day, as needed.
    There are no other settings to change, only 3 options.

    Thread Starter URLmedia

    (@urlmedia)

    Sorry [tdih_tab month=”c” order_dmy=1] DOES WORK for current month

    Thread Starter URLmedia

    (@urlmedia)

    [tdih_tab month=”09″ order_dmy=1] also works for each month. Thank you for your help.
    **RESOLVED**

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Date sorting first?’ is closed to new replies.