Answer the question
In order to leave comments, you need to log in
How to make date update in WordPress?
Good afternoon, colleagues!
How to do the following:
you need to implement the ability to change the date of a post using standard WordPress tools.
That is, you need to make a calendar module. With the publication for one date - there are no questions, how to make it so that if this event is for a month, two, three? How to make automatic update? Or end date..
The site has a filter that works through the_date.
I tried to install the Post Expirator plugin - it doesn't want to work.
How to solve this issue?
Answer the question
In order to leave comments, you need to log in
Option 1: Metadata (wp_postmeta).
Option 2: Use the post_modified column in wp_posts, update it on schedule.
Option 3: Use a separate table in the database specifically for this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question