Title: WP Post Expires
Author: X-NicON
Published: <strong>16. august, 2016</strong>
Last modified: 2. november, 2020

---

Søg plugins

![](https://ps.w.org/wp-post-expires/assets/banner-772x250.png?rev=1475897)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/wp-post-expires/assets/icon-128x128.png?rev=1475897)

# WP Post Expires

 Af [X-NicON](https://profiles.wordpress.org/x-nicon/)

[Download](https://downloads.wordpress.org/plugin/wp-post-expires.zip)

 * [Detaljer](https://da.wordpress.org/plugins/wp-post-expires/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/wp-post-expires/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/wp-post-expires/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/wp-post-expires/#developers)

 [Support](https://wordpress.org/support/plugin/wp-post-expires/)

## Beskrivelse

A simple plugin that allows to set the date for the posts, after which will be performed
one of 3 actions: “Add prefix to title”, “Move to drafts”, “Move to trash”.

#### Features:

 * Set post expire date and time
 * Support custom post type (post and pages by default)
 * Action for expired posts: move to drafts, move to trash or add custom prefix 
   for title
 * Adds class “post-expired” to post that expired on the site and in admin interface(
   for custom styles in theme)

#### Use in theme:

    ```
    XNPostExpires::isExpired($post_id)

    XNPostExpires::dateExpiration($post_id, $date_format)
    ```

## Skærmbilleder

[⌊Select date and time in post⌉⌊Select date and time in post⌉[

Select date and time in post

[⌊Add personal prefix for any post⌉⌊Add personal prefix for any post⌉[

Add personal prefix for any post

[⌊Default settings⌉⌊Default settings⌉[

Default settings

## Installation

 1. Copy to plugins folder (/wp-content/plugins)
 2. Activate plugin from plugins page in admin interface
 3. Use the Settings->Reading Name screen to configure the plugin

## Anmeldelser

![](https://secure.gravatar.com/avatar/a284d1a497d6f9d989c83e74243caf4c8efd1996fc0e9dcf2e7bb5bd50850d84?
s=60&d=retro&r=g)

### 󠀁[Works Great](https://wordpress.org/support/topic/works-great-7987/)󠁿

 [sarahgardnerpointright](https://profiles.wordpress.org/sarahgardnerpointright/)
18. november, 2021

Works great, I use it on several sites.

![](https://secure.gravatar.com/avatar/89da38600b16de15e7c3fb10d0f81a949a6864702a7e3a133f66b62c26cd7772?
s=60&d=retro&r=g)

### 󠀁[Is this plugin no longer being supported?](https://wordpress.org/support/topic/is-this-plugin-no-longer-being-supported-2/)󠁿

 [Sea Jay](https://profiles.wordpress.org/jcollier/) 8. marts, 2021 2 svar

Update 3/8/21. Not working with 5.6.2. Several issues from earlier support tickets
seem to still be unresolved. The time-picker isn't appearing under the calendar 
picker. Custom Post Types aren't being expired. I notice that support tickets going
back one year haven't been answered. Is this plugin being supported?

![](https://secure.gravatar.com/avatar/085ef91291046e2b7aaf51a751f589d9b57a3bece9e78a1ba2976332621fbcf7?
s=60&d=retro&r=g)

### 󠀁[working](https://wordpress.org/support/topic/working-168/)󠁿

 [nishantvermathebest](https://profiles.wordpress.org/nishantvermathebest/) 29. 
marts, 2019

guys, it is working completely fine. I personally tested on 5.1.1 wordpress. read
the installation instruction. Thanks team.

![](https://secure.gravatar.com/avatar/b712c47d1713a131959136e159a55f4ba0811762a2740c3cb983f005b6aa765a?
s=60&d=retro&r=g)

### 󠀁[Date Picker Doesn’t Work](https://wordpress.org/support/topic/date-picker-doesnt-work-6/)󠁿

 [Kazam Creative](https://profiles.wordpress.org/goldenagemedia/) 23. august, 2018

Upon first installation, the date picker doesn't work when trying to set the expiry
date. Well, that basically renders this plugin useless. Great idea, but needs to
work properly first.

![](https://secure.gravatar.com/avatar/e868f79a101854da25eeb1e4dc3c969597c8a0c9317b5de1c5aab45d38e902cb?
s=60&d=retro&r=g)

### 󠀁[not working](https://wordpress.org/support/topic/not-working-2595/)󠁿

 [especially](https://profiles.wordpress.org/especially/) 19. juli, 2018

>>This plugin turns posts to a blank page when set a date to expire. same with me.
Any ideas?

![](https://secure.gravatar.com/avatar/496a3e51c73280ae4b6e8ac2bfbab4fab52306c1dee3a301e2dbdbe4a85f9d6b?
s=60&d=retro&r=g)

### 󠀁[Break posts after set a date.](https://wordpress.org/support/topic/break-posts-after-set-a-date/)󠁿

 [luisserrano](https://profiles.wordpress.org/luisserrano/) 29. april, 2018

This plugin turns posts to a blank page when set a date to expire.

 [ Læs alle 14 anmeldelser ](https://wordpress.org/support/plugin/wp-post-expires/reviews/)

## Bidragsydere & udviklere

“WP Post Expires” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

 *   [ X-NicON ](https://profiles.wordpress.org/x-nicon/)

“WP Post Expires” er blevet oversat til 4 sprog. Tak til [oversætterne](https://translate.wordpress.org/projects/wp-plugins/wp-post-expires/contributors)
for deres bidrag.

[Oversæt “WP Post Expires” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/wp-post-expires)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/wp-post-expires/), tjek
[SVN repository](https://plugins.svn.wordpress.org/wp-post-expires/), eller abonner
på [udviklerloggen](https://plugins.trac.wordpress.org/log/wp-post-expires/) via
[RSS](https://plugins.trac.wordpress.org/log/wp-post-expires/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.2.5

fix bug loop expire. Tnx @d79 (https://github.com/d79)
 versiob wp 5.5.3

#### 1.2.4

fix bugs classic editor/gutenberg js, tnx @micahjsharp

#### 1.2.3

add status in post state
 change logic for draft and trash, tnx @micahjsharp use
local wp timezone

#### 1.2.2

support classic editor on wp 5.0+

#### 1.2.1

Small fixes:
 https://wordpress.org/support/topic/fatal-error-3074/ ( tnx @marknopfler)
https://wordpress.org/support/topic/fix-js-and-php-error/ ( tnx @lastant )

#### 1.2

use DateTime Picker jQuery-ui
 refactoring

#### 1.1

conflicts resolved
 fix datetime picker update datetime picker

#### 1.0.3

small fixes
 add Italian translation (tnx, Paolo Centomani)

#### 1.0.2

fix notice and accessing static property

#### 1.0.1

fixed translation

#### 1.0

init1 – Mr. Robot

## Meta

 *  Version **1.2.5**
 *  Senest opdateret **6 år siden**
 *  Aktive installationer **2.000+**
 *  WordPress-version ** 5.0 eller højere **
 *  Testet op til **5.5.22**
 *  Sprog
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/wp-post-expires/), [Czech](https://cs.wordpress.org/plugins/wp-post-expires/),
   [English (US)](https://wordpress.org/plugins/wp-post-expires/), [German](https://de.wordpress.org/plugins/wp-post-expires/)
   og [Swedish](https://sv.wordpress.org/plugins/wp-post-expires/).
 *  [Oversæt til dit sprog](https://translate.wordpress.org/projects/wp-plugins/wp-post-expires)
 * Tags
 * [expiration](https://da.wordpress.org/plugins/tags/expiration/)[expire](https://da.wordpress.org/plugins/tags/expire/)
   [posts expiring](https://da.wordpress.org/plugins/tags/posts-expiring/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/wp-post-expires/advanced/)

## Bedømmelser

 3.3 ud af 5 stjerner.

 *  [  7 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wp-post-expires/reviews/?filter=5)
 *  [  1 4-stjernet anmeldelse     ](https://wordpress.org/support/plugin/wp-post-expires/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wp-post-expires/reviews/?filter=3)
 *  [  1 2-stjernet anmeldelse     ](https://wordpress.org/support/plugin/wp-post-expires/reviews/?filter=2)
 *  [  5 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/wp-post-expires/reviews/?filter=1)

[Din anmeldelse](https://wordpress.org/support/plugin/wp-post-expires/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/wp-post-expires/reviews/)

## Bidragsydere

 *   [ X-NicON ](https://profiles.wordpress.org/x-nicon/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/wp-post-expires/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://xnicon.ru/donate)