How to Expire Post in WordPress?

When it comes to expiring posts, WordPress provides an easy way to do it. All you need to do is add a short code to your post’s content. Here’s how you can do it:

1. Open your post in WordPress.

2. In the “Content” section, locate the “Code” box and insert the following code:

3. Save your post.

That’s all there is to it! Your post will now expire on January 1, 1970, GMT.