All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - 90210

Pages: [1]
1
WP-PostViews / Most viewed articles from XX Days ago (widget)
« on: 14 August 2008, 20:56 »
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..

2
I know this can be done for the widget. but how would I be able to create a "cutoff" for the maximum number of characters?

this is the code I am currently using (on my footer.php)
Code: [Select]
<div class="sideblockf" id="sidebarf"><h3>Most Viewed Articles</h3>
<?php if (function_exists('get_most_viewed')): ?>
   <ul>
   <?php get_most_viewed('post'8); ?>
   </ul>
<?php endif; ?>
</div>

this is my current output..

and this is how I would like for the output to look like..

Pages: [1]