• #1. Can you add centuries to this widget, please?

    #2. Furthermore, I’ve noticed that there is bug for years below 1000.
    I use the date as a chronology for past events, so I enter the date when the event occurred as the publication date. For example, if something happened before the year 1000, say 420 AD, then when accessing the archive as a permalink /420/, it returns a “Not found” page error. However, if you manually add a leading zero to the URL, like /0420/, everything works correctly.
    For year 42, there are two leading zeroes, for example /42/ not working, but manually adding /0042/ is fine.
    Is there a way to fix this issue?

    #3. Additionally, it would be ideal if there were an option to exclude the year. For instance, is it possible to list all posts that happened (submitted date) is on a specific day in a year (day + month) and display all posts from that day, regardless of the years.

    One good example is: On this day or happened on today’s day.
    Is there possibility to list archive in wordpress something like this in permalink /*/month/day/?

    Thanks in advance for your response.

    • This topic was modified 1 year, 2 months ago by idovecer.
    • This topic was modified 1 year, 2 months ago by idovecer.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor twinpictures

    (@twinpictures)

    #1. Can you add centuries to this widget, please?

    1000 years of blog posts would not be useful unless you are using the years for something other than publish dates, and this is beyond the scope of this plugin.

    there is bug for years below 1000.

    Yes. This is because computers use something called Epoch or a Unix Timestamp that starts on 1 January 1970. As you explained, you are using the publish date to organize historical events. This is problematic and an alternative approach should be considered. For example, using a custom meta field to store the event dates. Of course, dealing with events that go too far back will have to deal with various calendars and missing dates such as October 5th and 14th, 1582, the fact that there never was a year 0, Gravitational deviation, etc. On the human scale, time is not well equipped to understand, let alone organize events that span multiple millenniums. So yeah, there is a bug, but this plugin can not fix it.

    option to exclude the year

    We added such features to Archive-Pro-Matic called Birthmonth and Birthday

    Thread Starter idovecer

    (@idovecer)

    Tnx for reply. Can I see somewhere ArchiveProMatic demo? I’m interested in this feature, selecting and showing only day+month without year.

    • This reply was modified 1 year, 2 months ago by idovecer.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding Centuries to the Widget & Fixing archive year below 1000’ is closed to new replies.