WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i need to display under every article in the main page, the respective number of post views. I tried with a plugin called wp.postviews but I cant figure out how it's works...it allow only the widget component.

What I have to do to get the postviews? I think I have to use the plugin above and add some extra php code on the index.php

Thanks for help

share|improve this question
@Ambitious Amoeba pleeeeeeeeease and again - as answer :) We have enough newbs to educate to not use answers as comments, we don't need experts using comments as answers on top ;) – Rarst Jan 11 '11 at 21:30
up vote 4 down vote accepted
if(function_exists('the_views')) the_views();
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.