plugin-icon

PV Sort Plus for Cocoon

作者 Kasuga·
An extension plugin for the Cocoon theme. Adds period-based PV, modified date, and elapsed days columns to the posts list and enables sorting.
版本
1.0.3
最近更新:
Feb 6, 2026
PV Sort Plus for Cocoon

PV Sort Plus for Cocoon is an admin-side enhancement plugin designed exclusively for the Cocoon theme.

It adds the following custom columns to the WordPress admin Posts list and allows click-based sorting for each column.

  • PV / Day (PV/D)
  • PV / Week (PV/W)
  • PV / Month (PV/M)
  • PV / Total (PV/All)
  • Modified Date (Modified)
  • Days Since Modified (Mod-D) – days since the last update
  • Days Since Published (Pub-D) – days since publication

This plugin reads data directly from Cocoon’s internal cocoon_accesses table, so no external services or additional configuration are required.

Note: This plugin works only when the Cocoon theme is active.

「PV Sort Plus for Cocoon」は、Cocoonテーマ専用の管理画面拡張プラグインです。

WordPress管理画面の「投稿一覧」に以下のカスタムカラムを追加し、クリックによる並び替え(ソート)を可能にします。

  • PV/日(PV/D)
  • PV/週(PV/W)
  • PV/月(PV/M)
  • PV/全(PV/All)
  • 更新日(Modified)
  • 経過日数(Mod-D)※ 最終更新からの経過日数
  • 公開日数(Pub-D)※ 公開からの経過日数

Cocoonが内部で使用しているcocoon_accessesテーブルを参照し、外部サービスや追加設定なしでPV集計を行います。

※ 本プラグインは Cocoonテーマが有効な場合のみ動作します。

Features

  • Designed exclusively for the Cocoon theme
  • Adds PV-related columns to the posts list
  • Sortable by daily, weekly, monthly, and total page views
  • Sortable by modified date and elapsed days
  • Admin-only functionality (no front-end impact)
  • Lightweight and simple design
  • Performance optimized with WordPress object cache (wp_cache)
  • Internationalization (i18n) ready

Usage

  1. Open Posts All Posts in the admin dashboard.
  2. Click on any added column header (PV/D, PV/W, PV/M, PV/All, Modified, Mod-D, Pub-D).
  3. Click again to toggle ascending / descending order.

Note: The Days Since Published (Pub-D) column applies only to published posts.

Notes

  • This plugin does not work with themes other than Cocoon.
  • Cocoon’s access counting feature must be enabled.
  • On sites with a large number of posts, the first sort operation may take a little time.
  • This plugin affects only the admin area and does not modify front-end output.
免費使用Business方案
目前已測試版本
WordPress 6.9.1
此外掛程式已可供下載,並可用於你 系統。