This repository has been archived by the owner on Aug 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
readme.txt
59 lines (37 loc) · 1.87 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
=== Simple Post Expiration ===
Plugin URI: http://pippinsplugins.com/simple-post-expiration
Author URI: http://pippinsplugins.com
Contributors: mordauk, rzen
Donate link: http://pippinsplugins.com/support-the-site
Tags: expiration, posts, expire
Requires at least: 3.6
Tested up to: 4.7
Stable Tag: 1.0.1
A simple plugin that allows you to set an expiration date on posts. Once a post is expired, "Expired" will be prefixed to the post title.
== Description ==
A simple plugin that allows you to set an expiration date on posts. Once a post is expired, "Expired" will be prefixed to the post title.
You can show the expiration status of a post using the [expires] short code.
The [expires] short code accepts 5 optional parameters:
- expires_on - The text to be shown when a post has not yet expired. Default: `This item expires on: %s`
- expired - The text to be shown when a post is expired. Default: `This item expired on: %s`
- date_format - The format the expiration date should be displayed in
- class - The class or classes given to the DIV element
- id - The ID given to the DIV element
The `%s` will be replaced with the expiration date.
Have you found a bug or have a suggestion or improvement you'd like to submit? This plugin is available on [Github](https://github.com/pippinsplugins/Simple-Post-Expiration) and pull requests are welcome!
== Screenshots ==
1. Metabox added to each post / custom post type
2. Metabox with calendar showing
3. Expired post with modified title
4. Expired / Expiring Posts widget
== Installation ==
1. Activate the plugin
2. Go to Settings > Reading and set the expired prefix
3. Add an expiration date to any post item that you wish to expire at a certain point in time
4. Optionally add the [expires] short code to the post content
== Changelog ==
= 1.0.1 =
* Fix: Notice with PHP 7
* New: Translation files for pt_PT
= 1.0 =
* First release!