Mô tả
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)
Ảnh màn hình
Cài đặt
-
Copy to plugins folder (/wp-content/plugins)
-
Activate plugin from plugins page in admin interface
-
Use the Settings->Reading Name screen to configure the plugin
Đánh giá
Người đóng góp & Lập trình viên
“WP Post Expires” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng góp“WP Post Expires” đã được dịch qua 4 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.
Dịch “WP Post Expires” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
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