Hey guys I'm having a problem with the following code, On my website at http://www.tek-bull.com I have a popular post sidebar, but the only problem is that since I have very old articles, those are the ones that come up. I'm trying to change the code so it only displays the most popular post in the last 7 days. Here is the code that I need to change this on. Any Help?
if (have_posts()) :
$i = 1;
while ( have_posts() ) : the_post()