[WordPress] 外掛分享: Custom Post Type Date Archives

首頁外掛目錄 › Custom Post Type Date Archives
WordPress 外掛 Custom Post Type Date Archives 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
2,000+
安裝啟用
★★★★★
5/5 分(6 則評價)
2042 天前
最後更新
問題解決
WordPress 4.5+ v2.7.1 上架:2016-03-08

內容簡介

在管理儀表板中為自訂文章類型新增日期存檔。此外採用插件還提供小工具和編輯器區塊來顯示存檔、日曆和最近的文章。這允許您將此插件用作超級簡單的活動日曆。

功能:

為每個自訂文章類型新增日期存檔子目錄
添加查看日期存檔所需的重寫規則
新增小工具和編輯器區塊以供存檔、日曆和最近文章使用
允許您像正常文章一樣發布具有未來日期的預定文章
允許您使用特定主題模板文件用於自訂文章類型的日期存檔
為存檔、日曆和最近文章新增 WP Rest API 端點

插件文件

WordPress並未原生支援自訂文章類型的日期存檔。此插件添加了查看日期存檔所需的重寫規則以在 漂亮的永久鏈接 中查看存檔。

一個自訂文章類型events的日期存檔的範例永久鏈接(URL)。

https://example.com/events/2015/06/12

日曆、存檔和最近文章小工具類似於現有WordPress小工具,但添加了額外的(自訂文章類型)選項。

自訂文章類型日期存檔使用相同的佈景主題模板文件作為正常的WordPress日期存檔。可用於自訂文章類型日期存檔的額外模板文件和模板函數。

了解詳情,請訪問插件文檔

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.7.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Custom Post Type Date Archives」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Add Date archives to custom post types right in the dashboard itself. This plugin also provides widgets and editor blocks to display archives, calendars and recent posts. This allows you to use this plugin as a super simple events calendar.
Features:

Adds a date archives submenu for each custom post type
Adds the rewrite rules needed for viewing the date archives
Adds widgets and editor blocks for archives, calendars and recent posts
Allows you to publish scheduled posts with future dates like normal posts
Allows you to use specific theme templates files for cpt date archives
Adds WP Rest API endpoints for archives, calendar and recent posts

Plugin Documentation
WordPress doesn’t support date archives for custom post types out of the box. This plugin adds the rewrite rules needed to view the date archives at a pretty permalink.
Example permalink (url) for a custom post type events date archive.
https://example.com/events/2015/06/12

The calendar, archive and recent posts widget are similar to the existing WordPress widgets, but with extra (custom post type) options added.
The cpt date archives use the same theme template files as the normal WordPress date archives. Extra template files and template functions are available for use in the custom post type date archives.
For more information visit the Plugin Documentation

延伸相關外掛

文章
Filter
Apply Filters
Mastodon