Anonymous User 9055193
(@anonymized-9055193)
Thread Starter
Pete
(@perthmetro)
No, I want the updated date of the taxonomy rather than any post update. In other words find the modified date only if a specific taxonomy has been updated.
Hi,
You could do it by finding the most recent post in the taxonomy term.
$posts = get_posts('post_type=any&showposts=1&orderby=date&taxonomy=term');
Thread Starter
Pete
(@perthmetro)
I don’t actually want to lists the posts, I want to display the date on the single.php that the post was updated but ONLY if the CT was updated.
Since a taxonomy doesn’t have a “last changed”-field, you’d actually have to query the posts in the taxonomy to figure out if anything has changed.