説明
「PV Sort Plus for Cocoon」は、Cocoonテーマ専用の管理画面拡張プラグインです。
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/週
- PV/月
- PV/全
- 更新日
- 経過日数 ※最終更新からの経過日数
- 公開日数 ※公開からの経過日数
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
- Open Posts All Posts in the admin dashboard.
- Click on any added column header (PV/D, PV/W, PV/M, PV/All, Modified, Mod-D, Pub-D).
- もう一度クリックすると昇順/降順が切り替わります。
※ 「公開日数」は「公開済み記事」のみ対象です。
Notes
- This plugin does not work with themes other than Cocoon.
- Cocoon’s access counting feature must be enabled.
- 大量の記事数があるサイトでは、初回ソート時に多少の負荷がかかる場合があります。
- This plugin affects only the admin area and does not modify front-end output.
インストール
自動でインストール
- Log in to your WordPress admin dashboard.
- 「プラグイン」 「プラグインを追加」 に移動します。
- 「pv-sort-plus-for-cocoon」を検索します。
- PV Sort Plus for Cocoonの横にある「今すぐインストール」をクリックします。
- インストール後、「有効化 」をクリックします。
手動でインストール
- Download the plugin ZIP file from this page.
- Log in to your WordPress admin dashboard.
- 「プラグイン」 「プラグインを追加」 に移動します。
- ページ上部の「プラグインのアップロード」をクリックします。
- ダウンロードしたZIPファイルを選択し、「今すぐインストール」をクリックします。
- インストール後、「有効化 」をクリックします。
FAQ
-
Can I use this plugin with themes other than Cocoon?
-
No. This plugin is designed exclusively for the Cocoon theme.
-
Page view counts are not displayed
-
Please make sure that Cocoon’s access counting feature is enabled.
評価
このプラグインにはレビューがありません。
貢献者と開発者
“PV Sort Plus for Cocoon” をあなたの言語に翻訳しましょう。
開発に興味がありますか ?
変更履歴
1.0.5
- Fixed: The changes in 1.0.4 to Cocoon theme detection were insufficient, so additional fixes were applied.
1.0.4
- Improved Cocoon theme detection logic for better parent/child theme compatibility.
1.0.3
- Initial public release
- Added internationalization support
- Minor admin UI adjustments
- Cache optimization

