Restrict wp_tag_cloud to most recent n posts? (4 posts)

  1. D'Arcy Norman
    Posted 5 years ago #

    As a blog fills up with lots of posts, the tag cloud becomes relatively static - older posts make up the majority of the content, and so the tag cloud has a strong older-posts bias.

    Is there a way to have wp_tag_cloud restrict to tags used on the last n posts? (say, tag cloud for the last 100, or 500, or 1000, or all posts?)

  2. D'Arcy Norman
    Posted 5 years ago #

    That's close, but sorting by term_id would only get me the most recently created tags, not the tags from the most recent posts.

    I'll try messing around with a custom query to see what I come up with.

  3. wkad
    Posted 5 years ago #

    I agree with Dnorman. I'm particularly in need of this feature, and sorting by term_id won't help. I saw some older posts of three years ago, requesting the same thing...

    And I haven't found any plug-in that makes the magic. Some cloud tags here and there, but none of them could take only the tags of recent posts...

    Any help on this will be greatly appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic