Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2020-10-30 11:20:21

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

offset articles

 <txp:article limit="10" offset="2" />

this will offset 2 most recent article from article list, but is it possible to offset 2 most last one?

Offline

#2 2020-11-22 21:47:05

peterj
Member
From: Melbourne, Australia
Registered: 2005-06-02
Posts: 99

Re: offset articles

Did you figure this out?

Perhaps sort in opposite direction, then if necessary reverse order back on page with javascript or css flex (column direction)… or adi_join?

<txp:article limit="10" offset="2" sort="Posted Asc" />

Offline

#3 2020-11-23 13:05:59

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

Re: offset articles

We do not currently interpret negative limit/offset values in any reasonable way. Probably some room for invention here.

Offline

Board footer

Powered by FluxBB