WordPress Popular Posts

説明

WordPress Popular Posts はサイト上の投稿を表示するカスタマイズ豊富なウィジェットです。

メインの機能

  • マルチウィジェット対応 – 同時に異なる設定の WordPress Popular Posts ウィジェットを複数使うことが可能です。
  • 時間範囲 – 特定の時間範囲 (例:過去24時間、過去7日間、過去30日間など) 内での人気のブログの投稿を一覧表示します。
  • Custom Post-type support – Want to show other stuff than just posts and pages, eg. Popular Products? You can!
  • Thumbnails! – Display a thumbnail of your posts! (see the FAQ section for more details.)
  • Statistics dashboard – See how your popular posts are doing directly from your admin area.
  • Sorting options – Order your popular list by comments, views (default) or average views per day!
  • Custom themes – Out of the box, WordPress Popular Posts includes some themes so you can style your popular posts list (see Widget Themes for more details).
  • 独自のレイアウトを使う – WPP は人気記事の外観と雰囲気を詳細にカスタマイズできる柔軟性を備えています。(詳しくは WPP の HTML マークアップをカスタマイズスタイリングリスト などを参照してください)
  • Advanced caching features! – WordPress 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 Support – Embed your popular posts in your (web) app! (see REST API Endpoints for more.)
  • Disqus support – Sort your popular posts by Disqus comments count!
  • Polylang & WPML 3.2+ support – Show the translated version of your popular posts!
  • WordPress Multisite support – Each site on the network can have its own popular posts list!

その他の機能

  • ショートコードをサポート – [wpp] ショートコードを使って投稿 / 固定ページに人気記事一覧を表示することが出来ます。詳しい使い方や説明は インストールセクション を参照してください。
  • テンプレートタグ – ウィジェットを使う気にならなくても大丈夫です。wpp_get_mostpopular() タグを使ってテーマへ人気記事一覧を埋め込むことが出来ます。さらに、wpp_get_views() タグを使うことで投稿の閲覧数を出力できます。詳しい使い方や説明は インストールセクション を参照してください。
  • LocalizationTranslate WPP into your own language.
  • WP-PostRatings をサポート – 読者へ投稿記事を評価する機能を提供します。

PSA: The classic WordPress Popular Posts widget is going away!

The classic WordPress Popular Posts widget doesn’t work very well / at all with the new Widgets screen introduced with WordPress 5.8.

This new Widgets screen expects WordPress blocks instead of regular WordPress widgets. If you’re using the classic WordPress Popular Posts widget on your block-based Widgets screen please replace it with the WordPress Popular Posts block instead – it has the same features and functionality as the “classic” widget so you won’t be missing anything at all.

Bjorn from wplearninglab.com was kind enough to create a video explaining how to use the new block for all of you visual learners:

If you cannot (or do not want to) use WordPress blocks on your website then please replace your classic widget with the [wpp] shortcode.

Support the Project!

If you’d like to support my work and efforts to creating and maintaining more open source projects your donations and messages of support mean a lot!

Buy me a coffee | PayPal

WordPress Popular PostsGitHub にてソースを参照できます。

Looking for a Recent Posts widget just as featured-packed as WordPress Popular Posts? Try Recently!

クレジット

  • フレームグラフィック(freevector/Vecteezy.com)

スクリーンショット

  • The WordPress Popular Posts block.
  • The WordPress Popular Posts block on theme's sidebar.
  • Dashboard widget.
  • Statistics panel.

ブロック

このプラグインは1個のブロックを提供します。

  • WordPress Popular Posts

インストール

この操作の前にサイトが 最小要件 に合致しているか確認してください。

自動インストール

  1. WordPress ダッシュボードにログイン。
  2. プラグイン > 新規追加 と進みます。
  3. 「プログラムの検索」フィールドで WordPress Popular Posts と入力してエンターキーを押します。
  4. 検索結果一覧でプラグインを探し、「今すぐインストール」ボタンをクリックします。

手動インストール

  1. プラグインをダウンロードしてファイルを解凍してください。
  2. wordpress-popular-posts フォルダを /wp-content/plugins/ ディレクトリにアップロードする。
  3. WordPress Popular Posts を WordPress 内のプラグインメニューから有効化してください。

完了しました! 次は何をしますか?

  1. 外観 > ウィジェット と進み、WordPress Popular Posts ウィジェットをサイドバーにドラッグアンドドロップしてください。
  2. もしキャッシュ化プラグインをインストールしているのであれば、WPP のトラッキングを開始させるためにそのキャッシュをクリアしてください。
  3. If you have a plugin that minifies JavaScript (JS) installed on your site please read this FAQ: Is WordPress Popular Posts compatible with plugins that minify/bundle JavaScript code?
  4. If you have a security / firewall plugin installed on your site, make sure you allow WPP access to the REST API so it can start tracking your site.
  5. 外観 > テーマの編集と進み、header.phpを選択し、<?php wp_head(); ?>タグがコード内に存在していることを確認してください。(</head> タグのすぐあとにあるはずです。)
  6. (Optional but highly recommended) Are you running a medium/high traffic site? If so, it might be a good idea to check these suggestions to make sure your site’s performance stays up to par.

それだけです!

使い方

WordPress Popular Posts は3つの異なった使い方が出来ます:

  1. If you’re using the Block Editor you can insert a WordPress Popular Posts block on your sidebar and even anywhere within your posts and pages.
  2. テンプレートタグ: wpp_get_mostpopular()を使用して、テーマ上のどこにでも人気記事一覧を表示できます。
  3. ショートコードを使い、投稿ページ / 固定ページ内に埋め込むことが出来ます。

更に多くの情報を得るために、Wiki も訪れてください。

FAQ

FAQ はここに移動しました。

評価

2024年3月16日 1 reply
Works as described, easy to set up, good documentation, option to use shortcode or custom queries. Just perfect.
2023年8月8日 1 reply
I'd been using this plugin for a few years without problems, but the developer was super-helpful in pinpointing a fairly specific to my particular hosting environment PHP problem that occurred during an upgrade.
2023年7月31日 1 reply
I'm using the plugin on several websites for some years now. It has been working without any problems so far. Plus: Plugin support is helpful and quick although for free.
2023年6月30日 1 reply
Great plugin that does what I need and have a great support from Hector even it's a free plugin. Keep it up and make a PRO version 🙂
240件のレビューをすべて表示

貢献者と開発者

WordPress Popular Posts はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“WordPress Popular Posts” は15ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“WordPress Popular Posts” をあなたの言語に翻訳しましょう。

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

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

変更履歴

6.4.2

  • Fixes default thumbnail resetting to the stock “No Thumbnail” image (props to aalmans!)
  • Fixes filtering by category / taxonomy when using Polylang (props to mlepore and wpfed!)
  • Updates dependencies.

Release notes

6.4.1

  • Adds support for webp images.
  • Minor fixes / improvements.

Release notes

6.4.0

If you’re using a caching plugin on your website it’s highly recommended to clear its cache after installing / updating to this version.

  • Fixes a fatal issue caused by the views_count shortcode when providing an invalid time range.
  • The views_count shortcode can now render a “prettified” version of the views count (eg. 6.2k instead of 6,265).
  • The wpp shortcode has now a “toggle” to enable/disable AJAX loading.
  • Adds /views REST API endpoints.
  • Fixes fatal error that can happen when themes define image sizes using the array format for the crop parameter.
  • Fixes fatal error that can happen while the plugin is deleting its own transients.
  • Other minor fixes / improvements.

Release notes

6.3.4

If you’re using a caching plugin on your website, clearing its cache after installing / updating to this version is highly recommended.

  • Patches issue affecting non-HTML5 friendly WordPress themes after the WP 6.4 update.
  • Adds a button to reset the default thumbnail.
  • Minor fixes and improvements.

Release notes

6.3.3

  • Security enhancements (props to the Patchstack team!)
  • Updates dependencies.

Release notes

6.3.2

  • Fixes a PHP notice coming from the [wpp] shortcode.
  • Removes legacy AJAX code from the plugin.

Release notes

6.3.1

If you’re using a caching plugin on your website, clearing its cache after installing / updating to this version is highly recommended.

  • Improves compatibility with newer versions of PHP 8 (thanks ispreview and dimal for the heads-up!)
  • Introduces new shortcode to render views count (see Release notes for more details).
  • Shares post_id value with render_image filter hook for more flexibility.
  • Fixes a fatal error when the PHP extension mbstring is not installed.
  • Updates wpp.min.js.

Release notes

6.2.1

  • Fixes an issue where the [wpp] shortcode would get stuck at the loading animation.

6.2.0

If you’re using a caching plugin on your website, clearing its cache after installing / updating to this version is highly recommended.

  • The [wpp] shortcode has now the ability to load itself via AJAX.
  • Fixes an issue where for certain server configurations the popular posts list would output garbled text.
  • Fixes an issue where PHP would throw notices due to the usage of HTML5 tags.

Release notes

6.1.4

If you’re using a caching plugin on your website, clearing its cache after installing / updating to this version is highly recommended.

  • Fixes an issue where the [wpp] shortcode might output empty paragraphs under certain conditions.
  • Reverts “uglification” of wpp.min.js which caused popular post list(s) not to load under certain conditions.
  • Widget’s deprecation notice has been reworded for clarity.
  • Updates dependencies + minor code cleanup.

Release notes

6.1.3

  • Hotfix: Fixes rare PHP fatal error in Admin.php (props to winetravelista and scotttripatrek!)

Release notes

6.1.2

If you’re using a caching plugin on your website, clearing its cache after installing / updating to this version is highly recommended.

  • Deprecation Notice: The WordPress Popular Posts “classic” widget is going away! If you’re using the classic widget please replace it with the WordPress Popular Posts block or the [wpp] shortcode as soon as possible. See release notes for more details.
  • Plugin now uses the Tax_Query class to filter popular posts by taxonomy, pretty much similar to how WP_Query does it.
  • Fixes an issue where selecting the Tiny theme would override the heading of the popular posts list.
  • Fixes an issue where taxonomy links would render an extra whitespace for some browsers.
  • Fixes issue where when using a theme (eg. Cards) post titles would be unintentionally truncated.
  • Adds decoding=async property to WPP’s thumbnail.
  • General PHPCS/WPCS code improvements.

Release notes

6.1.1

  • Fixes a rare PHP fatal error that can occur during plugin activation.
  • Block: adds links to documentation within the block form for ease of access.
  • Updates dependencies.

Release notes

6.1.0

  • Improves PHP 8.1 support.
  • Adds new filter to modify the post date.
  • Adds check to prevent the misuse of the Data Sampling feature (props to the JPCERT/CC team for reporting this issue).
  • Updates dependencies.

Release notes

すべての更新履歴