voceconnect / voce-post-expiration
Set expirations on posts
Installs: 1 140
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 13
Forks: 1
Open Issues: 0
This package is auto-updated.
Last update: 2024-10-29 03:48:20 UTC
README
Contributors: kevinlangleyjr, voceplatforms
Tags: expiration, post, expire
Requires at least: 3.2
Tested up to: 3.9.1
Stable tag: 0.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Description
Allows a theme developer to add support to post types to expire a post at a specific day and time.
Installation
As theme or plugin dependency:
After dropping the plugin into the containing theme or plugin, add the following:
<?php if( ! class_exists( 'Voce_Post_Expiration' ) ) { require_once( $path_to_voce_post_expiration . '/voce-post-expiration.php' ); } ?>
Usage
Adding as a supported feature
<?php add_post_type_support( 'post', 'post-expiration' ); ?>
Changelog
0.4
Fixing issue with SCRIPT_VERSION constant
0.3
Fixing save post issue with clearing expired date from fields
0.2
Checking if class exists before redeclaring it
0.1
Initial release.