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!

その他の機能

  • Shortcode support – Use the [wpp] shortcode to showcase your most popular posts on pages, too! For usage and instructions, please refer to the Installation section.
  • Template tags – Don’t feel like using widgets? No problem! You can still embed your most popular entries on your theme using the wpp_get_mostpopular() template tag. Additionally, the wpp_get_views() template tag allows you to retrieve the views count for a particular post. For usage and instructions, please refer to the Installation section.
  • LocalizationTranslate WPP into your own language.
  • WP-PostRatings support – Show your visitors how your readers are rating your posts!

PSA: do not use the classic WordPress Popular Posts widget with the new Widgets screen!

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 WordPress Popular Posts widget on your block-based Widgets screen please consider replacing it with the WordPress Popular Posts block instead – it has the same features as the “classic” widget and will likely end up replacing it entirely in the future.

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 for some reason you prefer using the “classic” WordPress Popular Posts widget with WordPress 5.8 and beyond please install the Classic Widgets plugin.

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!

Ko-fi | Buy me a coffee | PayPal Me

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 Widget.
  • The WordPress Popular Posts Widget 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. As a widget: simply drag and drop it into your theme’s sidebar and configure it or, if you’re using the Block Editor, you can also add it to your posts and pages.
  2. As a template tag: you can place it anywhere on your theme with wpp_get_mostpopular().
  3. ショートコードを使い、投稿ページ / 固定ページ内に埋め込むことが出来ます。

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

FAQ

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

評価

2022年11月9日 1 reply
More than 2 years of use, now I review :v Sorry for the late :))
2022年8月15日 5 replies
Here are Some Suggestion:- If you use the resource of server to count the post views, why not provide an option to show post views in post or page list in dashboard. We know there are many other plugin to do this, but if i don't want to use any other plugin, because you can understand well, more plugin more space and server resources. So please if it is possible to provide a button to display post and page views in WP dashboard. Thanks "Hector Cabrera" for providing so powerful and optimized plugin. From India - "Mohit Yadav".
2022年7月15日 1 reply
This plugin delivers as it says. It's both easy to use, and easy to extend on the backend if that suits you as well.
2022年5月24日 1 reply
It's been a while since I used this plugin, but to sort out the 'trending posts' on your website, there's nothing to touch it. It's also given me a lot more work to do, as viewing those older trending posts, there are some errors in video downloads that I would never have noticed unless something like this plugin pointed me towards them. Thanks for both the plugin, and for the forced post and page evergreen schedule!
234件のレビューをすべて表示

貢献者と開発者

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

貢献者

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

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

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

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

変更履歴

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

6.0.5

  • Fixes yet another issue where excerpts may output broken HTML under certain conditions (thanks dxylott54!)
  • Updates .pot file.

Release notes

6.0.4

  • Block: improves logic when toggling certain settings.
  • Block: adds back option to show post rating.
  • get_views() is now compatible with Polylang/WPML.
  • Updates dependencies.
  • Updates .pot file.

Release notes

6.0.3

  • WPCS updates.
  • Fixes an issue where excerpts may output broken HTML under certain conditions (thanks ozboss1!)

Release notes

6.0.2

  • Fixes issue with Stats dashboard not loading for Linux users (thanks agbuere!)

Release notes

6.0.1

  • Security improvements.
  • Fixes fatal error in Image class (thanks Senri Miura!)
  • Fixes fatal error in “classic” widget when using widget themes (thanks Finn Jackson!)
  • Updates ChartJS to version 3.8.0.
  • Small improvements / fixes.

Release notes

6.0.0

This release introduces a couple of major changes so please review before updating.

  • Minimum required PHP version is now 7.2.
  • Minimum required WordPress version is now 5.3.
  • Breaking change: this version removes code that has been deprecated for a long time. See the release notes for more details.
  • Widget block: fixes an issue where the length of the title when set via theme was being ignored.
  • Widget block: fixes bug with thumbnail not rendering under certain circumstances (thanks the9mm!)
  • Admin: the Statistics screen will now by default only lists posts. See the release notes for more details.
  • Admin: only users with edit_others_posts capability (usually Editors and Administrators) will be able to access certain areas of WPP’s dashboard.
  • Admin: makes sure to escape params from add_query_arg().
  • Fixes an issue where widget themes stored in child theme’s folder would not be recognized by the plugin.
  • Small improvements / fixes.

Release notes

Full Changelog