• Resolved dalk

    (@dalk)


    hello,

    i want to set up a wordpress site with the letters of a famous, now dead author. mostly it is easy, whenever the letter is timestamped: i will publish it the day the letter was sent, i.e. may 24th 1854. but in a few occasions one can date the letter only within a timeframe, like: august 1870. or sometimes only the year is known. can anyone help me to find a workaround?
    i very much appreciate any suggestion which might be able to lead to a solution
    thanks
    martin

Viewing 5 replies - 1 through 5 (of 5 total)
  • Unfortunately, due to the format the dates are stored in the database in, it’s not possible to store only part of a date.

    The only solution i can think of is to use a different field to store these partial dates – as text strings – rather than as dates (possibly by using a plugin such as Pods or Flutter) and change the template to use this field if it’s present, and the normal date field if not.

    Thread Starter dalk

    (@dalk)

    Thank you very much, that sounds logical and possible to set up! I will investigate further with your plugins!

    Best
    Martin

    Thread Starter dalk

    (@dalk)

    Having looked through your plugins i was wondering if I couldn’t find a solution via the “Custom field” instead of using plugins, again via an if-routine (If not empty). Or do you suppose that is not possible?

    Yes, that sounds like a better solution. Any old field would do really – so long as you’re never likely to need to use it for anything else.

    @dalk, also bear in mind, that currently (see this thread) pre-1970 dates will not display properly, so until that is fixed, your approach will not work anyway.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘posting without exact date’ is closed to new replies.