Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-02-12 03:10:05

josephbales
New Member
Registered: 2013-02-12
Posts: 2

Show posts from all sections on one page

Howdy,

I’m returning to Textpattern after years adrift in the sea of WP. :-)

I’d like to set up a personal blog with multiple sections. I would like to have a section for each of at least 3 main topics. The way I want it to work is that the homepage of the site would show all posts, regardless of section, then each section would show it’s own posts. Setting up the sections is easy enough, but I’m having a hard time figuring out how to get the homepage to show all posts. Can someone please point me in the correct direction? Thanks!

Joey

Offline

#2 2013-02-12 04:20:37

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: Show posts from all sections on one page

Hello Joseph :)

In ‘Presentation > Sections’ set all the sections you would like to show on the homepage to “On front page: Yes” (and make sure all the ones you don’t want to appear here are set to No).

Then just add an article tag to your default page something like this:

<txp:article limit="10" sort="Posted asc" />

Last edited by tye (2013-02-12 04:21:11)

Offline

#3 2013-02-12 04:28:04

josephbales
New Member
Registered: 2013-02-12
Posts: 2

Re: Show posts from all sections on one page

Awesome, that’s what I was looking for!

Offline

#4 2013-02-12 04:34:01

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: Show posts from all sections on one page

Cool, welcome back :)

Offline

Board footer

Powered by FluxBB