ホーム > タグ > wordpress

wordpress

wordpressプラグインでブログ内の閲覧数を表示・ランキングの表示ができるプラグイン

wordpressプラグインでブログ内の閲覧数を表示・ランキングの表示ができるプラグインです。

WP-PostViews

ダウンロードして、解凍したものをwp-content/pluginsにアップロードし、プラグインの管理で「使用する」をクリック。

設定のPostViewsをクリックし、設定をします。

Count Views From
カウント対象
Exclude Bot Views
検索エンジンのロボットを外すか
Views Template
カウント数の表示設定
Most Viewed Template
人気記事ランキングの表示設定

設定したらSaveChangesをクリック。

記事の参照数を表示させるには、


<?php if(function_exists('the_views')) { the_views(); } ?>

 を入れます。

人気記事リストを表示させるには、


<?php if (function_exists('get_most_viewed')): ?>
   <ul>
      <?php get_most_viewed(); ?>
   </ul>
<?php endif; ?> 

を入れます。
デフォルトでは、投稿・ページ両方の表示件数10件になっています。
投稿だけならpost ページだけならpage 両方はboth
get_least_viewed(‘both’, 10); このように書けば両方の10件表示です。

人気カテゴリを表示させるには、


<?php if (function_exists('get_most_viewed_category')): ?>
   <ul>
      <?php get_most_viewed_category(); ?>
   </ul>
<?php endif; ?>

です。
get_most_viewed_category(1, ‘both’, 10);
このように書けば、カテゴリーid1のpost,page両方10件です。

WP-PostViews

Google XML Sitemapsでサイトマップを自動作成 (wordpress)

前にユーザーに見せる用のサイトマップ作成wordpressプラグイン「sitemap-generator」を紹介しましたが、今回は検索エンジンロボットに読ませる用のxmlサイトマップを自動作成するプラグインです。

[続きを読む]

wordpress サイトマップ作成プラグイン (ユーザーに見せる用)

今回は、SEO対策用にロボットに読ませるためのサイトマップでなくWEBサイトに表示させるサイトマップの作成するwordpressプラグインの紹介です。

[続きを読む]

FancyZoomをwordpressで使う。プラグイン

lightboxよりFancyZoomの動きが好きなんで、FancyZoomを入れてみようと思っいたら、wordpress用のプラグインがあるではないですか!

[続きを読む]

Home > Tags > wordpress

Search
Feeds
フィードメーター - coral design
Bloglinesで閲読登録 ADD TO Hatena::RSS Subscribe with livedoor Reader Add to Google
Meta
Get Adobe Flash playerPlugin by wpburn.com wordpress themes

Return to page top