Hi @pierreto,
To answer your question: use whatever tool your hosting provider offers to manage databases (eg. phpMyAdmin) to clear your popular posts database tables.
the widget displays old articles even though it is set to show articles less than a month old
This sounds more like a configuration issue. Could you please share the settings you’re using with your popular posts widget?
It’s a shame to see this plugin regress; it was better when we could clear the cache.
what is Performance Nag?
My setting:
Plugin Configuration
Performance Nag: Inactive
Log Limit: Yes, keep data for 30 days
Log Views From: Everyone
Data Caching: Yes, 24 hour
Data Sampling: Yes, with a rate of 100
External object cache: Yes
WPP_CACHE_VIEWS: Yes
It’s a shame to see this plugin regress; it was better when we could clear the cache.
I beg to differ. In fact, you’re only the second person that has asked about the removal of data/cache clear buttons so far. And these buttons were removed from the plugin well over a month ago. Not a lot of people actually used them, and they caused more trouble than was worth it, so they are gone now.
In any case, the information you shared isn’t what I asked for unfortunately 😛
What I want to see is the settings / configuration you’re using with your popular posts list, not your Debug information.
what is Performance Nag?
It’s a notification that pops up for high traffic websites to let them know that using WordPress Popular Posts without tuning the site for performance might cause issues.
The “Inactive” text means that your site hasn’t triggered this notice yet. It’s just for general debugging purposes.
Hi,
I create a widget with this code:
[wpp post_type=’post, news,fetes-et-festivals,’ limit=15 range=’all’ order_by=’views’ thumbnail_width=75 thumbnail_height=75 stats_views=0 wpp pid=’58526, 58516, 58487′]
But I watch support tread and understand that the setting changed again, I don’t remember that I had to do something on my functions.php.
This is getting more complicated!
I’ll take a look at it when I’ll have more time.
So that’s why it’s not working anymore. Before, I would clear the cache and that would put the new articles back in the widget.
I don’t know when these configuration changes took place.
Thanks
Alright, try this updated shortcode:
[wpp post_type='post,news,fetes-et-festivals' limit=15 range='last30days' freshness=1 order_by='views' thumbnail_width=75 thumbnail_height=75 stats_views=0 pid='58526,58516,58487']
- Changed the
range parameter to ‘last30days’ so the shortcode only lists posts viewed within the last 30 days.
- Added the
freshness parameter so the shortcode only lists posts that were published within the last 30 days.