Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
1  
@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
add comment

1 Answer 1

up vote 4 down vote accepted
if(function_exists('the_views')) the_views();
share|improve this answer
add comment

Your Answer

 
discard

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.