WordPress.org

Support

Support » Requests and Feedback » Restrict wp_tag_cloud to most recent n posts?

Restrict wp_tag_cloud to most recent n posts?

  • 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?)

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Restrict wp_tag_cloud to most recent n posts?’ is closed to new replies.