WordPress Plugins > WP-PostViews
Most viewed articles from XX Days ago (widget)
90210:
well.. as i continue to develop my blog.. I keep running into small problems.
I need to display only the top viewed articles from XX number of days ago.
<div>
<h3>Most Viewed Articles</h3>
<?php if (function_exists('get_most_viewed')): ?>
<ul>
<?php get_most_viewed('post', 8, 28, 30days); ?>
</ul>
<?php endif; ?>
</div>
I found this similar article http://forums.lesterchan.net/index.php/topic,355.msg9906.html#msg9906
however.. i am using the second variable as a "character length". not as a "day limit"?
im confused..
GaMerZ:
If you do a search that is not possible to do a xx number of days ago of most viewed as it does not log data.
90210:
yes i noticed..
however, this seems to be requested by bloggers.
Will this feature ever become available?
when will it be available?
GaMerZ:
I don't think I will add that in as logging involves too much data to be collected and queries to be generated. I want to keep it as simple as possible.
Dukessa:
Hello!
Im not sure this is what 90210 meant... but what Id need is the most commented posts, but only if published in the last xx days.
For instance, I need to display a list of 3 most commented posts, but only if they were published in the past 30 days.
The reason is that it happens that a few posts are VERY commented, above normal, and they are stuck in the list for months and months, but I would like to show also other recent posts that got comments (less but still important).
This doesnt require a log as the wp publish date can be used to filter out all the other posts.
Is there a way to do this?
Thank you
Navigation
[0] Message Index
[#] Next page
Go to full version