Textpattern CMS support forum
Re: How to get at the top the most updated category (of a category-list)?
maverick wrote #324481:
It’s too bad there isn’t a simple way for categories to access publish dates. (If only the world was perfect :-D)
Not sure for the world, but txp (4.8.4) tends to perfection:
<!-- get a list of 'recent' categories --> <txp:article_custom category fields="Category1, Category2" sort="MAX(Posted) DESC" break="," trim replace> <txp:category1 />,<txp:category2 /> </txp:article_custom>