Add Expiration Date to Posts
See original GitHub issueWe need to add expireAt
to the Post model and the Post endpoints.
In a future ticket, we will add filtering on the backend to filter out expired posts before serving them to the FE.
When editing the post, the expireAt
should be referenced from the time the person is editing the post, not the original time of posting.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10 (6 by maintainers)
Top Results From Across the Web
How to Enable Post Expiration Dates in WordPress - ThemeIsle
If you want a particular piece of content to expire, the first thing you have to do is tick that option and then...
Read more >How to Expire Posts or Partial Post Content in WordPress
First, check the box next to the 'Enable Post Expiration' option. Then, choose the date and time when you want this post to...
Read more >How to Set Expiration Dates for Posts in WordPress
Log into your WordPress Dashboard · Click Plugins and search for Post Expirator · Install and Activate the plugin · Click Posts ·...
Read more >How to Set an Expiration Date on Post Content in WordPress
Go to any existing post or create a new one. On the right-hand side, locate the Post Expirator box. By default, it ...
Read more >PublishPress Future: Automatically Unpublish WordPress Posts
PublishPress Future allows you to place automatically show the expiry date inside your articles. The expiry will be added at the bottom of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That makes sense, thanks Robin. Updated the ticket
I think the backend will apply filters based on query params that are sent by the frontend? Well that makes more sense to me anyway… maybe I didn’t understand the requirements exactly, haven’t looked at the designs for the feed in detail yet. ( in this case, expired looks like a default that should not be shown, similar to archived / soft delete )