Description
Lightweight page-view tracking and popular-post ranking for WordPress.
日本語
ViewRank Post View Rankingsは、WordPressのページビュー(PV)を計測し、アクセス数の多い人気記事をランキング表示できる軽量なプラグインです。
今日・7日間・30日間・全期間のランキングに対応し、ショートコードやウィジェットから簡単に表示できます。サムネイル、カテゴリー、PV数の表示にも対応しており、WordPress Customizerから表示設定をカスタマイズできます。
ランダム記事表示機能も搭載しており、ブログやメディアサイトの回遊性向上に活用できます。
English
ViewRank Post View Rankings is a lightweight WordPress plugin that tracks page views (PV) and displays popular posts based on their view counts.
It supports rankings for today, the last 7 days, the last 30 days, and all time, with easy display using shortcodes and widgets. You can also display thumbnails, categories, and view counts, and customize display settings through the WordPress Customizer.
The plugin also includes a random post display feature that can help visitors discover more content on your site.
Features
- Popular post ranking
- Random post display
- Today, 7 days, 30 days, and all-time rankings
- Shortcode support
- Widget support
- Thumbnail display
- Category display
- View count display
- Japanese, English, Simplified Chinese, Traditional Chinese, Spanish, and German language support
- Option to exclude administrator page views
- Customizer settings
Shortcodes
[spp_popular_posts]
[spp_popular_posts period=”7days” count=”5″]
[spp_random_posts]
[spp_random_posts count=”5″]
Popular post periods: today, 7days, 30days, all. Count: 1–50.
人気記事の期間:today、7days、30days、all。表示件数:1〜50。
Tracking and caching / 計測とキャッシュ
PV tracking uses JavaScript and WordPress AJAX, so cached article pages can still record views. JavaScript and access to wp-admin/admin-ajax.php are required. Clear your page/CDN cache after updating so existing cached pages load the new tracker. Each normal page load counts once; this is PV, not unique visitor tracking. Bot exclusion is best-effort. A fresh nonce is obtained before recording each view to avoid expired nonces in cached HTML.
PVはJavaScriptとWordPress AJAXで記録するため、記事ページがキャッシュされていても計測できます。JavaScriptとwp-admin/admin-ajax.phpへの通信が必要です。更新後はページ/CDNキャッシュを削除してください。通常のページ読み込みごとに1回加算するPV計測で、ユニークユーザー数ではありません。ボット除外は完全ではありません。
Ranking database results are cached for up to 60 seconds. Your page/CDN cache can keep displayed rankings unchanged for longer. Private, deleted and password-protected posts are excluded. Existing view data and settings are retained.
ランキング集計結果は最大60秒キャッシュします。ページ/CDNキャッシュによって表示の更新はさらに遅れる場合があります。非公開・削除済み・パスワード保護記事はランキングから除外します。既存のPVデータと設定は引き継ぎます。
How do I display popular posts? / 人気記事を表示するには?
Use the ViewRank Post View Rankings widget or the available shortcode to display popular posts. You can configure the ranking period, number of posts, thumbnails, PV counts, and categories from the WordPress Customizer.
ViewRank Post View Rankingsのウィジェットや利用可能なショートコードを使って人気記事を表示できます。ランキング期間、表示件数、サムネイル、PV数、カテゴリーなどはWordPressカスタマイザーから設定できます。
How do I display random posts? / ランダム記事を表示するには?
Use the Random Posts widget to display randomly selected posts. The number of posts, thumbnail display, thumbnail position, size, PV count, category display, and text colors can be customized.
ランダム記事ウィジェットを使うと、記事をランダムに表示できます。表示件数、サムネイル、位置、サイズ、PV数、カテゴリー、文字色などをカスタマイズできます。
Can I exclude administrator page views? / 管理者のPVを除外できますか?
Yes. Enable the administrator PV exclusion option in the plugin settings.
はい。プラグイン設定で「ログイン中の管理者によるPVをカウントしない。」を有効にできます。
Which ranking periods are supported? / どのランキング期間に対応していますか?
The plugin supports today, 7 days, 30 days, and all time.
「本日」「7日間」「30日間」「全期間」に対応しています。
Can I change the display language? / 表示言語を変更できますか?
Yes. The plugin supports Japanese, English, Simplified Chinese, Traditional Chinese, Spanish, and German.
はい。日本語、英語、簡体字中国語、繁体字中国語、スペイン語、ドイツ語に対応しています。
Where can I customize the appearance? / 表示設定はどこで変更できますか?
Open Appearance Customize ViewRank Post View Rankings in WordPress.
WordPressの「外観 カスタマイズ ViewRank Post View Rankings」から設定できます。
Screenshots






Installation
- Upload the plugin to the
/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Configure the plugin settings as needed.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“ViewRank Post View Rankings” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “ViewRank Post View Rankings” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.1.6
- Added cache-compatible JavaScript/AJAX PV tracking with fresh nonce verification.
- Added the spp_popular_posts shortcode with period and count attributes.
- Excluded unavailable and password-protected posts from rankings.
- Fixed timezone handling for 7-day and 30-day rankings.
- Added a 60-second ranking query cache with post-change invalidation.
- Reduced database queries for view counts in random post lists.
- Synchronized version numbers and removed duplicate documentation sections.
0.1.5
- Fixed language selection handling and plugin-list descriptions.
0.1.4
- Added bilingual documentation screenshots and FAQ entries.
0.1.3
- Improved the official plugin description in Japanese and English.
0.1.2
- Added a clickable plugin URI in the WordPress Plugins screen.
- Added localized plugin descriptions based on the WordPress user locale.
0.1.1
- Added additional language support.
0.1.0
- Initial release.