Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2023-05-07 13:10:51

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 619
Website

Show any articles starting a given date

Hi, I would like to show all articles including furute and expired, starting a given date using article_custom please.
I do not know the corrent syntax for that, so something like:

<txp:article_custom 
    section="events" 
    limit="10" 
    expired="1" 
    time="any 2023-05-07 06:00:00"
>
    <txp:title />
</txp:article_custom>

Offline

#2 2023-05-10 11:24:13

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Show any articles starting a given date

Try this:

<txp:article_custom 
    section="events" 
    limit="10" 
    expired="1" 
    month="2023-05-07 06:00:00"
    time="since"
>
    <txp:title />
</txp:article_custom>

Offline

#3 2023-05-14 08:34:23

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 619
Website

Re: Show any articles starting a given date

Thank you! it seems to work great 👍👍👍

Offline

Board footer

Powered by FluxBB