Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-11-08 12:45:51

Retrax
Member
Registered: 2006-10-10
Posts: 59

Articles in reverse orders?

Hello,

how is the command to display the Articles in reverse order?

Also instead

- Article Nr. 1

- Article Nr. 2

- Article Nr. 3

like this:

- Article 3 (is the first displayed article)

than Article 2

than Article 1

Thanks!

Kind Regards

Michael

Offline

#2 2016-11-08 13:39:33

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: Articles in reverse orders?

Hi Michael

depends if you are using the article or the article_custom tag. Check out the sort attribute in either of them. I keep on forgetting but it is either sort="posted desc" or sort="posted asc" to be listed the other way.

> Whoops edited to add that if you actually want the articles listed via id rather than posted date you can have sort="id asc"

Last edited by colak (2016-11-08 14:35:44)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2016-11-08 19:42:16

Retrax
Member
Registered: 2006-10-10
Posts: 59

Re: Articles in reverse orders?

Thank you so much!

Kind Regards

Michael

Offline

Board footer

Powered by FluxBB