Descripció
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 and pull requests are welcome!
Captures
Instal·lació
- Activate the plugin
- Go to Settings > Reading and set the expired prefix
- Add an expiration date to any post item that you wish to expire at a certain point in time
- Optionally add the [expires] short code to the post content
Ressenyes
Col·laboradors i desenvolupadors
«Simple Post Expiration» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.
Col·laboradorsTraduïu «Simple Post Expiration» a la vostra llengua.
Interessats en el desenvolupament?
Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.
Registre de canvis
1.0.1
- Fix: Notice with PHP 7
- New: Translation files for pt_PT
1.0
- First release!