Home > Web > How to make you Wordpress Plugin Post Views Work ?

How to make you Wordpress Plugin Post Views Work ?

March 18th, 2009 carlgreat  views 5

Some friends use the Wordpress Plugin: Post Views to count the visits. But how to make it work ?

Follow me :

1.   Open wp-content/themes/<YOUR THEME NAME>/index.php

You may place it in single.php, post.php or page.php also.
2. Find:

<?php while (have_posts()) : the_post(); ?>

3. Add Anywhere Below It:

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

4. Go to ‘WP-Admin -> Settings -> Post Views’ to configure the plugin.

Delete the cache if you need !

Share and Enjoy:
  • Twitter
  • Facebook
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Mixx
  • Google Bookmarks
Categories: Web Tags:
Comments are closed.