説明
WP Popular Posts is a highly customizable plugin that displays your most popular posts.
メインの機能
- 複数の人気投稿リスト – ブログに複数の人気投稿リストを持つことができ、それぞれで独自の設定を持てます !
- 時間範囲 – 特定の時間範囲 (例:過去24時間、過去7日間、過去30日間など) 内での人気のブログの投稿を一覧表示します。
- カスタム投稿タイプのサポート – 投稿やページ以外にも、例えば人気商品を表示したいですか? できます!
- サムネイル ! – 投稿のサムネイルを表示します ! (詳しくは、FAQ セクションをご覧ください。)
- 統計ダッシュボード – 管理エリアから直接、人気の投稿がどうなっているかを確認できます。
- 並べ替えオプション – 人気リストを、コメント数、閲覧数 (デフォルト)、1日あたりの平均閲覧数で、並べ替えられます !
- Custom themes – Out of the box, WP Popular Posts includes some themes so you can style your popular posts list (see Widget Themes for more details).
- Use your own layout! – WPP is flexible enough to let you customize the look and feel of your popular posts! (see customizing WPP’s HTML markup and How to style WP Popular Posts for more.)
- Advanced caching features! – WP Popular Posts includes a few options to make sure your site’s performance stays as good as ever! (see Performance for more details.)
- REST API のサポート – 人気投稿をあなたの (web) アプリに埋め込みましょう ! (詳細は REST API エンドポイントを参照)
- Elementor support – Are you building sites with Elementor? There’s a popular posts widget for it too!
- Disqus サポート – Disqus のコメント数で、人気投稿を並べ替えましょう !
- Polylang & WPML 3.2+ のサポート – 人気投稿の翻訳版を表示します !
- WordPress マルチサイトのサポート – ネットワーク上の各サイトは、独自の人気投稿リストを持てます !
その他の機能
- ショートコードのサポート – [wpp] ショートコードを使って、固定ページ上でも人気投稿を紹介できます ! 使い方や手順はインストールセクションをご覧ください。
- テンプレートタグ – ブロックを使う気にならなくても大丈夫です。
wpp_get_mostpopular()タグを使用してテーマへ人気記事一覧を埋め込めます。さらに、wpp_get_views()タグを使うことで投稿の閲覧数を出力できます。詳しい使い方や説明は インストールセクション を参照してください。 - ローカライゼーション – WPP をあなたの言語に翻訳しましょう。
- WP-PostRatings のサポート – 読者があなたの投稿をどのように評価しているかを、訪問者に表示します !
PSA: The classic WP Popular Posts widget has reached End-of-Life
The classic WP Popular Posts widget doesn’t work very well / at all with the block-based Widgets editor introduced with WordPress 5.8.
This new Widgets editor expects WordPress blocks instead of regular WordPress widgets. If you’re using the classic WP Popular Posts widget please replace it with the WP Popular Posts block instead – it has the same features and functionality as the “classic” widget so you won’t be missing anything at all. See the Migration Guide for more details.
「wplearninglab.com」 の Bjorn が、視覚学習者の皆さんのために、新しいブロックの使い方を説明するビデオを作成してくれました :
もし、WordPress ブロックを使用できない場合 (または使用したくない場合)、WordPress Popular Posts クラシックウィジェットを [wpp] ショートコードに置き換えてください。
プロジェクトを支援 !
より多くのオープン・ソース・プロジェクトを作成し、維持するための私の仕事と努力を支援したいのでしたら、あなたの寄付と応援メッセージには大きな意味があります !
WP Popular Posts is now also on GitHub!
Looking for a Recent Posts widget just as featured-packed as WP Popular Posts? Try Recently!
クレジット
- フレームグラフィック(freevector/Vecteezy.com)
スクリーンショット
ブロック
このプラグインは1個のブロックを提供します。
- WP Popular Posts
インストール
この操作の前にサイトが 最小要件 に合致しているか確認してください。
自動インストール
- WordPress ダッシュボードにログイン。
- プラグイン > 新規追加 と進みます。
- In the “Search Plugins” field, type in WP Popular Posts and hit Enter.
- 検索結果一覧でプラグインを探し、「今すぐインストール」ボタンをクリックします。
手動インストール
- プラグインをダウンロードしてファイルを解凍してください。
wordpress-popular-postsフォルダを/wp-content/plugins/ディレクトリにアップロードする。- Activate the WP Popular Posts plugin through the “Plugins” menu in WordPress.
完了しました! 次は何をしますか?
- あなたのサイトに人気投稿リストを追加する方法については、以下の「使い方」のセクションをご覧ください。終わったら、読み進めてください。
- もしキャッシュ化プラグインをインストールしているのであれば、WPP のトラッキングを開始させるためにそのキャッシュをクリアしてください。
- If you have a plugin that minifies JavaScript (JS) installed on your site please read this FAQ: Is WP Popular Posts compatible with plugins that minify/bundle JavaScript code?
- サイトにセキュリティ / ファイアウォールプラグインがインストールされている場合は、WPP が REST API にアクセスできるようにするを確認してください。あなたのサイトのトラッキングを開始できます。
- 「外観」 > 「エディター」 > 「テーマファイル・エディター」を開きます。「テーマファイル」の下、「テーマヘッダー」 (
header.php) をクリックして、タグ<?php wp_head(); ?>があることを確認してください (閉じタグ</head>の前のどこかにある筈です)。 - (オプションですが、強くお勧めします) 中・高トラフィックなサイトを運営されていますか? そうなら、あなたのサイトのパフォーマンスを維持するために、これらの提案をチェックすることをお勧めします。
それだけです!
使い方
WP Popular Posts can be used in four different ways:
- If you’re using the Block Editor you can insert a WP Popular Posts block on your sidebar and even anywhere within your posts and pages.
- テンプレートタグ:
wpp_get_mostpopular()を使用して、テーマ上のどこにでも人気記事一覧を表示できます。 - ショートコードを使い、投稿ページ / 固定ページ内に埋め込むことが出来ます。
- If you’re using Elementor on your site you can use the WP Popular Posts widget for Elementor.
更に多くの情報を得るために、Wiki も訪れてください。
FAQ
FAQ はここに移動しました。
評価
貢献者と開発者
変更履歴
If you’re updating from a previous version please clear your popular posts thumbnails cache via WP Dashboard > Settings > WP Popular Posts > Tools > Thumbnails > Empty image cache button.
7.3.6
- Improves security around thumbnail generation (props to smile9381!)
- Removes deprecated /v1/popular-posts POST endpoint.
- Minimum required PHP version is now 7.4.
- Minor code improvements.
7.3.5
- Fixes Elementor widget stuck in infinite loading animation.
- Fixes broken database query in get_views() (props to raphaelw!)
- Fixes an issue where config.json files from theme overrides would be ignored (thanks alexg904!)
- Minor styling enhancements.
7.3.4
- New name! See the Rename announcement for more details.
- Minimum required WordPress version is now 6.2.
- Minor code improvements.
7.3.3
- Hotfix: wpp shortcode no longer forces AJAX loading on.
7.3.2
- Compatibility: Fixes a fatal error that can happen when using Polylang.
- Compatibility: Themes should now work with WP-Rocket.
- New notice about Pretty Permalinks being required has been added.
- Fixes shortcode getting stuck on the loading animation in Elementor’s editor.
7.3.1
- Fixes wpp_start/end being striped out if empty (props to ispreview!)
- Fixes posts not loading on the Stats screen for Author users (props to waheed61!)
7.3.0
If you’re using a caching plugin and/or a plugin that minifies JavaScript code it’s highly recommended to clear its cache after installing / updating to this version.
- Adds Elementor support: WordPress Popular Posts now includes a native Elementor widget! See Release notes for more details.
- Adds get_ids() function to facilitate getting the IDs of your popular posts.
- Admin section usability improvements.
- The “Empty cache” and “Clear all data” buttons have been removed from the Admin section.
- Improves compatibility with PHP 8.4 (thanks ispreview for the heads-up!)
- Minimum required PHP version is now 7.3.
- Minor code changes & improvements.





