voceconnect/voce-post-expiration
Composer 安装命令:
composer require voceconnect/voce-post-expiration
包简介
Set expirations on posts
关键字:
README 文档
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.
统计信息
- 总下载量: 1.14k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPLv2
- 更新时间: 2014-04-07