Sunday, 19 May 2013

How can I change the publish date based on a custom field?

How can I change the publish date based on a custom field?

How can I change the publish date based on a custom field?
Author uses a date picker to choose the date for journal entry. The date is used to make a list of all the users journal entries. I can order these posts in a list with a query and orderby. But, then Next and Previous don't match the list.
I have read here, codex, and Google how to attempt to fix this, none have worked so far.
Maybe the best way would be to set the publish date to the same as the custom field from the date picker?
Does anyone know how this can be done?

No comments:

Post a Comment