Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Show list of 10 tags from currently most viewed posts WordPress

I'd like to display, in a widget or elsewhere, ten tags from the last 24 hours' most viewed posts. I guess it's a rudimentary trending topics list.

The progress I've made so far involves the Popular Posts plugin - http://rmarsh.com/plugins/popular-posts-plugin - outputting nothing more than the tags from the most viewed ten stories. It works alright, but if stories have more than one tag then the list is more than ten items. So, if one of the ten stories has two tags, the list is 11 items.

Is there a way of limiting how many tags are displayed (to ten - even if that means just showing tag from the one most popular post if it's tagged with ten different things) - or is there are completely different way of going about this, bypassing the plugin all together?

Answers (2)

2011-03-08

Peter Michael answers:

How does your current query look like?


Peter Michael comments:

You might also try this: [[LINK href="http://wordpress.org/extend/plugins/most-popular-tags/"]]Most Popular Tags[[/LINK]]

2011-03-11

Oleg Butuzov answers:

[email protected]

can help if you provide access to your current structure (popular posts table)