Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-07-01 12:47:33

janvi
Member
From: Norway
Registered: 2009-05-28
Posts: 41

Calling articles in theme

Hello.

Is it possible to call on the latest stories (eg. 2.th latest article) via Txp-tags?
I want the latest article to appear at the top of the frontpage in its own layout.
No. 2, 3, 4, 5 will be shown in 2 rows.

How can i do this?


Imagine a world in which every single person on the planet is given free access to the sum of all human knowledge.

The Future is Open – GNU/Linux

Offline

#2 2009-07-01 13:00:42

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: Calling articles in theme

Use two article” or article_custom tags, use the sort attribute (with “posted desc” or “modified desc”) and combine the limit and offset attributes.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#3 2009-07-01 16:44:00

janvi
Member
From: Norway
Registered: 2009-05-28
Posts: 41

Re: Calling articles in theme

Thanx. I’ll try it asap.


Imagine a world in which every single person on the planet is given free access to the sum of all human knowledge.

The Future is Open – GNU/Linux

Offline

Board footer

Powered by FluxBB