Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2024-01-23 09:47:14

joanlafulla_Almas
Member
Registered: 2011-02-25
Posts: 21

Show only articles (in article_custom form) for the las 30 days

Hi,
I have an article_custom to show the best-rated articles (the rating is a custom field) on my site.
But I want to show ONLY the best-rated articles for the last 30 days.

How can I get it? Any plugin? Is possible to achieve the effect only with article_custom and attributes?

Thanks (and sorry for my English).

Offline

#2 2024-01-23 10:25:01

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,734
Website

Re: Show only articles (in article_custom form) for the las 30 days

Hallo and welcome!

Try using the attribute time="-30 days" to get articles from the last 30 days.

(See also this thread)


TXP Builders – finely-crafted code, design and txp

Offline

#3 2024-01-23 11:09:26

joanlafulla_Almas
Member
Registered: 2011-02-25
Posts: 21

Re: Show only articles (in article_custom form) for the las 30 days

It works!!!! It was easier than I thought.
Thank you very much!!!

Offline

Board footer

Powered by FluxBB