このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Popular post

説明

This plugin allow you to easily fetch popular post and get total view in post. Simply use 'orderby'=>'popularity' in query string.

Add 'post','posts_per_page'=>-1,'orderby'=>'popularity');
$query = new WP_Query($args);

?>

Features

  1. Support the custom post type
  2. Option page to allow popular post option in post type.(Setting > MPP Setting)
  3. Can easily get total view for particular post using get_view_number(), get_view_string(). Function must be within loop.
  4. To print the total view for particular post the_view_number() and the_view_string() both function are almost same but the_view_string() return with ‘views’ text.

インストール

This section describes how to install the plugin and get it working.

  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. WordPress の「プラグイン」メニューからプラグインを有効化してください
  3. Go to Setting > MPP Setting and select post type.
  4. Put the code <?php $query = new WP_Query($query_string."&orderby=popularity"); ?>.

評価

このプラグインにはレビューがありません。

貢献者と開発者

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

貢献者

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

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

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