Expiration_Date:
Adds expiration dates to posts and pages

Hetjens Expiration Date
Hetjens Expiration Date

This plug-in adds a meta box to the post and page writing pages in wp-admin to set up an expiration date for that item. It uses the WordPress cron feature to be executed once a day.

After the expiration date the post will be in the trash can of WordPress. The plug-in does not delete any post, but WordPress will do depending on the trash can settings.

Languages: EN, DE
License: GPL
Version: 0.4
Requires: WordPress 2.9.0
Tested with: WordPress 2.9.2

Download from the WordPress Plugin Repository

» Drucken
» Merken/E-Mail

12 Kommentare

  1. jack
    schrieb am 6. Januar 2010 um 23:38 Uhr (#)

    Hi,

    I installed this plugin with wordpress 2.9, but it doesn’t work, it doesn’t change the post status to “draft” or delete it, just wondering when will you update the plugin so it works with WP2.9?

    Thanks

  2. fran
    schrieb am 2. März 2010 um 10:48 Uhr (#)

    Hi,

    I installed this plugin with wordpress 2.9.2, but it doesn’t work.

    please help

  3. sam G
    schrieb am 29. April 2010 um 07:23 Uhr (#)

    any update on when this will work win 2.9.2?

    Thanks!!

  4. Schreibt hier auf dem Blog Philip Hetjens
    schrieb am 2. Mai 2010 um 17:44 Uhr (#)

    Hi Folks,

    sorry for not coming back to you earlier. Now there is a new version of the plugin that is compatible with WordPress 2.9 (at least on my machine. :-) )

    Thanks,
    Philip

  5. Utregfanatic.nl
    schrieb am 24. Juni 2010 um 13:27 Uhr (#)

    Hi, First of all great plugin!
    Is it possible to add this feature not only to post and pages, but also to new custom post types which can be created in WP3.0?

    CHEERS!

  6. Shell
    schrieb am 17. September 2010 um 00:44 Uhr (#)

    Hi,
    Can I add an expiration date as a custom field instead of entering data in the special box?

  7. Schreibt hier auf dem Blog Philip Hetjens
    schrieb am 17. September 2010 um 08:10 Uhr (#)

    utregfanatic.nl:
    It will come.

    shell:
    the customfield is called “_expiration_date” and it should contain a unix-timestamp.

  8. Irmengard
    schrieb am 27. September 2010 um 08:45 Uhr (#)

    Hallo, ich bin mir nicht sicher, ob ich hier schon mal gefragt habe …
    Erst mal vielen Dank für das Plugin!!
    Ich habe versucht, eine variante zu schreiben.
    Ich möchte dasss mein Artikel nicht gelöscht wird, sondern einer anderer kategorie zugeordnet wird. er soll von cat5(=aktuell)in cat 21(=chronik)
    ich habe das folgendermaßen probiert:

    ich habe an der Stelle, an der du
    —————————————————
    wp_trash_post($a->post_id);
    ————————————————-
    geschrieben hast , folgendes geschrieben:
    —————————————————

    $post_categories = wp_get_post_categories($a->post_id);
    foreach($post_categories AS $key => $id) {
    if ($id == 5) $post_categories[$key] = 21;
    }
    wp_set_post_categories($a->post_id, $post_categories);

    ——————————————

    Leider funktioniert es nicht.
    Kannst du mir vielleicht einen Tipp geben, warum das nicht geht?

    Ich kann nicht gut programmieren -viellleicht ist es nur ein schreibfehler …???

    Vielen Dank und schöne Grüße
    Irmengard

  9. Eduardo Santos
    schrieb am 29. September 2010 um 16:06 Uhr (#)

    Hi Hetjens,

    Great and simple plugin. Just installed under a networked wp 3.0.1.
    Created a post and set the expiration date. Seems I will have to wait till tomorrow to see if the post has actually expired.

    Is there any way to test it directly?

    I have also prepared a pt_BR translation. It is available to you so just tell me and I will send you.

    Regards,

  10. Angelo
    schrieb am 20. Dezember 2010 um 15:59 Uhr (#)

    I had added your plugin, i set the expiration date of post to yesterday to check if it works or less, but it didn’t works.
    Moreover i want know if it’s possible show the expiration date on the post.
    Thanks for your collaboration.

  11. HUNTER19Krystal
    schrieb am 8. Juni 2011 um 14:02 Uhr (#)

    Cars and houses are not very cheap and not every person is able to buy it. Nevertheless, business loans are invented to support different people in such hard situations.

  12. credit loans
    schrieb am 3. Januar 2012 um 17:17 Uhr (#)

    Don’t have money to buy a car? Don’t worry, because it’s available to get the mortgage loans to work out such kind of problems. So take a car loan to buy all you require.

Diesen Artikel kommentieren

Wir sind sehr an einer offenen Diskussion interessiert, behalten uns aber vor, beleidigende Kommentare sowie solche, die offensichtlich zwecks Suchmaschinenoptimierung abgegeben werden, zu editieren oder zu löschen. Mehr dazu in unseren Kommentarregeln.