# Comment Expiration by Post Activity

<figure><img src="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FryNdGrYQeMvwj5XFJkIl%2Fdlxplugins-1682959641010-1x.webp?alt=media&#x26;token=61357d47-0a8b-4887-89bb-ddc247c8a60b" alt=""><figcaption><p>Post Expiration Settings</p></figcaption></figure>

The default behavior of WordPress is to expire a post after 14 days. This feature changes that up.

You can now set up expiration based on post activity. If a post gets updated, or a new comment is posted, the clock resets.

### Set the Expiration Time (in days)

Since expiration goes off of last activity, the number of days will be the amount without any activity.

### Enable for Post Types

You can choose to enable this feature for some post types or all post types.

### Allow Per-Post Overrides

By enabling per-post overrides, each post, page, or post type will have a sidebar option so that you can set the expiration at the post label.

<figure><img src="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FFj91oIvbvtoXlIWNUQhn%2Fdlxplugins-1682960244789-1x.webp?alt=media&#x26;token=7a446f7a-b083-4a09-8775-f14590a54b70" alt=""><figcaption><p>Set Per-Post Activity Overrides</p></figcaption></figure>
