I am planning to move my uncles old WordPress website to Prismic.
I would like to preserve the old publishing date in the nes Prismic posts. Looks like, I can use first_publication_date field for it, but I am unsure if it is possible to manually adjust this field.
In fact, it is not possible to set first_publication_date using the Import/Export feature, and In fact, I will create a feature request and send it to our @features-team to allow that as it makes total sense.
A workaround would be to add a new field to your custom type, such as publication_date and run a script to change it automatically in your WordPress export.
And then, you can have a fallback in your application to check if this field is set. You take its value. Otherwise, you accept the first_publication_date to handle newly-created posts.
Please let us know if need any further help,
Fares
@Fares (or someone else from Prismic). This is a pretty big problem. There is no Write API for posts and also no way to edit the First Published Date. What's the status of this feature request?
A custom field as a second parameter in sorting API requests doesn't seem to be working either.
Hello @bassplayer7, we have no updates for the moment. Check out our progress page to see all the features we're currently working on. What's new - Prismic
Thanks