Is there something that allows us to get a list of the latest tags used in post.
I want to get the 10 latest tags and align them side by side
How Can I make this happen?
Is there something that allows us to get a list of the latest tags used in post.
I want to get the 10 latest tags and align them side by side
How Can I make this happen?
You must be logged in to post a comment.
The default WordPress tag cloud cannot order by latest, it only works by displaying the “most used”, it does not accept any parameters to alter the query, only the layout.
Tags are usually used in conjunction with posts and are not really meant to be an archive or category, so in order to display the latest tags I’m pretty certain you have to do a direct DB query.
References in how to use WPDB to retrieve latest tags:
https://stackoverflow.com/questions/2972525/how-can-i-get-a-list-of-the-most-recent-tags-in-a-wordpress-database
Display list of most used tags in the last 30 days