定制 clubduece/cpt-date-archives 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

clubduece/cpt-date-archives

最新稳定版本:0.2

Composer 安装命令:

composer require clubduece/cpt-date-archives

包简介

A plugin to add year, month, and day archives for custom post types.

README 文档

README

Scrutinizer Code Quality

This mu-plugin adds support for date based archives for public custom post types that are registered with the has_archive property set to true. It adds rules for year, month, and date archives.

For example, if you register a custom post type of books for a website at http://example.com, the following URLs will be be active if you are using pretty permalinks (providing posts fit within the timeframe) :

http://example.com/books/2015

http://example.com/books/2015/04

http://example.com/books/2015/04/20

Requirements

This plugin requires PHP 5.3 or later and WordPress 3.0 or later.

Installation

The preferred installation method is via Composer. This plugin can be found on Packagist.

Additionally, you can download a release and then upload to the mu-plugins directory. You will need to add file in the mu-plugins directory that loads the cpt-date-archives.php file from the plugin root directory.

Contributions

Contributions are welcome. Please fork the project and submit via Pull Request. Please adhere to the WordPress Coding Standards.

统计信息

  • 总下载量: 14
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPLv2.0
  • 更新时间: 2015-05-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固