
內容簡介
Cosmonorma Real Persistent Archive (Cosmonorma RPA) 為 WordPress 內容和媒體添加持久的識別層,提供永久可讀的存檔 ID,提升內容管理的便利性和可追溯性。
【主要功能】
• 提供永久可讀的存檔 ID 格式
• 支援多種媒體類型的獨立配置
• 允許自訂前端顯示位置
• 支援後台搜尋、分頁和類型過濾
• 內容刪除後仍保留存檔紀錄
• 支援短碼和模板函數
外掛標籤
開發者團隊
② 後台搜尋「Cosmonorma Real Persistent Archive」→ 直接安裝(推薦)
原文外掛簡介
Cosmonorma Real Persistent Archive (Cosmonorma RPA) adds a durable identification layer to WordPress content and media.
Instead of relying only on internal numeric WordPress IDs, URLs, slugs, or filenames, Cosmonorma RPA can assign permanent human-readable archive IDs such as:
POST-001-260923
PAGE-001-260923
IMG-001-260923
DOC-001-260923
Core principles:
Archive IDs are assigned once and remain unchanged.
Posts, pages, media attachments, and public custom post types can use separate configurable series.
Media can be separated into image, document, audio, video, and other profiles.
Existing content is not numbered retroactively unless an editor explicitly assigns an ID.
Frontend display is optional and independent from the archive function.
Visible media labels can optionally be prefixed with the corresponding image, document, audio, video, or other-media Archive ID.
Each individual object can inherit, force, or suppress frontend display.
The backend Archive Registry supports search, pagination, type filtering, and deterministic ordering.
Registry records remain preserved even if the original WordPress object is later deleted.
Cosmonorma RPA data is preserved by default across plugin uninstall/reinstall.
An explicit destructive uninstall option can remove all Cosmonorma RPA registry data, counters, settings, and Cosmonorma RPA post metadata.
Archive ID patterns support these tokens:
{prefix}
{number}
{date}
The number token is mandatory.
Frontend positions include:
Before content
Below post meta
In post meta line
After content
Before media label (image, document, audio, video, and other media)
Cosmonorma RPA follows the WordPress interface language. Translations are delivered through the standard WordPress.org language-pack system; if no translation is available, WordPress uses the English source strings.
Shortcodes
[cosmonorma_rpa_archive_id]
Optional attributes:
[cosmonorma_rpa_archive_id id="123"]
[cosmonorma_rpa_archive_id label="Archive ID:"]
Developer API
Template function:
cosmonorma_rpa_get_archive_id( $post_id )
Output helper:
cosmonorma_rpa_the_archive_id( $post_id )
Filters:
cosmonorma_rpa_generated_archive_id
cosmonorma_rpa_archive_id_html
Action:
cosmonorma_rpa_archive_id_assigned
Privacy
Cosmonorma RPA does not contact external services and does not include tracking. Archive data is stored in the local WordPress database.
