Top 10 most viewed for a category
I would like to display in may index page top 10 most viewed posts but only for my “featured” category (cat ID=1), ignoring the rest of posts from other categories. Is it possible to implement with this code?:
<?php if (function_exists(‘get_most_viewed’)): ?>
<?php get_most_viewed(‘both’, 10); ?>
<?php endif; ?>
Thank you very much in advance
- The topic ‘Top 10 most viewed for a category’ is closed to new replies.