WordPress.org

Ready to get started?Download WordPress

Forums

Tag Cloud Over Period of Time or Number of Posts (8 posts)

  1. golddave
    Member
    Posted 6 years ago #

    I used to use a tag plugin that would allow me to generate a tag cloud based on the last X number of posts (X being whatever number I want) or for all posts in the last Y number of days (where Y is however many days back I wanted to go). Can anybody think of a way to do this with the built in tag feature of WordPress 2.3?

  2. golddave
    Member
    Posted 6 years ago #

    Bump.

  3. MichaelH
    Member
    Posted 6 years ago #

    Still think you'd need a plugin for that.

  4. golddave
    Member
    Posted 6 years ago #

    How would I code a query for getting tags from a date range or specified number of posts?

  5. MichaelH
    Member
    Posted 6 years ago #

    What was the plugin you used before?

    Any chance of modifying that?

  6. golddave
    Member
    Posted 6 years ago #

    The previous plugin was a Techniratti tagging plugin that hasn't been support for a couple of years already. I could take the part of that plugin that queries for the posts from the given period but then I'd need to tie it into the new table structure for tags to get the tags. I was hoping someone would have thought about it already but I'll try to do it myself if I don't get any definitive answers here.

  7. golddave
    Member
    Posted 6 years ago #

    Here is the code from the plugin. It gets it's tags from the postmeta table. I'd have to adjust it to get it from the new table structure for tagging.

    [moderated code at http://wordpress.pastebin.ca/748346 ]

  8. mosco
    Member
    Posted 6 years ago #

    I would also love to have this feature. I read that UTW used to be able to do this in archive pages based on the wp loop's date range, not sure if that is something that could work with the new 2.3 tagging system.

Topic Closed

This topic has been closed to new replies.

About this Topic