Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
How to Make Section Doing This
Hello, I was create two section
- News
- Banner
I was change setting on Presentation > Sections
On News
Selected by default? Yes
On front page? Yes
Syndicate? Yes
Include in site search? Yes
On Banner
Selected by default? No
On front page? Yes
Syndicate? No
Include in site search? No
And I want both of section show up in the front page, but in different looping.
Example
I want News Section have own loop and only contain article from News Section and Banner Section have another looping and only show from banner section article.
How to Do that?
Please help me
Thanks
Offline
Re: How to Make Section Doing This
Use article_custom. I don’t know what you mean by looping, but if you want something like this:
[Article - Section 1]
[Article - Section 2]
then, use:
<txp:article_custom limit="1" section="section1" />
<txp:article_custom limit="1" section="section2" />
Offline
Offline
Pages: 1