PV Sort Plus for Cocoon

説明

「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

  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. もう一度クリックすると昇順/降順が切り替わります。

※ 「公開日数」は「公開済み記事」のみ対象です。

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.

スクリーンショット

インストール

自動でインストール

  1. Log in to your WordPress admin dashboard.
  2. 「プラグイン」 「プラグインを追加」 に移動します。
  3. 「pv-sort-plus-for-cocoon」を検索します。
  4. PV Sort Plus for Cocoonの横にある「今すぐインストール」をクリックします。
  5. インストール後、「有効化 」をクリックします。

手動でインストール

  1. Download the plugin ZIP file from this page.
  2. Log in to your WordPress admin dashboard.
  3. 「プラグイン」 「プラグインを追加」 に移動します。
  4. ページ上部の「プラグインのアップロード」をクリックします。
  5. ダウンロードしたZIPファイルを選択し、「今すぐインストール」をクリックします。
  6. インストール後、「有効化 」をクリックします。

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 はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“PV Sort Plus for Cocoon” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログを RSS で購読してみてください。

変更履歴

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