هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

Expire posts

الوصف

NO LONGER IN ACTIVE DEVELOPMENT OR SUPPORT. This plugin serves only as proof of concept that worked at some point and is a good starter for many other solutions.

How to:

After installation go to Expire posts section in your Dashboard. It’s expected
that you already have created your custom post type or not (if you’ll be using
posts or pages for expiration).

Choose:
– desired post type
– expiration checking frequency (plugin utilizes wp-cron)
– and expiration time (for ex. 2 weeks, 5 days, 1 month, 2 years – must be
provided in English)
– enable post expiration and save options, you’re good to go!

Use case:

If you’re running some WordPress based service (with job offers or anything
else) or just want to add some post type with expiration date to your blog
(let’s say contests or polls). After proper setup expire-posts lets you
expire them automatically!

Goals:

  • ✓ define post-type
  • ✓ define time
  • ✓ expire post (move to trash or draft state) under given circumstances.
  • ✓ wp-admin interface
  • ✓ make it compliant with WordPress plugins directory guidelines
  • define action (this is to be written later since WordPress has really poor support of custom post statuses)

لقطات الشاشة

  • Plugin settings interface

التنصيب

This section describes how to install the plugin and get it working.

  1. Upload expire-post.php to the /wp-content/plugins/expire-posts/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

الأسئلة المتكررّة

No questions yet.

المراجعات

3 سبتمبر، 2016 3 replies
This plugin started deleting all my posts (not even CPTs) as soon as it was set up. Despite looking disabled in settings. Configuration changes did not save, showing initial settings (like expiry=off) on every reload. Disabling the plugin didn't stop the deletion, only removing it completely. By the time I realized what was happening and deleted the plugin, I was left with over 4,000 deleted posts. At least they went to trash. But restoring them from trash takes ages, and then they're all drafts. Hours of work ruined. Very frustrating.
إقرأ جميع المراجعات 2

المساهمون والمطوّرون

“Expire posts” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

ترجمة ”Expire posts“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

1.0.4

  • Ceased development and support.

1.0.3

  • Possible fix for installation error, due to previous plugin upload glitch.

1.0.2

  • readme.txt improvements

1.0.1

  • preparations for

1.0

  • improved time calculations
  • added admin settings page
  • settings kept in database instead of code

0.1-alpha

  • expires posts
  • no other interface than code